@aws-sdk/client-cloudsearch 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +91 -90
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +90 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -219
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +146 -0
- package/dist-types/models/errors.d.ts +179 -0
- package/dist-types/models/models_0.d.ts +1 -325
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +103 -0
- package/dist-types/ts3.4/models/errors.d.ts +70 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -173
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,43 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
AlgorithmicStemming,
|
|
3
|
+
AnalysisSchemeLanguage,
|
|
4
|
+
IndexFieldType,
|
|
5
|
+
OptionState,
|
|
6
|
+
PartitionInstanceType,
|
|
7
|
+
SuggesterFuzzyMatching,
|
|
8
|
+
TLSSecurityPolicy,
|
|
9
|
+
} from "./enums";
|
|
10
10
|
export interface BuildSuggestersRequest {
|
|
11
11
|
DomainName: string | undefined;
|
|
12
12
|
}
|
|
13
13
|
export interface BuildSuggestersResponse {
|
|
14
14
|
FieldNames?: string[] | undefined;
|
|
15
15
|
}
|
|
16
|
-
export declare class InternalException extends __BaseException {
|
|
17
|
-
readonly name: "InternalException";
|
|
18
|
-
readonly $fault: "server";
|
|
19
|
-
Code?: string | undefined;
|
|
20
|
-
Message?: string | undefined;
|
|
21
|
-
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
22
|
-
}
|
|
23
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
24
|
-
readonly name: "ResourceNotFoundException";
|
|
25
|
-
readonly $fault: "client";
|
|
26
|
-
Code?: string | undefined;
|
|
27
|
-
Message?: string | undefined;
|
|
28
|
-
constructor(
|
|
29
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
export declare class ValidationException extends __BaseException {
|
|
33
|
-
readonly name: "ValidationException";
|
|
34
|
-
readonly $fault: "client";
|
|
35
|
-
Code?: string | undefined;
|
|
36
|
-
Message?: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
16
|
export interface CreateDomainRequest {
|
|
42
17
|
DomainName: string | undefined;
|
|
43
18
|
}
|
|
@@ -66,32 +41,6 @@ export interface DomainStatus {
|
|
|
66
41
|
export interface CreateDomainResponse {
|
|
67
42
|
DomainStatus?: DomainStatus | undefined;
|
|
68
43
|
}
|
|
69
|
-
export declare class LimitExceededException extends __BaseException {
|
|
70
|
-
readonly name: "LimitExceededException";
|
|
71
|
-
readonly $fault: "client";
|
|
72
|
-
Code?: string | undefined;
|
|
73
|
-
Message?: string | undefined;
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
79
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
80
|
-
readonly $fault: "client";
|
|
81
|
-
Code?: string | undefined;
|
|
82
|
-
Message?: string | undefined;
|
|
83
|
-
constructor(
|
|
84
|
-
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
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];
|
|
95
44
|
export interface AnalysisOptions {
|
|
96
45
|
Synonyms?: string | undefined;
|
|
97
46
|
Stopwords?: string | undefined;
|
|
@@ -99,45 +48,6 @@ export interface AnalysisOptions {
|
|
|
99
48
|
JapaneseTokenizationDictionary?: string | undefined;
|
|
100
49
|
AlgorithmicStemming?: AlgorithmicStemming | undefined;
|
|
101
50
|
}
|
|
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
|
-
};
|
|
139
|
-
export type AnalysisSchemeLanguage =
|
|
140
|
-
(typeof AnalysisSchemeLanguage)[keyof typeof AnalysisSchemeLanguage];
|
|
141
51
|
export interface AnalysisScheme {
|
|
142
52
|
AnalysisSchemeName: string | undefined;
|
|
143
53
|
AnalysisSchemeLanguage: AnalysisSchemeLanguage | undefined;
|
|
@@ -147,13 +57,6 @@ export interface DefineAnalysisSchemeRequest {
|
|
|
147
57
|
DomainName: string | undefined;
|
|
148
58
|
AnalysisScheme: AnalysisScheme | undefined;
|
|
149
59
|
}
|
|
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];
|
|
157
60
|
export interface OptionStatus {
|
|
158
61
|
CreationDate: Date | undefined;
|
|
159
62
|
UpdateDate: Date | undefined;
|
|
@@ -168,15 +71,6 @@ export interface AnalysisSchemeStatus {
|
|
|
168
71
|
export interface DefineAnalysisSchemeResponse {
|
|
169
72
|
AnalysisScheme: AnalysisSchemeStatus | undefined;
|
|
170
73
|
}
|
|
171
|
-
export declare class InvalidTypeException extends __BaseException {
|
|
172
|
-
readonly name: "InvalidTypeException";
|
|
173
|
-
readonly $fault: "client";
|
|
174
|
-
Code?: string | undefined;
|
|
175
|
-
Message?: string | undefined;
|
|
176
|
-
constructor(
|
|
177
|
-
opts: __ExceptionOptionType<InvalidTypeException, __BaseException>
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
74
|
export interface Expression {
|
|
181
75
|
ExpressionName: string | undefined;
|
|
182
76
|
ExpressionValue: string | undefined;
|
|
@@ -222,21 +116,6 @@ export interface DoubleOptions {
|
|
|
222
116
|
ReturnEnabled?: boolean | undefined;
|
|
223
117
|
SortEnabled?: boolean | undefined;
|
|
224
118
|
}
|
|
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
|
-
};
|
|
238
|
-
export type IndexFieldType =
|
|
239
|
-
(typeof IndexFieldType)[keyof typeof IndexFieldType];
|
|
240
119
|
export interface IntArrayOptions {
|
|
241
120
|
DefaultValue?: number | undefined;
|
|
242
121
|
SourceFields?: string | undefined;
|
|
@@ -316,13 +195,6 @@ export interface IndexFieldStatus {
|
|
|
316
195
|
export interface DefineIndexFieldResponse {
|
|
317
196
|
IndexField: IndexFieldStatus | undefined;
|
|
318
197
|
}
|
|
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];
|
|
326
198
|
export interface DocumentSuggesterOptions {
|
|
327
199
|
SourceField: string | undefined;
|
|
328
200
|
FuzzyMatching?: SuggesterFuzzyMatching | undefined;
|
|
@@ -396,25 +268,10 @@ export interface AvailabilityOptionsStatus {
|
|
|
396
268
|
export interface DescribeAvailabilityOptionsResponse {
|
|
397
269
|
AvailabilityOptions?: AvailabilityOptionsStatus | undefined;
|
|
398
270
|
}
|
|
399
|
-
export declare class DisabledOperationException extends __BaseException {
|
|
400
|
-
readonly name: "DisabledOperationException";
|
|
401
|
-
readonly $fault: "client";
|
|
402
|
-
Code?: string | undefined;
|
|
403
|
-
Message?: string | undefined;
|
|
404
|
-
constructor(
|
|
405
|
-
opts: __ExceptionOptionType<DisabledOperationException, __BaseException>
|
|
406
|
-
);
|
|
407
|
-
}
|
|
408
271
|
export interface DescribeDomainEndpointOptionsRequest {
|
|
409
272
|
DomainName: string | undefined;
|
|
410
273
|
Deployed?: boolean | undefined;
|
|
411
274
|
}
|
|
412
|
-
export declare const TLSSecurityPolicy: {
|
|
413
|
-
readonly POLICY_MIN_TLS_1_0_2019_07: "Policy-Min-TLS-1-0-2019-07";
|
|
414
|
-
readonly POLICY_MIN_TLS_1_2_2019_07: "Policy-Min-TLS-1-2-2019-07";
|
|
415
|
-
};
|
|
416
|
-
export type TLSSecurityPolicy =
|
|
417
|
-
(typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
|
|
418
275
|
export interface DomainEndpointOptions {
|
|
419
276
|
EnforceHTTPS?: boolean | undefined;
|
|
420
277
|
TLSSecurityPolicy?: TLSSecurityPolicy | undefined;
|
|
@@ -451,27 +308,6 @@ export interface DescribeIndexFieldsResponse {
|
|
|
451
308
|
export interface DescribeScalingParametersRequest {
|
|
452
309
|
DomainName: string | undefined;
|
|
453
310
|
}
|
|
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
|
-
};
|
|
473
|
-
export type PartitionInstanceType =
|
|
474
|
-
(typeof PartitionInstanceType)[keyof typeof PartitionInstanceType];
|
|
475
311
|
export interface ScalingParameters {
|
|
476
312
|
DesiredInstanceType?: PartitionInstanceType | undefined;
|
|
477
313
|
DesiredReplicationCount?: number | undefined;
|
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.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudsearch",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|