@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.
@@ -1,27 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CloudSearchServiceException as __BaseException } from "./CloudSearchServiceException";
3
- /**
4
- * <p>An error occurred while processing the request.</p>
5
- * @public
6
- */
7
- export declare class BaseException extends __BaseException {
8
- readonly name: "BaseException";
9
- readonly $fault: "client";
10
- /**
11
- * <p>A machine-parsable string error or warning code.</p>
12
- * @public
13
- */
14
- Code?: string | undefined;
15
- /**
16
- * <p>A human-readable string error or warning message.</p>
17
- * @public
18
- */
19
- Message?: string | undefined;
20
- /**
21
- * @internal
22
- */
23
- constructor(opts: __ExceptionOptionType<BaseException, __BaseException>);
24
- }
1
+ import { AlgorithmicStemming, AnalysisSchemeLanguage, IndexFieldType, OptionState, PartitionInstanceType, SuggesterFuzzyMatching, TLSSecurityPolicy } from "./enums";
25
2
  /**
26
3
  * <p>Container for the parameters to the <code><a>BuildSuggester</a></code> operation. Specifies the name of the domain you want to update.</p>
27
4
  * @public
@@ -44,73 +21,6 @@ export interface BuildSuggestersResponse {
44
21
  */
45
22
  FieldNames?: string[] | undefined;
46
23
  }
47
- /**
48
- * <p>An internal error occurred while processing the request. If this problem persists,
49
- * report an issue from the <a href="http://status.aws.amazon.com/" target="_blank">Service Health Dashboard</a>.</p>
50
- * @public
51
- */
52
- export declare class InternalException extends __BaseException {
53
- readonly name: "InternalException";
54
- readonly $fault: "server";
55
- /**
56
- * <p>A machine-parsable string error or warning code.</p>
57
- * @public
58
- */
59
- Code?: string | undefined;
60
- /**
61
- * <p>A human-readable string error or warning message.</p>
62
- * @public
63
- */
64
- Message?: string | undefined;
65
- /**
66
- * @internal
67
- */
68
- constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
69
- }
70
- /**
71
- * <p>The request was rejected because it attempted to reference a resource that does not exist.</p>
72
- * @public
73
- */
74
- export declare class ResourceNotFoundException extends __BaseException {
75
- readonly name: "ResourceNotFoundException";
76
- readonly $fault: "client";
77
- /**
78
- * <p>A machine-parsable string error or warning code.</p>
79
- * @public
80
- */
81
- Code?: string | undefined;
82
- /**
83
- * <p>A human-readable string error or warning message.</p>
84
- * @public
85
- */
86
- Message?: string | undefined;
87
- /**
88
- * @internal
89
- */
90
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
91
- }
92
- /**
93
- * <p>The request was rejected because it has invalid parameters.</p>
94
- * @public
95
- */
96
- export declare class ValidationException extends __BaseException {
97
- readonly name: "ValidationException";
98
- readonly $fault: "client";
99
- /**
100
- * <p>A machine-parsable string error or warning code.</p>
101
- * @public
102
- */
103
- Code?: string | undefined;
104
- /**
105
- * <p>A human-readable string error or warning message.</p>
106
- * @public
107
- */
108
- Message?: string | undefined;
109
- /**
110
- * @internal
111
- */
112
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
113
- }
114
24
  /**
115
25
  * <p>Container for the parameters to the <code><a>CreateDomain</a></code> operation. Specifies a name for the new search domain.</p>
116
26
  * @public
@@ -218,64 +128,6 @@ export interface CreateDomainResponse {
218
128
  */
219
129
  DomainStatus?: DomainStatus | undefined;
220
130
  }
221
- /**
222
- * <p>The request was rejected because a resource limit has already been met.</p>
223
- * @public
224
- */
225
- export declare class LimitExceededException extends __BaseException {
226
- readonly name: "LimitExceededException";
227
- readonly $fault: "client";
228
- /**
229
- * <p>A machine-parsable string error or warning code.</p>
230
- * @public
231
- */
232
- Code?: string | undefined;
233
- /**
234
- * <p>A human-readable string error or warning message.</p>
235
- * @public
236
- */
237
- Message?: string | undefined;
238
- /**
239
- * @internal
240
- */
241
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
242
- }
243
- /**
244
- * <p>The request was rejected because it attempted to create a resource that already exists.</p>
245
- * @public
246
- */
247
- export declare class ResourceAlreadyExistsException extends __BaseException {
248
- readonly name: "ResourceAlreadyExistsException";
249
- readonly $fault: "client";
250
- /**
251
- * <p>A machine-parsable string error or warning code.</p>
252
- * @public
253
- */
254
- Code?: string | undefined;
255
- /**
256
- * <p>A human-readable string error or warning message.</p>
257
- * @public
258
- */
259
- Message?: string | undefined;
260
- /**
261
- * @internal
262
- */
263
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
264
- }
265
- /**
266
- * @public
267
- * @enum
268
- */
269
- export declare const AlgorithmicStemming: {
270
- readonly full: "full";
271
- readonly light: "light";
272
- readonly minimal: "minimal";
273
- readonly none: "none";
274
- };
275
- /**
276
- * @public
277
- */
278
- export type AlgorithmicStemming = (typeof AlgorithmicStemming)[keyof typeof AlgorithmicStemming];
279
131
  /**
280
132
  * <p>Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.</p>
281
133
  * @public
@@ -307,51 +159,6 @@ export interface AnalysisOptions {
307
159
  */
308
160
  AlgorithmicStemming?: AlgorithmicStemming | undefined;
309
161
  }
310
- /**
311
- * @public
312
- * @enum
313
- */
314
- export declare const AnalysisSchemeLanguage: {
315
- readonly ar: "ar";
316
- readonly bg: "bg";
317
- readonly ca: "ca";
318
- readonly cs: "cs";
319
- readonly da: "da";
320
- readonly de: "de";
321
- readonly el: "el";
322
- readonly en: "en";
323
- readonly es: "es";
324
- readonly eu: "eu";
325
- readonly fa: "fa";
326
- readonly fi: "fi";
327
- readonly fr: "fr";
328
- readonly ga: "ga";
329
- readonly gl: "gl";
330
- readonly he: "he";
331
- readonly hi: "hi";
332
- readonly hu: "hu";
333
- readonly hy: "hy";
334
- readonly id: "id";
335
- readonly it: "it";
336
- readonly ja: "ja";
337
- readonly ko: "ko";
338
- readonly lv: "lv";
339
- readonly mul: "mul";
340
- readonly nl: "nl";
341
- readonly no: "no";
342
- readonly pt: "pt";
343
- readonly ro: "ro";
344
- readonly ru: "ru";
345
- readonly sv: "sv";
346
- readonly th: "th";
347
- readonly tr: "tr";
348
- readonly zh_Hans: "zh-Hans";
349
- readonly zh_Hant: "zh-Hant";
350
- };
351
- /**
352
- * @public
353
- */
354
- export type AnalysisSchemeLanguage = (typeof AnalysisSchemeLanguage)[keyof typeof AnalysisSchemeLanguage];
355
162
  /**
356
163
  * <p>Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: <code>Synonyms</code>, <code>Stopwords</code>, <code>StemmingDictionary</code>, <code>JapaneseTokenizationDictionary</code> and <code>AlgorithmicStemming</code>.</p>
357
164
  * @public
@@ -390,20 +197,6 @@ export interface DefineAnalysisSchemeRequest {
390
197
  */
391
198
  AnalysisScheme: AnalysisScheme | undefined;
392
199
  }
393
- /**
394
- * @public
395
- * @enum
396
- */
397
- export declare const OptionState: {
398
- readonly Active: "Active";
399
- readonly FailedToValidate: "FailedToValidate";
400
- readonly Processing: "Processing";
401
- readonly RequiresIndexDocuments: "RequiresIndexDocuments";
402
- };
403
- /**
404
- * @public
405
- */
406
- export type OptionState = (typeof OptionState)[keyof typeof OptionState];
407
200
  /**
408
201
  * <p>The status of domain configuration option.</p>
409
202
  * @public
@@ -467,28 +260,6 @@ export interface DefineAnalysisSchemeResponse {
467
260
  */
468
261
  AnalysisScheme: AnalysisSchemeStatus | undefined;
469
262
  }
470
- /**
471
- * <p>The request was rejected because it specified an invalid type definition.</p>
472
- * @public
473
- */
474
- export declare class InvalidTypeException extends __BaseException {
475
- readonly name: "InvalidTypeException";
476
- readonly $fault: "client";
477
- /**
478
- * <p>A machine-parsable string error or warning code.</p>
479
- * @public
480
- */
481
- Code?: string | undefined;
482
- /**
483
- * <p>A human-readable string error or warning message.</p>
484
- * @public
485
- */
486
- Message?: string | undefined;
487
- /**
488
- * @internal
489
- */
490
- constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
491
- }
492
263
  /**
493
264
  * <p>A named expression that can be evaluated at search time. Can be used to sort the search results, define other expressions, or return computed information in the search results. </p>
494
265
  * @public
@@ -696,27 +467,6 @@ export interface DoubleOptions {
696
467
  */
697
468
  SortEnabled?: boolean | undefined;
698
469
  }
699
- /**
700
- * @public
701
- * @enum
702
- */
703
- export declare const IndexFieldType: {
704
- readonly date: "date";
705
- readonly date_array: "date-array";
706
- readonly double: "double";
707
- readonly double_array: "double-array";
708
- readonly int: "int";
709
- readonly int_array: "int-array";
710
- readonly latlon: "latlon";
711
- readonly literal: "literal";
712
- readonly literal_array: "literal-array";
713
- readonly text: "text";
714
- readonly text_array: "text-array";
715
- };
716
- /**
717
- * @public
718
- */
719
- export type IndexFieldType = (typeof IndexFieldType)[keyof typeof IndexFieldType];
720
470
  /**
721
471
  * <p>Options for a field that contains an array of 64-bit signed integers. Present if <code>IndexFieldType</code> specifies the field is of type <code>int-array</code>. All options are enabled by default.</p>
722
472
  * @public
@@ -1120,19 +870,6 @@ export interface DefineIndexFieldResponse {
1120
870
  */
1121
871
  IndexField: IndexFieldStatus | undefined;
1122
872
  }
1123
- /**
1124
- * @public
1125
- * @enum
1126
- */
1127
- export declare const SuggesterFuzzyMatching: {
1128
- readonly high: "high";
1129
- readonly low: "low";
1130
- readonly none: "none";
1131
- };
1132
- /**
1133
- * @public
1134
- */
1135
- export type SuggesterFuzzyMatching = (typeof SuggesterFuzzyMatching)[keyof typeof SuggesterFuzzyMatching];
1136
873
  /**
1137
874
  * <p>Options for a search suggester.</p>
1138
875
  * @public
@@ -1425,28 +1162,6 @@ export interface DescribeAvailabilityOptionsResponse {
1425
1162
  */
1426
1163
  AvailabilityOptions?: AvailabilityOptionsStatus | undefined;
1427
1164
  }
1428
- /**
1429
- * <p>The request was rejected because it attempted an operation which is not enabled.</p>
1430
- * @public
1431
- */
1432
- export declare class DisabledOperationException extends __BaseException {
1433
- readonly name: "DisabledOperationException";
1434
- readonly $fault: "client";
1435
- /**
1436
- * <p>A machine-parsable string error or warning code.</p>
1437
- * @public
1438
- */
1439
- Code?: string | undefined;
1440
- /**
1441
- * <p>A human-readable string error or warning message.</p>
1442
- * @public
1443
- */
1444
- Message?: string | undefined;
1445
- /**
1446
- * @internal
1447
- */
1448
- constructor(opts: __ExceptionOptionType<DisabledOperationException, __BaseException>);
1449
- }
1450
1165
  /**
1451
1166
  * <p>Container for the parameters to the <code><a>DescribeDomainEndpointOptions</a></code> operation. Specify the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option to <code>true</code>.</p>
1452
1167
  * @public
@@ -1463,18 +1178,6 @@ export interface DescribeDomainEndpointOptionsRequest {
1463
1178
  */
1464
1179
  Deployed?: boolean | undefined;
1465
1180
  }
1466
- /**
1467
- * @public
1468
- * @enum
1469
- */
1470
- export declare const TLSSecurityPolicy: {
1471
- readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
1472
- readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
1473
- };
1474
- /**
1475
- * @public
1476
- */
1477
- export type TLSSecurityPolicy = (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
1478
1181
  /**
1479
1182
  * <p>The domain's endpoint options.</p>
1480
1183
  * @public
@@ -1616,33 +1319,6 @@ export interface DescribeScalingParametersRequest {
1616
1319
  */
1617
1320
  DomainName: string | undefined;
1618
1321
  }
1619
- /**
1620
- * @public
1621
- * @enum
1622
- */
1623
- export declare const PartitionInstanceType: {
1624
- readonly search_2xlarge: "search.2xlarge";
1625
- readonly search_large: "search.large";
1626
- readonly search_m1_large: "search.m1.large";
1627
- readonly search_m1_small: "search.m1.small";
1628
- readonly search_m2_2xlarge: "search.m2.2xlarge";
1629
- readonly search_m2_xlarge: "search.m2.xlarge";
1630
- readonly search_m3_2xlarge: "search.m3.2xlarge";
1631
- readonly search_m3_large: "search.m3.large";
1632
- readonly search_m3_medium: "search.m3.medium";
1633
- readonly search_m3_xlarge: "search.m3.xlarge";
1634
- readonly search_medium: "search.medium";
1635
- readonly search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge";
1636
- readonly search_previousgeneration_large: "search.previousgeneration.large";
1637
- readonly search_previousgeneration_small: "search.previousgeneration.small";
1638
- readonly search_previousgeneration_xlarge: "search.previousgeneration.xlarge";
1639
- readonly search_small: "search.small";
1640
- readonly search_xlarge: "search.xlarge";
1641
- };
1642
- /**
1643
- * @public
1644
- */
1645
- export type PartitionInstanceType = (typeof PartitionInstanceType)[keyof typeof PartitionInstanceType];
1646
1322
  /**
1647
1323
  * <p>The desired instance type and desired number of replicas of each index partition.</p>
1648
1324
  * @public
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CloudSearchExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/enums";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
8
10
  export { CloudSearchServiceException } from "./models/CloudSearchServiceException";
@@ -0,0 +1,103 @@
1
+ export declare const AlgorithmicStemming: {
2
+ readonly full: "full";
3
+ readonly light: "light";
4
+ readonly minimal: "minimal";
5
+ readonly none: "none";
6
+ };
7
+ export type AlgorithmicStemming =
8
+ (typeof AlgorithmicStemming)[keyof typeof AlgorithmicStemming];
9
+ export declare const AnalysisSchemeLanguage: {
10
+ readonly ar: "ar";
11
+ readonly bg: "bg";
12
+ readonly ca: "ca";
13
+ readonly cs: "cs";
14
+ readonly da: "da";
15
+ readonly de: "de";
16
+ readonly el: "el";
17
+ readonly en: "en";
18
+ readonly es: "es";
19
+ readonly eu: "eu";
20
+ readonly fa: "fa";
21
+ readonly fi: "fi";
22
+ readonly fr: "fr";
23
+ readonly ga: "ga";
24
+ readonly gl: "gl";
25
+ readonly he: "he";
26
+ readonly hi: "hi";
27
+ readonly hu: "hu";
28
+ readonly hy: "hy";
29
+ readonly id: "id";
30
+ readonly it: "it";
31
+ readonly ja: "ja";
32
+ readonly ko: "ko";
33
+ readonly lv: "lv";
34
+ readonly mul: "mul";
35
+ readonly nl: "nl";
36
+ readonly no: "no";
37
+ readonly pt: "pt";
38
+ readonly ro: "ro";
39
+ readonly ru: "ru";
40
+ readonly sv: "sv";
41
+ readonly th: "th";
42
+ readonly tr: "tr";
43
+ readonly zh_Hans: "zh-Hans";
44
+ readonly zh_Hant: "zh-Hant";
45
+ };
46
+ export type AnalysisSchemeLanguage =
47
+ (typeof AnalysisSchemeLanguage)[keyof typeof AnalysisSchemeLanguage];
48
+ export declare const OptionState: {
49
+ readonly Active: "Active";
50
+ readonly FailedToValidate: "FailedToValidate";
51
+ readonly Processing: "Processing";
52
+ readonly RequiresIndexDocuments: "RequiresIndexDocuments";
53
+ };
54
+ export type OptionState = (typeof OptionState)[keyof typeof OptionState];
55
+ export declare const IndexFieldType: {
56
+ readonly date: "date";
57
+ readonly date_array: "date-array";
58
+ readonly double: "double";
59
+ readonly double_array: "double-array";
60
+ readonly int: "int";
61
+ readonly int_array: "int-array";
62
+ readonly latlon: "latlon";
63
+ readonly literal: "literal";
64
+ readonly literal_array: "literal-array";
65
+ readonly text: "text";
66
+ readonly text_array: "text-array";
67
+ };
68
+ export type IndexFieldType =
69
+ (typeof IndexFieldType)[keyof typeof IndexFieldType];
70
+ export declare const SuggesterFuzzyMatching: {
71
+ readonly high: "high";
72
+ readonly low: "low";
73
+ readonly none: "none";
74
+ };
75
+ export type SuggesterFuzzyMatching =
76
+ (typeof SuggesterFuzzyMatching)[keyof typeof SuggesterFuzzyMatching];
77
+ export declare const TLSSecurityPolicy: {
78
+ readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
79
+ readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
80
+ };
81
+ export type TLSSecurityPolicy =
82
+ (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
83
+ export declare const PartitionInstanceType: {
84
+ readonly search_2xlarge: "search.2xlarge";
85
+ readonly search_large: "search.large";
86
+ readonly search_m1_large: "search.m1.large";
87
+ readonly search_m1_small: "search.m1.small";
88
+ readonly search_m2_2xlarge: "search.m2.2xlarge";
89
+ readonly search_m2_xlarge: "search.m2.xlarge";
90
+ readonly search_m3_2xlarge: "search.m3.2xlarge";
91
+ readonly search_m3_large: "search.m3.large";
92
+ readonly search_m3_medium: "search.m3.medium";
93
+ readonly search_m3_xlarge: "search.m3.xlarge";
94
+ readonly search_medium: "search.medium";
95
+ readonly search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge";
96
+ readonly search_previousgeneration_large: "search.previousgeneration.large";
97
+ readonly search_previousgeneration_small: "search.previousgeneration.small";
98
+ readonly search_previousgeneration_xlarge: "search.previousgeneration.xlarge";
99
+ readonly search_small: "search.small";
100
+ readonly search_xlarge: "search.xlarge";
101
+ };
102
+ export type PartitionInstanceType =
103
+ (typeof PartitionInstanceType)[keyof typeof PartitionInstanceType];
@@ -0,0 +1,70 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CloudSearchServiceException as __BaseException } from "./CloudSearchServiceException";
3
+ export declare class BaseException extends __BaseException {
4
+ readonly name: "BaseException";
5
+ readonly $fault: "client";
6
+ Code?: string | undefined;
7
+ Message?: string | undefined;
8
+ constructor(opts: __ExceptionOptionType<BaseException, __BaseException>);
9
+ }
10
+ export declare class InternalException extends __BaseException {
11
+ readonly name: "InternalException";
12
+ readonly $fault: "server";
13
+ Code?: string | undefined;
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
16
+ }
17
+ export declare class ResourceNotFoundException extends __BaseException {
18
+ readonly name: "ResourceNotFoundException";
19
+ readonly $fault: "client";
20
+ Code?: string | undefined;
21
+ Message?: string | undefined;
22
+ constructor(
23
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
24
+ );
25
+ }
26
+ export declare class ValidationException extends __BaseException {
27
+ readonly name: "ValidationException";
28
+ readonly $fault: "client";
29
+ Code?: string | undefined;
30
+ Message?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
33
+ );
34
+ }
35
+ export declare class LimitExceededException extends __BaseException {
36
+ readonly name: "LimitExceededException";
37
+ readonly $fault: "client";
38
+ Code?: string | undefined;
39
+ Message?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
42
+ );
43
+ }
44
+ export declare class ResourceAlreadyExistsException extends __BaseException {
45
+ readonly name: "ResourceAlreadyExistsException";
46
+ readonly $fault: "client";
47
+ Code?: string | undefined;
48
+ Message?: string | undefined;
49
+ constructor(
50
+ opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
51
+ );
52
+ }
53
+ export declare class InvalidTypeException extends __BaseException {
54
+ readonly name: "InvalidTypeException";
55
+ readonly $fault: "client";
56
+ Code?: string | undefined;
57
+ Message?: string | undefined;
58
+ constructor(
59
+ opts: __ExceptionOptionType<InvalidTypeException, __BaseException>
60
+ );
61
+ }
62
+ export declare class DisabledOperationException extends __BaseException {
63
+ readonly name: "DisabledOperationException";
64
+ readonly $fault: "client";
65
+ Code?: string | undefined;
66
+ Message?: string | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<DisabledOperationException, __BaseException>
69
+ );
70
+ }