@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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +87 -1
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +86 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +5 -5
- package/dist-types/commands/DefineExpressionCommand.d.ts +1 -1
- package/dist-types/commands/DefineIndexFieldCommand.d.ts +3 -3
- package/dist-types/commands/DefineSuggesterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteExpressionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexFieldCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSuggesterCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeExpressionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScalingParametersCommand.d.ts +2 -2
- package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSuggestersCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateScalingParametersCommand.d.ts +3 -3
- package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +116 -6
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +94 -70
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +28 -28
|
@@ -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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
48
|
+
* // State: "RequiresIndexDocuments" || "Processing" || "Active" || "FailedToValidate", // required
|
|
49
49
|
* // PendingDeletion: true || false,
|
|
50
50
|
* // },
|
|
51
51
|
* // },
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface CloudSearchExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface CloudSearchExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
|
@@ -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 =
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
|
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 =
|
|
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>
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,10 @@ import { CloudSearchClientConfig } from "./CloudSearchClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
12
|
apiVersion: string;
|
|
10
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { CloudSearchExtensionConfiguration } from "./extensionConfiguration";
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: CloudSearchExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface CloudSearchExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -84,7 +84,14 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
84
84
|
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
|
-
export
|
|
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
|
-
|
|
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
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@smithy/
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
12
19
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
20
|
apiVersion: string;
|
|
14
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloudSearchExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(extensionConfiguration: CloudSearchExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
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.
|
|
4
|
+
"version": "3.410.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,37 +21,37 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.410.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.410.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.410.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
31
|
+
"@aws-sdk/types": "3.410.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.6",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.
|
|
46
|
-
"@smithy/protocol-http": "^
|
|
47
|
-
"@smithy/smithy-client": "^2.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
45
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
46
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
48
|
+
"@smithy/types": "^2.3.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.6",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"fast-xml-parser": "4.2.5",
|