@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.
@@ -0,0 +1,146 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AlgorithmicStemming: {
6
+ readonly full: "full";
7
+ readonly light: "light";
8
+ readonly minimal: "minimal";
9
+ readonly none: "none";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AlgorithmicStemming = (typeof AlgorithmicStemming)[keyof typeof AlgorithmicStemming];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const AnalysisSchemeLanguage: {
20
+ readonly ar: "ar";
21
+ readonly bg: "bg";
22
+ readonly ca: "ca";
23
+ readonly cs: "cs";
24
+ readonly da: "da";
25
+ readonly de: "de";
26
+ readonly el: "el";
27
+ readonly en: "en";
28
+ readonly es: "es";
29
+ readonly eu: "eu";
30
+ readonly fa: "fa";
31
+ readonly fi: "fi";
32
+ readonly fr: "fr";
33
+ readonly ga: "ga";
34
+ readonly gl: "gl";
35
+ readonly he: "he";
36
+ readonly hi: "hi";
37
+ readonly hu: "hu";
38
+ readonly hy: "hy";
39
+ readonly id: "id";
40
+ readonly it: "it";
41
+ readonly ja: "ja";
42
+ readonly ko: "ko";
43
+ readonly lv: "lv";
44
+ readonly mul: "mul";
45
+ readonly nl: "nl";
46
+ readonly no: "no";
47
+ readonly pt: "pt";
48
+ readonly ro: "ro";
49
+ readonly ru: "ru";
50
+ readonly sv: "sv";
51
+ readonly th: "th";
52
+ readonly tr: "tr";
53
+ readonly zh_Hans: "zh-Hans";
54
+ readonly zh_Hant: "zh-Hant";
55
+ };
56
+ /**
57
+ * @public
58
+ */
59
+ export type AnalysisSchemeLanguage = (typeof AnalysisSchemeLanguage)[keyof typeof AnalysisSchemeLanguage];
60
+ /**
61
+ * @public
62
+ * @enum
63
+ */
64
+ export declare const OptionState: {
65
+ readonly Active: "Active";
66
+ readonly FailedToValidate: "FailedToValidate";
67
+ readonly Processing: "Processing";
68
+ readonly RequiresIndexDocuments: "RequiresIndexDocuments";
69
+ };
70
+ /**
71
+ * @public
72
+ */
73
+ export type OptionState = (typeof OptionState)[keyof typeof OptionState];
74
+ /**
75
+ * @public
76
+ * @enum
77
+ */
78
+ export declare const IndexFieldType: {
79
+ readonly date: "date";
80
+ readonly date_array: "date-array";
81
+ readonly double: "double";
82
+ readonly double_array: "double-array";
83
+ readonly int: "int";
84
+ readonly int_array: "int-array";
85
+ readonly latlon: "latlon";
86
+ readonly literal: "literal";
87
+ readonly literal_array: "literal-array";
88
+ readonly text: "text";
89
+ readonly text_array: "text-array";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type IndexFieldType = (typeof IndexFieldType)[keyof typeof IndexFieldType];
95
+ /**
96
+ * @public
97
+ * @enum
98
+ */
99
+ export declare const SuggesterFuzzyMatching: {
100
+ readonly high: "high";
101
+ readonly low: "low";
102
+ readonly none: "none";
103
+ };
104
+ /**
105
+ * @public
106
+ */
107
+ export type SuggesterFuzzyMatching = (typeof SuggesterFuzzyMatching)[keyof typeof SuggesterFuzzyMatching];
108
+ /**
109
+ * @public
110
+ * @enum
111
+ */
112
+ export declare const TLSSecurityPolicy: {
113
+ readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
114
+ readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
115
+ };
116
+ /**
117
+ * @public
118
+ */
119
+ export type TLSSecurityPolicy = (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
120
+ /**
121
+ * @public
122
+ * @enum
123
+ */
124
+ export declare const PartitionInstanceType: {
125
+ readonly search_2xlarge: "search.2xlarge";
126
+ readonly search_large: "search.large";
127
+ readonly search_m1_large: "search.m1.large";
128
+ readonly search_m1_small: "search.m1.small";
129
+ readonly search_m2_2xlarge: "search.m2.2xlarge";
130
+ readonly search_m2_xlarge: "search.m2.xlarge";
131
+ readonly search_m3_2xlarge: "search.m3.2xlarge";
132
+ readonly search_m3_large: "search.m3.large";
133
+ readonly search_m3_medium: "search.m3.medium";
134
+ readonly search_m3_xlarge: "search.m3.xlarge";
135
+ readonly search_medium: "search.medium";
136
+ readonly search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge";
137
+ readonly search_previousgeneration_large: "search.previousgeneration.large";
138
+ readonly search_previousgeneration_small: "search.previousgeneration.small";
139
+ readonly search_previousgeneration_xlarge: "search.previousgeneration.xlarge";
140
+ readonly search_small: "search.small";
141
+ readonly search_xlarge: "search.xlarge";
142
+ };
143
+ /**
144
+ * @public
145
+ */
146
+ export type PartitionInstanceType = (typeof PartitionInstanceType)[keyof typeof PartitionInstanceType];
@@ -0,0 +1,179 @@
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
+ }
25
+ /**
26
+ * <p>An internal error occurred while processing the request. If this problem persists,
27
+ * report an issue from the <a href="http://status.aws.amazon.com/" target="_blank">Service Health Dashboard</a>.</p>
28
+ * @public
29
+ */
30
+ export declare class InternalException extends __BaseException {
31
+ readonly name: "InternalException";
32
+ readonly $fault: "server";
33
+ /**
34
+ * <p>A machine-parsable string error or warning code.</p>
35
+ * @public
36
+ */
37
+ Code?: string | undefined;
38
+ /**
39
+ * <p>A human-readable string error or warning message.</p>
40
+ * @public
41
+ */
42
+ Message?: string | undefined;
43
+ /**
44
+ * @internal
45
+ */
46
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
47
+ }
48
+ /**
49
+ * <p>The request was rejected because it attempted to reference a resource that does not exist.</p>
50
+ * @public
51
+ */
52
+ export declare class ResourceNotFoundException extends __BaseException {
53
+ readonly name: "ResourceNotFoundException";
54
+ readonly $fault: "client";
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<ResourceNotFoundException, __BaseException>);
69
+ }
70
+ /**
71
+ * <p>The request was rejected because it has invalid parameters.</p>
72
+ * @public
73
+ */
74
+ export declare class ValidationException extends __BaseException {
75
+ readonly name: "ValidationException";
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<ValidationException, __BaseException>);
91
+ }
92
+ /**
93
+ * <p>The request was rejected because a resource limit has already been met.</p>
94
+ * @public
95
+ */
96
+ export declare class LimitExceededException extends __BaseException {
97
+ readonly name: "LimitExceededException";
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<LimitExceededException, __BaseException>);
113
+ }
114
+ /**
115
+ * <p>The request was rejected because it attempted to create a resource that already exists.</p>
116
+ * @public
117
+ */
118
+ export declare class ResourceAlreadyExistsException extends __BaseException {
119
+ readonly name: "ResourceAlreadyExistsException";
120
+ readonly $fault: "client";
121
+ /**
122
+ * <p>A machine-parsable string error or warning code.</p>
123
+ * @public
124
+ */
125
+ Code?: string | undefined;
126
+ /**
127
+ * <p>A human-readable string error or warning message.</p>
128
+ * @public
129
+ */
130
+ Message?: string | undefined;
131
+ /**
132
+ * @internal
133
+ */
134
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
135
+ }
136
+ /**
137
+ * <p>The request was rejected because it specified an invalid type definition.</p>
138
+ * @public
139
+ */
140
+ export declare class InvalidTypeException extends __BaseException {
141
+ readonly name: "InvalidTypeException";
142
+ readonly $fault: "client";
143
+ /**
144
+ * <p>A machine-parsable string error or warning code.</p>
145
+ * @public
146
+ */
147
+ Code?: string | undefined;
148
+ /**
149
+ * <p>A human-readable string error or warning message.</p>
150
+ * @public
151
+ */
152
+ Message?: string | undefined;
153
+ /**
154
+ * @internal
155
+ */
156
+ constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
157
+ }
158
+ /**
159
+ * <p>The request was rejected because it attempted an operation which is not enabled.</p>
160
+ * @public
161
+ */
162
+ export declare class DisabledOperationException extends __BaseException {
163
+ readonly name: "DisabledOperationException";
164
+ readonly $fault: "client";
165
+ /**
166
+ * <p>A machine-parsable string error or warning code.</p>
167
+ * @public
168
+ */
169
+ Code?: string | undefined;
170
+ /**
171
+ * <p>A human-readable string error or warning message.</p>
172
+ * @public
173
+ */
174
+ Message?: string | undefined;
175
+ /**
176
+ * @internal
177
+ */
178
+ constructor(opts: __ExceptionOptionType<DisabledOperationException, __BaseException>);
179
+ }