@aws-sdk/client-cloudsearch 3.934.0 → 3.936.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 +91 -90
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +90 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -219
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +146 -0
- package/dist-types/models/errors.d.ts +179 -0
- package/dist-types/models/models_0.d.ts +1 -325
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +103 -0
- package/dist-types/ts3.4/models/errors.d.ts +70 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -173
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -213,55 +213,6 @@ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException exte
|
|
|
213
213
|
this.Message = opts.Message;
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
|
-
const AlgorithmicStemming = {
|
|
217
|
-
full: "full",
|
|
218
|
-
light: "light",
|
|
219
|
-
minimal: "minimal",
|
|
220
|
-
none: "none",
|
|
221
|
-
};
|
|
222
|
-
const AnalysisSchemeLanguage = {
|
|
223
|
-
ar: "ar",
|
|
224
|
-
bg: "bg",
|
|
225
|
-
ca: "ca",
|
|
226
|
-
cs: "cs",
|
|
227
|
-
da: "da",
|
|
228
|
-
de: "de",
|
|
229
|
-
el: "el",
|
|
230
|
-
en: "en",
|
|
231
|
-
es: "es",
|
|
232
|
-
eu: "eu",
|
|
233
|
-
fa: "fa",
|
|
234
|
-
fi: "fi",
|
|
235
|
-
fr: "fr",
|
|
236
|
-
ga: "ga",
|
|
237
|
-
gl: "gl",
|
|
238
|
-
he: "he",
|
|
239
|
-
hi: "hi",
|
|
240
|
-
hu: "hu",
|
|
241
|
-
hy: "hy",
|
|
242
|
-
id: "id",
|
|
243
|
-
it: "it",
|
|
244
|
-
ja: "ja",
|
|
245
|
-
ko: "ko",
|
|
246
|
-
lv: "lv",
|
|
247
|
-
mul: "mul",
|
|
248
|
-
nl: "nl",
|
|
249
|
-
no: "no",
|
|
250
|
-
pt: "pt",
|
|
251
|
-
ro: "ro",
|
|
252
|
-
ru: "ru",
|
|
253
|
-
sv: "sv",
|
|
254
|
-
th: "th",
|
|
255
|
-
tr: "tr",
|
|
256
|
-
zh_Hans: "zh-Hans",
|
|
257
|
-
zh_Hant: "zh-Hant",
|
|
258
|
-
};
|
|
259
|
-
const OptionState = {
|
|
260
|
-
Active: "Active",
|
|
261
|
-
FailedToValidate: "FailedToValidate",
|
|
262
|
-
Processing: "Processing",
|
|
263
|
-
RequiresIndexDocuments: "RequiresIndexDocuments",
|
|
264
|
-
};
|
|
265
216
|
let InvalidTypeException$1 = class InvalidTypeException extends CloudSearchServiceException$1 {
|
|
266
217
|
name = "InvalidTypeException";
|
|
267
218
|
$fault = "client";
|
|
@@ -278,24 +229,6 @@ let InvalidTypeException$1 = class InvalidTypeException extends CloudSearchServi
|
|
|
278
229
|
this.Message = opts.Message;
|
|
279
230
|
}
|
|
280
231
|
};
|
|
281
|
-
const IndexFieldType = {
|
|
282
|
-
date: "date",
|
|
283
|
-
date_array: "date-array",
|
|
284
|
-
double: "double",
|
|
285
|
-
double_array: "double-array",
|
|
286
|
-
int: "int",
|
|
287
|
-
int_array: "int-array",
|
|
288
|
-
latlon: "latlon",
|
|
289
|
-
literal: "literal",
|
|
290
|
-
literal_array: "literal-array",
|
|
291
|
-
text: "text",
|
|
292
|
-
text_array: "text-array",
|
|
293
|
-
};
|
|
294
|
-
const SuggesterFuzzyMatching = {
|
|
295
|
-
high: "high",
|
|
296
|
-
low: "low",
|
|
297
|
-
none: "none",
|
|
298
|
-
};
|
|
299
232
|
let DisabledOperationException$1 = class DisabledOperationException extends CloudSearchServiceException$1 {
|
|
300
233
|
name = "DisabledOperationException";
|
|
301
234
|
$fault = "client";
|
|
@@ -312,29 +245,6 @@ let DisabledOperationException$1 = class DisabledOperationException extends Clou
|
|
|
312
245
|
this.Message = opts.Message;
|
|
313
246
|
}
|
|
314
247
|
};
|
|
315
|
-
const TLSSecurityPolicy = {
|
|
316
|
-
POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
|
|
317
|
-
POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
|
|
318
|
-
};
|
|
319
|
-
const PartitionInstanceType = {
|
|
320
|
-
search_2xlarge: "search.2xlarge",
|
|
321
|
-
search_large: "search.large",
|
|
322
|
-
search_m1_large: "search.m1.large",
|
|
323
|
-
search_m1_small: "search.m1.small",
|
|
324
|
-
search_m2_2xlarge: "search.m2.2xlarge",
|
|
325
|
-
search_m2_xlarge: "search.m2.xlarge",
|
|
326
|
-
search_m3_2xlarge: "search.m3.2xlarge",
|
|
327
|
-
search_m3_large: "search.m3.large",
|
|
328
|
-
search_m3_medium: "search.m3.medium",
|
|
329
|
-
search_m3_xlarge: "search.m3.xlarge",
|
|
330
|
-
search_medium: "search.medium",
|
|
331
|
-
search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
|
|
332
|
-
search_previousgeneration_large: "search.previousgeneration.large",
|
|
333
|
-
search_previousgeneration_small: "search.previousgeneration.small",
|
|
334
|
-
search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
|
|
335
|
-
search_small: "search.small",
|
|
336
|
-
search_xlarge: "search.xlarge",
|
|
337
|
-
};
|
|
338
248
|
|
|
339
249
|
const _AO = "AnalysisOptions";
|
|
340
250
|
const _AOS = "AvailabilityOptionsStatus";
|
|
@@ -1447,6 +1357,97 @@ class CloudSearch extends CloudSearchClient {
|
|
|
1447
1357
|
}
|
|
1448
1358
|
smithyClient.createAggregatedClient(commands, CloudSearch);
|
|
1449
1359
|
|
|
1360
|
+
const AlgorithmicStemming = {
|
|
1361
|
+
full: "full",
|
|
1362
|
+
light: "light",
|
|
1363
|
+
minimal: "minimal",
|
|
1364
|
+
none: "none",
|
|
1365
|
+
};
|
|
1366
|
+
const AnalysisSchemeLanguage = {
|
|
1367
|
+
ar: "ar",
|
|
1368
|
+
bg: "bg",
|
|
1369
|
+
ca: "ca",
|
|
1370
|
+
cs: "cs",
|
|
1371
|
+
da: "da",
|
|
1372
|
+
de: "de",
|
|
1373
|
+
el: "el",
|
|
1374
|
+
en: "en",
|
|
1375
|
+
es: "es",
|
|
1376
|
+
eu: "eu",
|
|
1377
|
+
fa: "fa",
|
|
1378
|
+
fi: "fi",
|
|
1379
|
+
fr: "fr",
|
|
1380
|
+
ga: "ga",
|
|
1381
|
+
gl: "gl",
|
|
1382
|
+
he: "he",
|
|
1383
|
+
hi: "hi",
|
|
1384
|
+
hu: "hu",
|
|
1385
|
+
hy: "hy",
|
|
1386
|
+
id: "id",
|
|
1387
|
+
it: "it",
|
|
1388
|
+
ja: "ja",
|
|
1389
|
+
ko: "ko",
|
|
1390
|
+
lv: "lv",
|
|
1391
|
+
mul: "mul",
|
|
1392
|
+
nl: "nl",
|
|
1393
|
+
no: "no",
|
|
1394
|
+
pt: "pt",
|
|
1395
|
+
ro: "ro",
|
|
1396
|
+
ru: "ru",
|
|
1397
|
+
sv: "sv",
|
|
1398
|
+
th: "th",
|
|
1399
|
+
tr: "tr",
|
|
1400
|
+
zh_Hans: "zh-Hans",
|
|
1401
|
+
zh_Hant: "zh-Hant",
|
|
1402
|
+
};
|
|
1403
|
+
const OptionState = {
|
|
1404
|
+
Active: "Active",
|
|
1405
|
+
FailedToValidate: "FailedToValidate",
|
|
1406
|
+
Processing: "Processing",
|
|
1407
|
+
RequiresIndexDocuments: "RequiresIndexDocuments",
|
|
1408
|
+
};
|
|
1409
|
+
const IndexFieldType = {
|
|
1410
|
+
date: "date",
|
|
1411
|
+
date_array: "date-array",
|
|
1412
|
+
double: "double",
|
|
1413
|
+
double_array: "double-array",
|
|
1414
|
+
int: "int",
|
|
1415
|
+
int_array: "int-array",
|
|
1416
|
+
latlon: "latlon",
|
|
1417
|
+
literal: "literal",
|
|
1418
|
+
literal_array: "literal-array",
|
|
1419
|
+
text: "text",
|
|
1420
|
+
text_array: "text-array",
|
|
1421
|
+
};
|
|
1422
|
+
const SuggesterFuzzyMatching = {
|
|
1423
|
+
high: "high",
|
|
1424
|
+
low: "low",
|
|
1425
|
+
none: "none",
|
|
1426
|
+
};
|
|
1427
|
+
const TLSSecurityPolicy = {
|
|
1428
|
+
POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
|
|
1429
|
+
POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
|
|
1430
|
+
};
|
|
1431
|
+
const PartitionInstanceType = {
|
|
1432
|
+
search_2xlarge: "search.2xlarge",
|
|
1433
|
+
search_large: "search.large",
|
|
1434
|
+
search_m1_large: "search.m1.large",
|
|
1435
|
+
search_m1_small: "search.m1.small",
|
|
1436
|
+
search_m2_2xlarge: "search.m2.2xlarge",
|
|
1437
|
+
search_m2_xlarge: "search.m2.xlarge",
|
|
1438
|
+
search_m3_2xlarge: "search.m3.2xlarge",
|
|
1439
|
+
search_m3_large: "search.m3.large",
|
|
1440
|
+
search_m3_medium: "search.m3.medium",
|
|
1441
|
+
search_m3_xlarge: "search.m3.xlarge",
|
|
1442
|
+
search_medium: "search.medium",
|
|
1443
|
+
search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
|
|
1444
|
+
search_previousgeneration_large: "search.previousgeneration.large",
|
|
1445
|
+
search_previousgeneration_small: "search.previousgeneration.small",
|
|
1446
|
+
search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
|
|
1447
|
+
search_small: "search.small",
|
|
1448
|
+
search_xlarge: "search.xlarge",
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1450
1451
|
Object.defineProperty(exports, "$Command", {
|
|
1451
1452
|
enumerable: true,
|
|
1452
1453
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CloudSearchClient";
|
|
2
2
|
export * from "./CloudSearch";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { CloudSearchServiceException } from "./models/CloudSearchServiceException";
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export const AlgorithmicStemming = {
|
|
2
|
+
full: "full",
|
|
3
|
+
light: "light",
|
|
4
|
+
minimal: "minimal",
|
|
5
|
+
none: "none",
|
|
6
|
+
};
|
|
7
|
+
export const AnalysisSchemeLanguage = {
|
|
8
|
+
ar: "ar",
|
|
9
|
+
bg: "bg",
|
|
10
|
+
ca: "ca",
|
|
11
|
+
cs: "cs",
|
|
12
|
+
da: "da",
|
|
13
|
+
de: "de",
|
|
14
|
+
el: "el",
|
|
15
|
+
en: "en",
|
|
16
|
+
es: "es",
|
|
17
|
+
eu: "eu",
|
|
18
|
+
fa: "fa",
|
|
19
|
+
fi: "fi",
|
|
20
|
+
fr: "fr",
|
|
21
|
+
ga: "ga",
|
|
22
|
+
gl: "gl",
|
|
23
|
+
he: "he",
|
|
24
|
+
hi: "hi",
|
|
25
|
+
hu: "hu",
|
|
26
|
+
hy: "hy",
|
|
27
|
+
id: "id",
|
|
28
|
+
it: "it",
|
|
29
|
+
ja: "ja",
|
|
30
|
+
ko: "ko",
|
|
31
|
+
lv: "lv",
|
|
32
|
+
mul: "mul",
|
|
33
|
+
nl: "nl",
|
|
34
|
+
no: "no",
|
|
35
|
+
pt: "pt",
|
|
36
|
+
ro: "ro",
|
|
37
|
+
ru: "ru",
|
|
38
|
+
sv: "sv",
|
|
39
|
+
th: "th",
|
|
40
|
+
tr: "tr",
|
|
41
|
+
zh_Hans: "zh-Hans",
|
|
42
|
+
zh_Hant: "zh-Hant",
|
|
43
|
+
};
|
|
44
|
+
export const OptionState = {
|
|
45
|
+
Active: "Active",
|
|
46
|
+
FailedToValidate: "FailedToValidate",
|
|
47
|
+
Processing: "Processing",
|
|
48
|
+
RequiresIndexDocuments: "RequiresIndexDocuments",
|
|
49
|
+
};
|
|
50
|
+
export const IndexFieldType = {
|
|
51
|
+
date: "date",
|
|
52
|
+
date_array: "date-array",
|
|
53
|
+
double: "double",
|
|
54
|
+
double_array: "double-array",
|
|
55
|
+
int: "int",
|
|
56
|
+
int_array: "int-array",
|
|
57
|
+
latlon: "latlon",
|
|
58
|
+
literal: "literal",
|
|
59
|
+
literal_array: "literal-array",
|
|
60
|
+
text: "text",
|
|
61
|
+
text_array: "text-array",
|
|
62
|
+
};
|
|
63
|
+
export const SuggesterFuzzyMatching = {
|
|
64
|
+
high: "high",
|
|
65
|
+
low: "low",
|
|
66
|
+
none: "none",
|
|
67
|
+
};
|
|
68
|
+
export const TLSSecurityPolicy = {
|
|
69
|
+
POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
|
|
70
|
+
POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
|
|
71
|
+
};
|
|
72
|
+
export const PartitionInstanceType = {
|
|
73
|
+
search_2xlarge: "search.2xlarge",
|
|
74
|
+
search_large: "search.large",
|
|
75
|
+
search_m1_large: "search.m1.large",
|
|
76
|
+
search_m1_small: "search.m1.small",
|
|
77
|
+
search_m2_2xlarge: "search.m2.2xlarge",
|
|
78
|
+
search_m2_xlarge: "search.m2.xlarge",
|
|
79
|
+
search_m3_2xlarge: "search.m3.2xlarge",
|
|
80
|
+
search_m3_large: "search.m3.large",
|
|
81
|
+
search_m3_medium: "search.m3.medium",
|
|
82
|
+
search_m3_xlarge: "search.m3.xlarge",
|
|
83
|
+
search_medium: "search.medium",
|
|
84
|
+
search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
|
|
85
|
+
search_previousgeneration_large: "search.previousgeneration.large",
|
|
86
|
+
search_previousgeneration_small: "search.previousgeneration.small",
|
|
87
|
+
search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
|
|
88
|
+
search_small: "search.small",
|
|
89
|
+
search_xlarge: "search.xlarge",
|
|
90
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { CloudSearchServiceException as __BaseException } from "./CloudSearchServiceException";
|
|
2
|
+
export class BaseException extends __BaseException {
|
|
3
|
+
name = "BaseException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BaseException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BaseException.prototype);
|
|
14
|
+
this.Code = opts.Code;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class InternalException extends __BaseException {
|
|
19
|
+
name = "InternalException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
Code;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InternalException",
|
|
26
|
+
$fault: "server",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, InternalException.prototype);
|
|
30
|
+
this.Code = opts.Code;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
name = "ResourceNotFoundException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Code;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ResourceNotFoundException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
46
|
+
this.Code = opts.Code;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ValidationException extends __BaseException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Code;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ValidationException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
62
|
+
this.Code = opts.Code;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class LimitExceededException extends __BaseException {
|
|
67
|
+
name = "LimitExceededException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "LimitExceededException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
78
|
+
this.Code = opts.Code;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ResourceAlreadyExistsException extends __BaseException {
|
|
83
|
+
name = "ResourceAlreadyExistsException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Code;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ResourceAlreadyExistsException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
94
|
+
this.Code = opts.Code;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class InvalidTypeException extends __BaseException {
|
|
99
|
+
name = "InvalidTypeException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Code;
|
|
102
|
+
Message;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "InvalidTypeException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, InvalidTypeException.prototype);
|
|
110
|
+
this.Code = opts.Code;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class DisabledOperationException extends __BaseException {
|
|
115
|
+
name = "DisabledOperationException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Code;
|
|
118
|
+
Message;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "DisabledOperationException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, DisabledOperationException.prototype);
|
|
126
|
+
this.Code = opts.Code;
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -1,219 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class BaseException extends __BaseException {
|
|
3
|
-
name = "BaseException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Code;
|
|
6
|
-
Message;
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "BaseException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
Object.setPrototypeOf(this, BaseException.prototype);
|
|
14
|
-
this.Code = opts.Code;
|
|
15
|
-
this.Message = opts.Message;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export class InternalException extends __BaseException {
|
|
19
|
-
name = "InternalException";
|
|
20
|
-
$fault = "server";
|
|
21
|
-
Code;
|
|
22
|
-
Message;
|
|
23
|
-
constructor(opts) {
|
|
24
|
-
super({
|
|
25
|
-
name: "InternalException",
|
|
26
|
-
$fault: "server",
|
|
27
|
-
...opts,
|
|
28
|
-
});
|
|
29
|
-
Object.setPrototypeOf(this, InternalException.prototype);
|
|
30
|
-
this.Code = opts.Code;
|
|
31
|
-
this.Message = opts.Message;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
35
|
-
name = "ResourceNotFoundException";
|
|
36
|
-
$fault = "client";
|
|
37
|
-
Code;
|
|
38
|
-
Message;
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "ResourceNotFoundException",
|
|
42
|
-
$fault: "client",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
46
|
-
this.Code = opts.Code;
|
|
47
|
-
this.Message = opts.Message;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ValidationException extends __BaseException {
|
|
51
|
-
name = "ValidationException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
Code;
|
|
54
|
-
Message;
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "ValidationException",
|
|
58
|
-
$fault: "client",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
62
|
-
this.Code = opts.Code;
|
|
63
|
-
this.Message = opts.Message;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export class LimitExceededException extends __BaseException {
|
|
67
|
-
name = "LimitExceededException";
|
|
68
|
-
$fault = "client";
|
|
69
|
-
Code;
|
|
70
|
-
Message;
|
|
71
|
-
constructor(opts) {
|
|
72
|
-
super({
|
|
73
|
-
name: "LimitExceededException",
|
|
74
|
-
$fault: "client",
|
|
75
|
-
...opts,
|
|
76
|
-
});
|
|
77
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
78
|
-
this.Code = opts.Code;
|
|
79
|
-
this.Message = opts.Message;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
export class ResourceAlreadyExistsException extends __BaseException {
|
|
83
|
-
name = "ResourceAlreadyExistsException";
|
|
84
|
-
$fault = "client";
|
|
85
|
-
Code;
|
|
86
|
-
Message;
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "ResourceAlreadyExistsException",
|
|
90
|
-
$fault: "client",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
94
|
-
this.Code = opts.Code;
|
|
95
|
-
this.Message = opts.Message;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export const AlgorithmicStemming = {
|
|
99
|
-
full: "full",
|
|
100
|
-
light: "light",
|
|
101
|
-
minimal: "minimal",
|
|
102
|
-
none: "none",
|
|
103
|
-
};
|
|
104
|
-
export const AnalysisSchemeLanguage = {
|
|
105
|
-
ar: "ar",
|
|
106
|
-
bg: "bg",
|
|
107
|
-
ca: "ca",
|
|
108
|
-
cs: "cs",
|
|
109
|
-
da: "da",
|
|
110
|
-
de: "de",
|
|
111
|
-
el: "el",
|
|
112
|
-
en: "en",
|
|
113
|
-
es: "es",
|
|
114
|
-
eu: "eu",
|
|
115
|
-
fa: "fa",
|
|
116
|
-
fi: "fi",
|
|
117
|
-
fr: "fr",
|
|
118
|
-
ga: "ga",
|
|
119
|
-
gl: "gl",
|
|
120
|
-
he: "he",
|
|
121
|
-
hi: "hi",
|
|
122
|
-
hu: "hu",
|
|
123
|
-
hy: "hy",
|
|
124
|
-
id: "id",
|
|
125
|
-
it: "it",
|
|
126
|
-
ja: "ja",
|
|
127
|
-
ko: "ko",
|
|
128
|
-
lv: "lv",
|
|
129
|
-
mul: "mul",
|
|
130
|
-
nl: "nl",
|
|
131
|
-
no: "no",
|
|
132
|
-
pt: "pt",
|
|
133
|
-
ro: "ro",
|
|
134
|
-
ru: "ru",
|
|
135
|
-
sv: "sv",
|
|
136
|
-
th: "th",
|
|
137
|
-
tr: "tr",
|
|
138
|
-
zh_Hans: "zh-Hans",
|
|
139
|
-
zh_Hant: "zh-Hant",
|
|
140
|
-
};
|
|
141
|
-
export const OptionState = {
|
|
142
|
-
Active: "Active",
|
|
143
|
-
FailedToValidate: "FailedToValidate",
|
|
144
|
-
Processing: "Processing",
|
|
145
|
-
RequiresIndexDocuments: "RequiresIndexDocuments",
|
|
146
|
-
};
|
|
147
|
-
export class InvalidTypeException extends __BaseException {
|
|
148
|
-
name = "InvalidTypeException";
|
|
149
|
-
$fault = "client";
|
|
150
|
-
Code;
|
|
151
|
-
Message;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "InvalidTypeException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, InvalidTypeException.prototype);
|
|
159
|
-
this.Code = opts.Code;
|
|
160
|
-
this.Message = opts.Message;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
export const IndexFieldType = {
|
|
164
|
-
date: "date",
|
|
165
|
-
date_array: "date-array",
|
|
166
|
-
double: "double",
|
|
167
|
-
double_array: "double-array",
|
|
168
|
-
int: "int",
|
|
169
|
-
int_array: "int-array",
|
|
170
|
-
latlon: "latlon",
|
|
171
|
-
literal: "literal",
|
|
172
|
-
literal_array: "literal-array",
|
|
173
|
-
text: "text",
|
|
174
|
-
text_array: "text-array",
|
|
175
|
-
};
|
|
176
|
-
export const SuggesterFuzzyMatching = {
|
|
177
|
-
high: "high",
|
|
178
|
-
low: "low",
|
|
179
|
-
none: "none",
|
|
180
|
-
};
|
|
181
|
-
export class DisabledOperationException extends __BaseException {
|
|
182
|
-
name = "DisabledOperationException";
|
|
183
|
-
$fault = "client";
|
|
184
|
-
Code;
|
|
185
|
-
Message;
|
|
186
|
-
constructor(opts) {
|
|
187
|
-
super({
|
|
188
|
-
name: "DisabledOperationException",
|
|
189
|
-
$fault: "client",
|
|
190
|
-
...opts,
|
|
191
|
-
});
|
|
192
|
-
Object.setPrototypeOf(this, DisabledOperationException.prototype);
|
|
193
|
-
this.Code = opts.Code;
|
|
194
|
-
this.Message = opts.Message;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
export const TLSSecurityPolicy = {
|
|
198
|
-
POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
|
|
199
|
-
POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
|
|
200
|
-
};
|
|
201
|
-
export const PartitionInstanceType = {
|
|
202
|
-
search_2xlarge: "search.2xlarge",
|
|
203
|
-
search_large: "search.large",
|
|
204
|
-
search_m1_large: "search.m1.large",
|
|
205
|
-
search_m1_small: "search.m1.small",
|
|
206
|
-
search_m2_2xlarge: "search.m2.2xlarge",
|
|
207
|
-
search_m2_xlarge: "search.m2.xlarge",
|
|
208
|
-
search_m3_2xlarge: "search.m3.2xlarge",
|
|
209
|
-
search_m3_large: "search.m3.large",
|
|
210
|
-
search_m3_medium: "search.m3.medium",
|
|
211
|
-
search_m3_xlarge: "search.m3.xlarge",
|
|
212
|
-
search_medium: "search.medium",
|
|
213
|
-
search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
|
|
214
|
-
search_previousgeneration_large: "search.previousgeneration.large",
|
|
215
|
-
search_previousgeneration_small: "search.previousgeneration.small",
|
|
216
|
-
search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
|
|
217
|
-
search_small: "search.small",
|
|
218
|
-
search_xlarge: "search.xlarge",
|
|
219
|
-
};
|
|
1
|
+
export {};
|
|
@@ -192,7 +192,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearch";
|
|
|
192
192
|
const n0 = "com.amazonaws.cloudsearch";
|
|
193
193
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
194
194
|
import { CloudSearchServiceException as __CloudSearchServiceException } from "../models/CloudSearchServiceException";
|
|
195
|
-
import { BaseException as __BaseException, DisabledOperationException as __DisabledOperationException, InternalException as __InternalException, InvalidTypeException as __InvalidTypeException, LimitExceededException as __LimitExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/
|
|
195
|
+
import { BaseException as __BaseException, DisabledOperationException as __DisabledOperationException, InternalException as __InternalException, InvalidTypeException as __InvalidTypeException, LimitExceededException as __LimitExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/errors";
|
|
196
196
|
export var AccessPoliciesStatus = [3, n0, _APS, 0, [_O, _S], [0, () => OptionStatus]];
|
|
197
197
|
export var AnalysisOptions = [3, n0, _AO, 0, [_Sy, _St, _SD, _JTD, _AS], [0, 0, 0, 0, 0]];
|
|
198
198
|
export var AnalysisScheme = [3, n0, _ASn, 0, [_ASN, _ASL, _AO], [0, 0, () => AnalysisOptions]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
15
15
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
16
16
|
export type { CloudSearchExtensionConfiguration } from "./extensionConfiguration";
|
|
17
17
|
export * from "./commands";
|
|
18
|
-
export * from "./models";
|
|
18
|
+
export * from "./models/enums";
|
|
19
|
+
export * from "./models/errors";
|
|
20
|
+
export type * from "./models/models_0";
|
|
19
21
|
export { CloudSearchServiceException } from "./models/CloudSearchServiceException";
|