@aws-sdk/client-cloudsearch 3.408.0 → 3.410.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 (39) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +87 -1
  3. package/dist-cjs/runtimeExtensions.js +3 -0
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +86 -0
  6. package/dist-es/runtimeExtensions.js +3 -0
  7. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +5 -5
  8. package/dist-types/commands/DefineExpressionCommand.d.ts +1 -1
  9. package/dist-types/commands/DefineIndexFieldCommand.d.ts +3 -3
  10. package/dist-types/commands/DefineSuggesterCommand.d.ts +3 -3
  11. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +3 -3
  12. package/dist-types/commands/DeleteExpressionCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteSuggesterCommand.d.ts +2 -2
  15. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +3 -3
  16. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeExpressionsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSuggestersCommand.d.ts +2 -2
  23. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +3 -3
  25. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +3 -3
  26. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +1 -1
  27. package/dist-types/extensionConfiguration.d.ts +2 -1
  28. package/dist-types/models/models_0.d.ts +116 -6
  29. package/dist-types/runtimeConfig.browser.d.ts +4 -1
  30. package/dist-types/runtimeConfig.d.ts +4 -1
  31. package/dist-types/runtimeConfig.native.d.ts +4 -1
  32. package/dist-types/runtimeExtensions.d.ts +1 -1
  33. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  34. package/dist-types/ts3.4/models/models_0.d.ts +94 -70
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  38. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  39. package/package.json +28 -28
@@ -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,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -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
+ };
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -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
  * // },