@aws-sdk/client-cloudsearch 3.408.0 → 3.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +87 -1
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-es/models/models_0.js +86 -0
  5. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +5 -5
  6. package/dist-types/commands/DefineExpressionCommand.d.ts +1 -1
  7. package/dist-types/commands/DefineIndexFieldCommand.d.ts +3 -3
  8. package/dist-types/commands/DefineSuggesterCommand.d.ts +3 -3
  9. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +3 -3
  10. package/dist-types/commands/DeleteExpressionCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteSuggesterCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +3 -3
  14. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +2 -2
  16. package/dist-types/commands/DescribeExpressionsCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeSuggestersCommand.d.ts +2 -2
  21. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +3 -3
  23. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +3 -3
  24. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +116 -6
  26. package/dist-types/ts3.4/models/models_0.d.ts +94 -70
  27. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TLSSecurityPolicy = exports.DisabledOperationException = exports.InvalidTypeException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalException = exports.BaseException = void 0;
3
+ exports.PartitionInstanceType = exports.TLSSecurityPolicy = exports.DisabledOperationException = exports.SuggesterFuzzyMatching = exports.IndexFieldType = exports.InvalidTypeException = exports.OptionState = exports.AnalysisSchemeLanguage = exports.AlgorithmicStemming = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalException = exports.BaseException = void 0;
4
4
  const CloudSearchServiceException_1 = require("./CloudSearchServiceException");
5
5
  class BaseException extends CloudSearchServiceException_1.CloudSearchServiceException {
6
6
  constructor(opts) {
@@ -92,6 +92,55 @@ class ResourceAlreadyExistsException extends CloudSearchServiceException_1.Cloud
92
92
  }
93
93
  }
94
94
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
95
+ exports.AlgorithmicStemming = {
96
+ full: "full",
97
+ light: "light",
98
+ minimal: "minimal",
99
+ none: "none",
100
+ };
101
+ exports.AnalysisSchemeLanguage = {
102
+ ar: "ar",
103
+ bg: "bg",
104
+ ca: "ca",
105
+ cs: "cs",
106
+ da: "da",
107
+ de: "de",
108
+ el: "el",
109
+ en: "en",
110
+ es: "es",
111
+ eu: "eu",
112
+ fa: "fa",
113
+ fi: "fi",
114
+ fr: "fr",
115
+ ga: "ga",
116
+ gl: "gl",
117
+ he: "he",
118
+ hi: "hi",
119
+ hu: "hu",
120
+ hy: "hy",
121
+ id: "id",
122
+ it: "it",
123
+ ja: "ja",
124
+ ko: "ko",
125
+ lv: "lv",
126
+ mul: "mul",
127
+ nl: "nl",
128
+ no: "no",
129
+ pt: "pt",
130
+ ro: "ro",
131
+ ru: "ru",
132
+ sv: "sv",
133
+ th: "th",
134
+ tr: "tr",
135
+ zh_Hans: "zh-Hans",
136
+ zh_Hant: "zh-Hant",
137
+ };
138
+ exports.OptionState = {
139
+ Active: "Active",
140
+ FailedToValidate: "FailedToValidate",
141
+ Processing: "Processing",
142
+ RequiresIndexDocuments: "RequiresIndexDocuments",
143
+ };
95
144
  class InvalidTypeException extends CloudSearchServiceException_1.CloudSearchServiceException {
96
145
  constructor(opts) {
97
146
  super({
@@ -107,6 +156,24 @@ class InvalidTypeException extends CloudSearchServiceException_1.CloudSearchServ
107
156
  }
108
157
  }
109
158
  exports.InvalidTypeException = InvalidTypeException;
159
+ exports.IndexFieldType = {
160
+ date: "date",
161
+ date_array: "date-array",
162
+ double: "double",
163
+ double_array: "double-array",
164
+ int: "int",
165
+ int_array: "int-array",
166
+ latlon: "latlon",
167
+ literal: "literal",
168
+ literal_array: "literal-array",
169
+ text: "text",
170
+ text_array: "text-array",
171
+ };
172
+ exports.SuggesterFuzzyMatching = {
173
+ high: "high",
174
+ low: "low",
175
+ none: "none",
176
+ };
110
177
  class DisabledOperationException extends CloudSearchServiceException_1.CloudSearchServiceException {
111
178
  constructor(opts) {
112
179
  super({
@@ -126,3 +193,22 @@ exports.TLSSecurityPolicy = {
126
193
  POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
127
194
  POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
128
195
  };
196
+ exports.PartitionInstanceType = {
197
+ search_2xlarge: "search.2xlarge",
198
+ search_large: "search.large",
199
+ search_m1_large: "search.m1.large",
200
+ search_m1_small: "search.m1.small",
201
+ search_m2_2xlarge: "search.m2.2xlarge",
202
+ search_m2_xlarge: "search.m2.xlarge",
203
+ search_m3_2xlarge: "search.m3.2xlarge",
204
+ search_m3_large: "search.m3.large",
205
+ search_m3_medium: "search.m3.medium",
206
+ search_m3_xlarge: "search.m3.xlarge",
207
+ search_medium: "search.medium",
208
+ search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
209
+ search_previousgeneration_large: "search.previousgeneration.large",
210
+ search_previousgeneration_small: "search.previousgeneration.small",
211
+ search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
212
+ search_small: "search.small",
213
+ search_xlarge: "search.xlarge",
214
+ };
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://cloudsearch-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudsearch.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -83,6 +83,55 @@ export class ResourceAlreadyExistsException extends __BaseException {
83
83
  this.Message = opts.Message;
84
84
  }
85
85
  }
86
+ export const AlgorithmicStemming = {
87
+ full: "full",
88
+ light: "light",
89
+ minimal: "minimal",
90
+ none: "none",
91
+ };
92
+ export const AnalysisSchemeLanguage = {
93
+ ar: "ar",
94
+ bg: "bg",
95
+ ca: "ca",
96
+ cs: "cs",
97
+ da: "da",
98
+ de: "de",
99
+ el: "el",
100
+ en: "en",
101
+ es: "es",
102
+ eu: "eu",
103
+ fa: "fa",
104
+ fi: "fi",
105
+ fr: "fr",
106
+ ga: "ga",
107
+ gl: "gl",
108
+ he: "he",
109
+ hi: "hi",
110
+ hu: "hu",
111
+ hy: "hy",
112
+ id: "id",
113
+ it: "it",
114
+ ja: "ja",
115
+ ko: "ko",
116
+ lv: "lv",
117
+ mul: "mul",
118
+ nl: "nl",
119
+ no: "no",
120
+ pt: "pt",
121
+ ro: "ro",
122
+ ru: "ru",
123
+ sv: "sv",
124
+ th: "th",
125
+ tr: "tr",
126
+ zh_Hans: "zh-Hans",
127
+ zh_Hant: "zh-Hant",
128
+ };
129
+ export const OptionState = {
130
+ Active: "Active",
131
+ FailedToValidate: "FailedToValidate",
132
+ Processing: "Processing",
133
+ RequiresIndexDocuments: "RequiresIndexDocuments",
134
+ };
86
135
  export class InvalidTypeException extends __BaseException {
87
136
  constructor(opts) {
88
137
  super({
@@ -97,6 +146,24 @@ export class InvalidTypeException extends __BaseException {
97
146
  this.Message = opts.Message;
98
147
  }
99
148
  }
149
+ export const IndexFieldType = {
150
+ date: "date",
151
+ date_array: "date-array",
152
+ double: "double",
153
+ double_array: "double-array",
154
+ int: "int",
155
+ int_array: "int-array",
156
+ latlon: "latlon",
157
+ literal: "literal",
158
+ literal_array: "literal-array",
159
+ text: "text",
160
+ text_array: "text-array",
161
+ };
162
+ export const SuggesterFuzzyMatching = {
163
+ high: "high",
164
+ low: "low",
165
+ none: "none",
166
+ };
100
167
  export class DisabledOperationException extends __BaseException {
101
168
  constructor(opts) {
102
169
  super({
@@ -115,3 +182,22 @@ export const TLSSecurityPolicy = {
115
182
  POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07",
116
183
  POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07",
117
184
  };
185
+ export const PartitionInstanceType = {
186
+ search_2xlarge: "search.2xlarge",
187
+ search_large: "search.large",
188
+ search_m1_large: "search.m1.large",
189
+ search_m1_small: "search.m1.small",
190
+ search_m2_2xlarge: "search.m2.2xlarge",
191
+ search_m2_xlarge: "search.m2.xlarge",
192
+ search_m3_2xlarge: "search.m3.2xlarge",
193
+ search_m3_large: "search.m3.large",
194
+ search_m3_medium: "search.m3.medium",
195
+ search_m3_xlarge: "search.m3.xlarge",
196
+ search_medium: "search.medium",
197
+ search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge",
198
+ search_previousgeneration_large: "search.previousgeneration.large",
199
+ search_previousgeneration_small: "search.previousgeneration.small",
200
+ search_previousgeneration_xlarge: "search.previousgeneration.xlarge",
201
+ search_small: "search.small",
202
+ search_xlarge: "search.xlarge",
203
+ };
@@ -34,13 +34,13 @@ export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeR
34
34
  * DomainName: "STRING_VALUE", // required
35
35
  * AnalysisScheme: { // AnalysisScheme
36
36
  * AnalysisSchemeName: "STRING_VALUE", // required
37
- * AnalysisSchemeLanguage: "STRING_VALUE", // required
37
+ * AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required
38
38
  * AnalysisOptions: { // AnalysisOptions
39
39
  * Synonyms: "STRING_VALUE",
40
40
  * Stopwords: "STRING_VALUE",
41
41
  * StemmingDictionary: "STRING_VALUE",
42
42
  * JapaneseTokenizationDictionary: "STRING_VALUE",
43
- * AlgorithmicStemming: "STRING_VALUE",
43
+ * AlgorithmicStemming: "none" || "minimal" || "light" || "full",
44
44
  * },
45
45
  * },
46
46
  * };
@@ -50,20 +50,20 @@ export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeR
50
50
  * // AnalysisScheme: { // AnalysisSchemeStatus
51
51
  * // Options: { // AnalysisScheme
52
52
  * // AnalysisSchemeName: "STRING_VALUE", // required
53
- * // AnalysisSchemeLanguage: "STRING_VALUE", // required
53
+ * // AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required
54
54
  * // AnalysisOptions: { // AnalysisOptions
55
55
  * // Synonyms: "STRING_VALUE",
56
56
  * // Stopwords: "STRING_VALUE",
57
57
  * // StemmingDictionary: "STRING_VALUE",
58
58
  * // JapaneseTokenizationDictionary: "STRING_VALUE",
59
- * // AlgorithmicStemming: "STRING_VALUE",
59
+ * // AlgorithmicStemming: "none" || "minimal" || "light" || "full",
60
60
  * // },
61
61
  * // },
62
62
  * // Status: { // OptionStatus
63
63
  * // CreationDate: new Date("TIMESTAMP"), // required
64
64
  * // UpdateDate: new Date("TIMESTAMP"), // required
65
65
  * // UpdateVersion: Number("int"),
66
- * // State: "STRING_VALUE", // required
66
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
67
67
  * // PendingDeletion: true || false,
68
68
  * // },
69
69
  * // },
@@ -49,7 +49,7 @@ export interface DefineExpressionCommandOutput extends DefineExpressionResponse,
49
49
  * // CreationDate: new Date("TIMESTAMP"), // required
50
50
  * // UpdateDate: new Date("TIMESTAMP"), // required
51
51
  * // UpdateVersion: Number("int"),
52
- * // State: "STRING_VALUE", // required
52
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
53
53
  * // PendingDeletion: true || false,
54
54
  * // },
55
55
  * // },
@@ -34,7 +34,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
34
34
  * DomainName: "STRING_VALUE", // required
35
35
  * IndexField: { // IndexField
36
36
  * IndexFieldName: "STRING_VALUE", // required
37
- * IndexFieldType: "STRING_VALUE", // required
37
+ * IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required
38
38
  * IntOptions: { // IntOptions
39
39
  * DefaultValue: Number("long"),
40
40
  * SourceField: "STRING_VALUE",
@@ -126,7 +126,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
126
126
  * // IndexField: { // IndexFieldStatus
127
127
  * // Options: { // IndexField
128
128
  * // IndexFieldName: "STRING_VALUE", // required
129
- * // IndexFieldType: "STRING_VALUE", // required
129
+ * // IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required
130
130
  * // IntOptions: { // IntOptions
131
131
  * // DefaultValue: Number("long"),
132
132
  * // SourceField: "STRING_VALUE",
@@ -215,7 +215,7 @@ export interface DefineIndexFieldCommandOutput extends DefineIndexFieldResponse,
215
215
  * // CreationDate: new Date("TIMESTAMP"), // required
216
216
  * // UpdateDate: new Date("TIMESTAMP"), // required
217
217
  * // UpdateVersion: Number("int"),
218
- * // State: "STRING_VALUE", // required
218
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
219
219
  * // PendingDeletion: true || false,
220
220
  * // },
221
221
  * // },
@@ -36,7 +36,7 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _
36
36
  * SuggesterName: "STRING_VALUE", // required
37
37
  * DocumentSuggesterOptions: { // DocumentSuggesterOptions
38
38
  * SourceField: "STRING_VALUE", // required
39
- * FuzzyMatching: "STRING_VALUE",
39
+ * FuzzyMatching: "none" || "low" || "high",
40
40
  * SortExpression: "STRING_VALUE",
41
41
  * },
42
42
  * },
@@ -49,7 +49,7 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _
49
49
  * // SuggesterName: "STRING_VALUE", // required
50
50
  * // DocumentSuggesterOptions: { // DocumentSuggesterOptions
51
51
  * // SourceField: "STRING_VALUE", // required
52
- * // FuzzyMatching: "STRING_VALUE",
52
+ * // FuzzyMatching: "none" || "low" || "high",
53
53
  * // SortExpression: "STRING_VALUE",
54
54
  * // },
55
55
  * // },
@@ -57,7 +57,7 @@ export interface DefineSuggesterCommandOutput extends DefineSuggesterResponse, _
57
57
  * // CreationDate: new Date("TIMESTAMP"), // required
58
58
  * // UpdateDate: new Date("TIMESTAMP"), // required
59
59
  * // UpdateVersion: Number("int"),
60
- * // State: "STRING_VALUE", // required
60
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
61
61
  * // PendingDeletion: true || false,
62
62
  * // },
63
63
  * // },
@@ -40,20 +40,20 @@ export interface DeleteAnalysisSchemeCommandOutput extends DeleteAnalysisSchemeR
40
40
  * // AnalysisScheme: { // AnalysisSchemeStatus
41
41
  * // Options: { // AnalysisScheme
42
42
  * // AnalysisSchemeName: "STRING_VALUE", // required
43
- * // AnalysisSchemeLanguage: "STRING_VALUE", // required
43
+ * // AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required
44
44
  * // AnalysisOptions: { // AnalysisOptions
45
45
  * // Synonyms: "STRING_VALUE",
46
46
  * // Stopwords: "STRING_VALUE",
47
47
  * // StemmingDictionary: "STRING_VALUE",
48
48
  * // JapaneseTokenizationDictionary: "STRING_VALUE",
49
- * // AlgorithmicStemming: "STRING_VALUE",
49
+ * // AlgorithmicStemming: "none" || "minimal" || "light" || "full",
50
50
  * // },
51
51
  * // },
52
52
  * // Status: { // OptionStatus
53
53
  * // CreationDate: new Date("TIMESTAMP"), // required
54
54
  * // UpdateDate: new Date("TIMESTAMP"), // required
55
55
  * // UpdateVersion: Number("int"),
56
- * // State: "STRING_VALUE", // required
56
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
57
57
  * // PendingDeletion: true || false,
58
58
  * // },
59
59
  * // },
@@ -46,7 +46,7 @@ export interface DeleteExpressionCommandOutput extends DeleteExpressionResponse,
46
46
  * // CreationDate: new Date("TIMESTAMP"), // required
47
47
  * // UpdateDate: new Date("TIMESTAMP"), // required
48
48
  * // UpdateVersion: Number("int"),
49
- * // State: "STRING_VALUE", // required
49
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
50
50
  * // PendingDeletion: true || false,
51
51
  * // },
52
52
  * // },
@@ -40,7 +40,7 @@ export interface DeleteIndexFieldCommandOutput extends DeleteIndexFieldResponse,
40
40
  * // IndexField: { // IndexFieldStatus
41
41
  * // Options: { // IndexField
42
42
  * // IndexFieldName: "STRING_VALUE", // required
43
- * // IndexFieldType: "STRING_VALUE", // required
43
+ * // IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required
44
44
  * // IntOptions: { // IntOptions
45
45
  * // DefaultValue: Number("long"),
46
46
  * // SourceField: "STRING_VALUE",
@@ -129,7 +129,7 @@ export interface DeleteIndexFieldCommandOutput extends DeleteIndexFieldResponse,
129
129
  * // CreationDate: new Date("TIMESTAMP"), // required
130
130
  * // UpdateDate: new Date("TIMESTAMP"), // required
131
131
  * // UpdateVersion: Number("int"),
132
- * // State: "STRING_VALUE", // required
132
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
133
133
  * // PendingDeletion: true || false,
134
134
  * // },
135
135
  * // },
@@ -42,7 +42,7 @@ export interface DeleteSuggesterCommandOutput extends DeleteSuggesterResponse, _
42
42
  * // SuggesterName: "STRING_VALUE", // required
43
43
  * // DocumentSuggesterOptions: { // DocumentSuggesterOptions
44
44
  * // SourceField: "STRING_VALUE", // required
45
- * // FuzzyMatching: "STRING_VALUE",
45
+ * // FuzzyMatching: "none" || "low" || "high",
46
46
  * // SortExpression: "STRING_VALUE",
47
47
  * // },
48
48
  * // },
@@ -50,7 +50,7 @@ export interface DeleteSuggesterCommandOutput extends DeleteSuggesterResponse, _
50
50
  * // CreationDate: new Date("TIMESTAMP"), // required
51
51
  * // UpdateDate: new Date("TIMESTAMP"), // required
52
52
  * // UpdateVersion: Number("int"),
53
- * // State: "STRING_VALUE", // required
53
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
54
54
  * // PendingDeletion: true || false,
55
55
  * // },
56
56
  * // },
@@ -44,20 +44,20 @@ export interface DescribeAnalysisSchemesCommandOutput extends DescribeAnalysisSc
44
44
  * // { // AnalysisSchemeStatus
45
45
  * // Options: { // AnalysisScheme
46
46
  * // AnalysisSchemeName: "STRING_VALUE", // required
47
- * // AnalysisSchemeLanguage: "STRING_VALUE", // required
47
+ * // AnalysisSchemeLanguage: "ar" || "bg" || "ca" || "cs" || "da" || "de" || "el" || "en" || "es" || "eu" || "fa" || "fi" || "fr" || "ga" || "gl" || "he" || "hi" || "hu" || "hy" || "id" || "it" || "ja" || "ko" || "lv" || "mul" || "nl" || "no" || "pt" || "ro" || "ru" || "sv" || "th" || "tr" || "zh-Hans" || "zh-Hant", // required
48
48
  * // AnalysisOptions: { // AnalysisOptions
49
49
  * // Synonyms: "STRING_VALUE",
50
50
  * // Stopwords: "STRING_VALUE",
51
51
  * // StemmingDictionary: "STRING_VALUE",
52
52
  * // JapaneseTokenizationDictionary: "STRING_VALUE",
53
- * // AlgorithmicStemming: "STRING_VALUE",
53
+ * // AlgorithmicStemming: "none" || "minimal" || "light" || "full",
54
54
  * // },
55
55
  * // },
56
56
  * // Status: { // OptionStatus
57
57
  * // CreationDate: new Date("TIMESTAMP"), // required
58
58
  * // UpdateDate: new Date("TIMESTAMP"), // required
59
59
  * // UpdateVersion: Number("int"),
60
- * // State: "STRING_VALUE", // required
60
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
61
61
  * // PendingDeletion: true || false,
62
62
  * // },
63
63
  * // },
@@ -43,7 +43,7 @@ export interface DescribeAvailabilityOptionsCommandOutput extends DescribeAvaila
43
43
  * // CreationDate: new Date("TIMESTAMP"), // required
44
44
  * // UpdateDate: new Date("TIMESTAMP"), // required
45
45
  * // UpdateVersion: Number("int"),
46
- * // State: "STRING_VALUE", // required
46
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
47
47
  * // PendingDeletion: true || false,
48
48
  * // },
49
49
  * // },
@@ -40,13 +40,13 @@ export interface DescribeDomainEndpointOptionsCommandOutput extends DescribeDoma
40
40
  * // DomainEndpointOptions: { // DomainEndpointOptionsStatus
41
41
  * // Options: { // DomainEndpointOptions
42
42
  * // EnforceHTTPS: true || false,
43
- * // TLSSecurityPolicy: "STRING_VALUE",
43
+ * // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
44
44
  * // },
45
45
  * // Status: { // OptionStatus
46
46
  * // CreationDate: new Date("TIMESTAMP"), // required
47
47
  * // UpdateDate: new Date("TIMESTAMP"), // required
48
48
  * // UpdateVersion: Number("int"),
49
- * // State: "STRING_VALUE", // required
49
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
50
50
  * // PendingDeletion: true || false,
51
51
  * // },
52
52
  * // },
@@ -50,7 +50,7 @@ export interface DescribeExpressionsCommandOutput extends DescribeExpressionsRes
50
50
  * // CreationDate: new Date("TIMESTAMP"), // required
51
51
  * // UpdateDate: new Date("TIMESTAMP"), // required
52
52
  * // UpdateVersion: Number("int"),
53
- * // State: "STRING_VALUE", // required
53
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
54
54
  * // PendingDeletion: true || false,
55
55
  * // },
56
56
  * // },
@@ -46,7 +46,7 @@ export interface DescribeIndexFieldsCommandOutput extends DescribeIndexFieldsRes
46
46
  * // { // IndexFieldStatus
47
47
  * // Options: { // IndexField
48
48
  * // IndexFieldName: "STRING_VALUE", // required
49
- * // IndexFieldType: "STRING_VALUE", // required
49
+ * // IndexFieldType: "int" || "double" || "literal" || "text" || "date" || "latlon" || "int-array" || "double-array" || "literal-array" || "text-array" || "date-array", // required
50
50
  * // IntOptions: { // IntOptions
51
51
  * // DefaultValue: Number("long"),
52
52
  * // SourceField: "STRING_VALUE",
@@ -135,7 +135,7 @@ export interface DescribeIndexFieldsCommandOutput extends DescribeIndexFieldsRes
135
135
  * // CreationDate: new Date("TIMESTAMP"), // required
136
136
  * // UpdateDate: new Date("TIMESTAMP"), // required
137
137
  * // UpdateVersion: Number("int"),
138
- * // State: "STRING_VALUE", // required
138
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
139
139
  * // PendingDeletion: true || false,
140
140
  * // },
141
141
  * // },
@@ -38,7 +38,7 @@ export interface DescribeScalingParametersCommandOutput extends DescribeScalingP
38
38
  * // { // DescribeScalingParametersResponse
39
39
  * // ScalingParameters: { // ScalingParametersStatus
40
40
  * // Options: { // ScalingParameters
41
- * // DesiredInstanceType: "STRING_VALUE",
41
+ * // DesiredInstanceType: "search.m1.small" || "search.m1.large" || "search.m2.xlarge" || "search.m2.2xlarge" || "search.m3.medium" || "search.m3.large" || "search.m3.xlarge" || "search.m3.2xlarge" || "search.small" || "search.medium" || "search.large" || "search.xlarge" || "search.2xlarge" || "search.previousgeneration.small" || "search.previousgeneration.large" || "search.previousgeneration.xlarge" || "search.previousgeneration.2xlarge",
42
42
  * // DesiredReplicationCount: Number("int"),
43
43
  * // DesiredPartitionCount: Number("int"),
44
44
  * // },
@@ -46,7 +46,7 @@ export interface DescribeScalingParametersCommandOutput extends DescribeScalingP
46
46
  * // CreationDate: new Date("TIMESTAMP"), // required
47
47
  * // UpdateDate: new Date("TIMESTAMP"), // required
48
48
  * // UpdateVersion: Number("int"),
49
- * // State: "STRING_VALUE", // required
49
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
50
50
  * // PendingDeletion: true || false,
51
51
  * // },
52
52
  * // },
@@ -44,7 +44,7 @@ export interface DescribeServiceAccessPoliciesCommandOutput extends DescribeServ
44
44
  * // CreationDate: new Date("TIMESTAMP"), // required
45
45
  * // UpdateDate: new Date("TIMESTAMP"), // required
46
46
  * // UpdateVersion: Number("int"),
47
- * // State: "STRING_VALUE", // required
47
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
48
48
  * // PendingDeletion: true || false,
49
49
  * // },
50
50
  * // },
@@ -46,7 +46,7 @@ export interface DescribeSuggestersCommandOutput extends DescribeSuggestersRespo
46
46
  * // SuggesterName: "STRING_VALUE", // required
47
47
  * // DocumentSuggesterOptions: { // DocumentSuggesterOptions
48
48
  * // SourceField: "STRING_VALUE", // required
49
- * // FuzzyMatching: "STRING_VALUE",
49
+ * // FuzzyMatching: "none" || "low" || "high",
50
50
  * // SortExpression: "STRING_VALUE",
51
51
  * // },
52
52
  * // },
@@ -54,7 +54,7 @@ export interface DescribeSuggestersCommandOutput extends DescribeSuggestersRespo
54
54
  * // CreationDate: new Date("TIMESTAMP"), // required
55
55
  * // UpdateDate: new Date("TIMESTAMP"), // required
56
56
  * // UpdateVersion: Number("int"),
57
- * // State: "STRING_VALUE", // required
57
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
58
58
  * // PendingDeletion: true || false,
59
59
  * // },
60
60
  * // },
@@ -43,7 +43,7 @@ export interface UpdateAvailabilityOptionsCommandOutput extends UpdateAvailabili
43
43
  * // CreationDate: new Date("TIMESTAMP"), // required
44
44
  * // UpdateDate: new Date("TIMESTAMP"), // required
45
45
  * // UpdateVersion: Number("int"),
46
- * // State: "STRING_VALUE", // required
46
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
47
47
  * // PendingDeletion: true || false,
48
48
  * // },
49
49
  * // },
@@ -34,7 +34,7 @@ export interface UpdateDomainEndpointOptionsCommandOutput extends UpdateDomainEn
34
34
  * DomainName: "STRING_VALUE", // required
35
35
  * DomainEndpointOptions: { // DomainEndpointOptions
36
36
  * EnforceHTTPS: true || false,
37
- * TLSSecurityPolicy: "STRING_VALUE",
37
+ * TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
38
38
  * },
39
39
  * };
40
40
  * const command = new UpdateDomainEndpointOptionsCommand(input);
@@ -43,13 +43,13 @@ export interface UpdateDomainEndpointOptionsCommandOutput extends UpdateDomainEn
43
43
  * // DomainEndpointOptions: { // DomainEndpointOptionsStatus
44
44
  * // Options: { // DomainEndpointOptions
45
45
  * // EnforceHTTPS: true || false,
46
- * // TLSSecurityPolicy: "STRING_VALUE",
46
+ * // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
47
47
  * // },
48
48
  * // Status: { // OptionStatus
49
49
  * // CreationDate: new Date("TIMESTAMP"), // required
50
50
  * // UpdateDate: new Date("TIMESTAMP"), // required
51
51
  * // UpdateVersion: Number("int"),
52
- * // State: "STRING_VALUE", // required
52
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
53
53
  * // PendingDeletion: true || false,
54
54
  * // },
55
55
  * // },
@@ -33,7 +33,7 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam
33
33
  * const input = { // UpdateScalingParametersRequest
34
34
  * DomainName: "STRING_VALUE", // required
35
35
  * ScalingParameters: { // ScalingParameters
36
- * DesiredInstanceType: "STRING_VALUE",
36
+ * DesiredInstanceType: "search.m1.small" || "search.m1.large" || "search.m2.xlarge" || "search.m2.2xlarge" || "search.m3.medium" || "search.m3.large" || "search.m3.xlarge" || "search.m3.2xlarge" || "search.small" || "search.medium" || "search.large" || "search.xlarge" || "search.2xlarge" || "search.previousgeneration.small" || "search.previousgeneration.large" || "search.previousgeneration.xlarge" || "search.previousgeneration.2xlarge",
37
37
  * DesiredReplicationCount: Number("int"),
38
38
  * DesiredPartitionCount: Number("int"),
39
39
  * },
@@ -43,7 +43,7 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam
43
43
  * // { // UpdateScalingParametersResponse
44
44
  * // ScalingParameters: { // ScalingParametersStatus
45
45
  * // Options: { // ScalingParameters
46
- * // DesiredInstanceType: "STRING_VALUE",
46
+ * // DesiredInstanceType: "search.m1.small" || "search.m1.large" || "search.m2.xlarge" || "search.m2.2xlarge" || "search.m3.medium" || "search.m3.large" || "search.m3.xlarge" || "search.m3.2xlarge" || "search.small" || "search.medium" || "search.large" || "search.xlarge" || "search.2xlarge" || "search.previousgeneration.small" || "search.previousgeneration.large" || "search.previousgeneration.xlarge" || "search.previousgeneration.2xlarge",
47
47
  * // DesiredReplicationCount: Number("int"),
48
48
  * // DesiredPartitionCount: Number("int"),
49
49
  * // },
@@ -51,7 +51,7 @@ export interface UpdateScalingParametersCommandOutput extends UpdateScalingParam
51
51
  * // CreationDate: new Date("TIMESTAMP"), // required
52
52
  * // UpdateDate: new Date("TIMESTAMP"), // required
53
53
  * // UpdateVersion: Number("int"),
54
- * // State: "STRING_VALUE", // required
54
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
55
55
  * // PendingDeletion: true || false,
56
56
  * // },
57
57
  * // },
@@ -45,7 +45,7 @@ export interface UpdateServiceAccessPoliciesCommandOutput extends UpdateServiceA
45
45
  * // CreationDate: new Date("TIMESTAMP"), // required
46
46
  * // UpdateDate: new Date("TIMESTAMP"), // required
47
47
  * // UpdateVersion: Number("int"),
48
- * // State: "STRING_VALUE", // required
48
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
49
49
  * // PendingDeletion: true || false,
50
50
  * // },
51
51
  * // },
@@ -262,10 +262,20 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
262
262
  */
263
263
  constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
264
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
+ };
265
275
  /**
266
276
  * @public
267
277
  */
268
- export type AlgorithmicStemming = "full" | "light" | "minimal" | "none";
278
+ export type AlgorithmicStemming = (typeof AlgorithmicStemming)[keyof typeof AlgorithmicStemming];
269
279
  /**
270
280
  * @public
271
281
  * <p>Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.</p>
@@ -299,8 +309,49 @@ export interface AnalysisOptions {
299
309
  }
300
310
  /**
301
311
  * @public
312
+ * @enum
302
313
  */
303
- export type AnalysisSchemeLanguage = "ar" | "bg" | "ca" | "cs" | "da" | "de" | "el" | "en" | "es" | "eu" | "fa" | "fi" | "fr" | "ga" | "gl" | "he" | "hi" | "hu" | "hy" | "id" | "it" | "ja" | "ko" | "lv" | "mul" | "nl" | "no" | "pt" | "ro" | "ru" | "sv" | "th" | "tr" | "zh-Hans" | "zh-Hant";
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];
304
355
  /**
305
356
  * @public
306
357
  * <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>
@@ -339,10 +390,20 @@ export interface DefineAnalysisSchemeRequest {
339
390
  */
340
391
  AnalysisScheme: AnalysisScheme | undefined;
341
392
  }
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
+ };
342
403
  /**
343
404
  * @public
344
405
  */
345
- export type OptionState = "Active" | "FailedToValidate" | "Processing" | "RequiresIndexDocuments";
406
+ export type OptionState = (typeof OptionState)[keyof typeof OptionState];
346
407
  /**
347
408
  * @public
348
409
  * <p>The status of domain configuration option.</p>
@@ -635,10 +696,27 @@ export interface DoubleOptions {
635
696
  */
636
697
  SortEnabled?: boolean;
637
698
  }
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
+ };
638
716
  /**
639
717
  * @public
640
718
  */
641
- export type IndexFieldType = "date" | "date-array" | "double" | "double-array" | "int" | "int-array" | "latlon" | "literal" | "literal-array" | "text" | "text-array";
719
+ export type IndexFieldType = (typeof IndexFieldType)[keyof typeof IndexFieldType];
642
720
  /**
643
721
  * @public
644
722
  * <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>
@@ -1044,8 +1122,17 @@ export interface DefineIndexFieldResponse {
1044
1122
  }
1045
1123
  /**
1046
1124
  * @public
1125
+ * @enum
1047
1126
  */
1048
- export type SuggesterFuzzyMatching = "high" | "low" | "none";
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];
1049
1136
  /**
1050
1137
  * @public
1051
1138
  * <p>Options for a search suggester.</p>
@@ -1529,10 +1616,33 @@ export interface DescribeScalingParametersRequest {
1529
1616
  */
1530
1617
  DomainName: string | undefined;
1531
1618
  }
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
+ };
1532
1642
  /**
1533
1643
  * @public
1534
1644
  */
1535
- export type PartitionInstanceType = "search.2xlarge" | "search.large" | "search.m1.large" | "search.m1.small" | "search.m2.2xlarge" | "search.m2.xlarge" | "search.m3.2xlarge" | "search.m3.large" | "search.m3.medium" | "search.m3.xlarge" | "search.medium" | "search.previousgeneration.2xlarge" | "search.previousgeneration.large" | "search.previousgeneration.small" | "search.previousgeneration.xlarge" | "search.small" | "search.xlarge";
1645
+ export type PartitionInstanceType = (typeof PartitionInstanceType)[keyof typeof PartitionInstanceType];
1536
1646
  /**
1537
1647
  * @public
1538
1648
  * <p>The desired instance type and desired number of replicas of each index partition.</p>
@@ -84,7 +84,14 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
84
84
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
85
85
  );
86
86
  }
87
- export type AlgorithmicStemming = "full" | "light" | "minimal" | "none";
87
+ export declare const AlgorithmicStemming: {
88
+ readonly full: "full";
89
+ readonly light: "light";
90
+ readonly minimal: "minimal";
91
+ readonly none: "none";
92
+ };
93
+ export type AlgorithmicStemming =
94
+ (typeof AlgorithmicStemming)[keyof typeof AlgorithmicStemming];
88
95
  export interface AnalysisOptions {
89
96
  Synonyms?: string;
90
97
  Stopwords?: string;
@@ -92,42 +99,45 @@ export interface AnalysisOptions {
92
99
  JapaneseTokenizationDictionary?: string;
93
100
  AlgorithmicStemming?: AlgorithmicStemming | string;
94
101
  }
102
+ export declare const AnalysisSchemeLanguage: {
103
+ readonly ar: "ar";
104
+ readonly bg: "bg";
105
+ readonly ca: "ca";
106
+ readonly cs: "cs";
107
+ readonly da: "da";
108
+ readonly de: "de";
109
+ readonly el: "el";
110
+ readonly en: "en";
111
+ readonly es: "es";
112
+ readonly eu: "eu";
113
+ readonly fa: "fa";
114
+ readonly fi: "fi";
115
+ readonly fr: "fr";
116
+ readonly ga: "ga";
117
+ readonly gl: "gl";
118
+ readonly he: "he";
119
+ readonly hi: "hi";
120
+ readonly hu: "hu";
121
+ readonly hy: "hy";
122
+ readonly id: "id";
123
+ readonly it: "it";
124
+ readonly ja: "ja";
125
+ readonly ko: "ko";
126
+ readonly lv: "lv";
127
+ readonly mul: "mul";
128
+ readonly nl: "nl";
129
+ readonly no: "no";
130
+ readonly pt: "pt";
131
+ readonly ro: "ro";
132
+ readonly ru: "ru";
133
+ readonly sv: "sv";
134
+ readonly th: "th";
135
+ readonly tr: "tr";
136
+ readonly zh_Hans: "zh-Hans";
137
+ readonly zh_Hant: "zh-Hant";
138
+ };
95
139
  export type AnalysisSchemeLanguage =
96
- | "ar"
97
- | "bg"
98
- | "ca"
99
- | "cs"
100
- | "da"
101
- | "de"
102
- | "el"
103
- | "en"
104
- | "es"
105
- | "eu"
106
- | "fa"
107
- | "fi"
108
- | "fr"
109
- | "ga"
110
- | "gl"
111
- | "he"
112
- | "hi"
113
- | "hu"
114
- | "hy"
115
- | "id"
116
- | "it"
117
- | "ja"
118
- | "ko"
119
- | "lv"
120
- | "mul"
121
- | "nl"
122
- | "no"
123
- | "pt"
124
- | "ro"
125
- | "ru"
126
- | "sv"
127
- | "th"
128
- | "tr"
129
- | "zh-Hans"
130
- | "zh-Hant";
140
+ (typeof AnalysisSchemeLanguage)[keyof typeof AnalysisSchemeLanguage];
131
141
  export interface AnalysisScheme {
132
142
  AnalysisSchemeName: string | undefined;
133
143
  AnalysisSchemeLanguage: AnalysisSchemeLanguage | string | undefined;
@@ -137,11 +147,13 @@ export interface DefineAnalysisSchemeRequest {
137
147
  DomainName: string | undefined;
138
148
  AnalysisScheme: AnalysisScheme | undefined;
139
149
  }
140
- export type OptionState =
141
- | "Active"
142
- | "FailedToValidate"
143
- | "Processing"
144
- | "RequiresIndexDocuments";
150
+ export declare const OptionState: {
151
+ readonly Active: "Active";
152
+ readonly FailedToValidate: "FailedToValidate";
153
+ readonly Processing: "Processing";
154
+ readonly RequiresIndexDocuments: "RequiresIndexDocuments";
155
+ };
156
+ export type OptionState = (typeof OptionState)[keyof typeof OptionState];
145
157
  export interface OptionStatus {
146
158
  CreationDate: Date | undefined;
147
159
  UpdateDate: Date | undefined;
@@ -210,18 +222,21 @@ export interface DoubleOptions {
210
222
  ReturnEnabled?: boolean;
211
223
  SortEnabled?: boolean;
212
224
  }
225
+ export declare const IndexFieldType: {
226
+ readonly date: "date";
227
+ readonly date_array: "date-array";
228
+ readonly double: "double";
229
+ readonly double_array: "double-array";
230
+ readonly int: "int";
231
+ readonly int_array: "int-array";
232
+ readonly latlon: "latlon";
233
+ readonly literal: "literal";
234
+ readonly literal_array: "literal-array";
235
+ readonly text: "text";
236
+ readonly text_array: "text-array";
237
+ };
213
238
  export type IndexFieldType =
214
- | "date"
215
- | "date-array"
216
- | "double"
217
- | "double-array"
218
- | "int"
219
- | "int-array"
220
- | "latlon"
221
- | "literal"
222
- | "literal-array"
223
- | "text"
224
- | "text-array";
239
+ (typeof IndexFieldType)[keyof typeof IndexFieldType];
225
240
  export interface IntArrayOptions {
226
241
  DefaultValue?: number;
227
242
  SourceFields?: string;
@@ -301,7 +316,13 @@ export interface IndexFieldStatus {
301
316
  export interface DefineIndexFieldResponse {
302
317
  IndexField: IndexFieldStatus | undefined;
303
318
  }
304
- export type SuggesterFuzzyMatching = "high" | "low" | "none";
319
+ export declare const SuggesterFuzzyMatching: {
320
+ readonly high: "high";
321
+ readonly low: "low";
322
+ readonly none: "none";
323
+ };
324
+ export type SuggesterFuzzyMatching =
325
+ (typeof SuggesterFuzzyMatching)[keyof typeof SuggesterFuzzyMatching];
305
326
  export interface DocumentSuggesterOptions {
306
327
  SourceField: string | undefined;
307
328
  FuzzyMatching?: SuggesterFuzzyMatching | string;
@@ -430,24 +451,27 @@ export interface DescribeIndexFieldsResponse {
430
451
  export interface DescribeScalingParametersRequest {
431
452
  DomainName: string | undefined;
432
453
  }
454
+ export declare const PartitionInstanceType: {
455
+ readonly search_2xlarge: "search.2xlarge";
456
+ readonly search_large: "search.large";
457
+ readonly search_m1_large: "search.m1.large";
458
+ readonly search_m1_small: "search.m1.small";
459
+ readonly search_m2_2xlarge: "search.m2.2xlarge";
460
+ readonly search_m2_xlarge: "search.m2.xlarge";
461
+ readonly search_m3_2xlarge: "search.m3.2xlarge";
462
+ readonly search_m3_large: "search.m3.large";
463
+ readonly search_m3_medium: "search.m3.medium";
464
+ readonly search_m3_xlarge: "search.m3.xlarge";
465
+ readonly search_medium: "search.medium";
466
+ readonly search_previousgeneration_2xlarge: "search.previousgeneration.2xlarge";
467
+ readonly search_previousgeneration_large: "search.previousgeneration.large";
468
+ readonly search_previousgeneration_small: "search.previousgeneration.small";
469
+ readonly search_previousgeneration_xlarge: "search.previousgeneration.xlarge";
470
+ readonly search_small: "search.small";
471
+ readonly search_xlarge: "search.xlarge";
472
+ };
433
473
  export type PartitionInstanceType =
434
- | "search.2xlarge"
435
- | "search.large"
436
- | "search.m1.large"
437
- | "search.m1.small"
438
- | "search.m2.2xlarge"
439
- | "search.m2.xlarge"
440
- | "search.m3.2xlarge"
441
- | "search.m3.large"
442
- | "search.m3.medium"
443
- | "search.m3.xlarge"
444
- | "search.medium"
445
- | "search.previousgeneration.2xlarge"
446
- | "search.previousgeneration.large"
447
- | "search.previousgeneration.small"
448
- | "search.previousgeneration.xlarge"
449
- | "search.small"
450
- | "search.xlarge";
474
+ (typeof PartitionInstanceType)[keyof typeof PartitionInstanceType];
451
475
  export interface ScalingParameters {
452
476
  DesiredInstanceType?: PartitionInstanceType | string;
453
477
  DesiredReplicationCount?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudsearch",
3
3
  "description": "AWS SDK for JavaScript Cloudsearch Client for Node.js, Browser and React Native",
4
- "version": "3.408.0",
4
+ "version": "3.409.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
26
  "@aws-sdk/middleware-host-header": "3.408.0",
27
27
  "@aws-sdk/middleware-logger": "3.408.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.408.0",