@aws-sdk/client-cloudsearch-domain 3.987.0 → 3.989.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 +22 -273
- package/dist-cjs/models/CloudSearchDomainServiceException.js +12 -0
- package/dist-cjs/models/errors.js +32 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +228 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +27 -21
- package/dist-types/schemas/schemas_0.d.ts +10 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -3
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var CloudSearchDomainServiceException = require('./models/CloudSearchDomainServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,251 +113,6 @@ class CloudSearchDomainClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class CloudSearchDomainServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, CloudSearchDomainServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class SearchException extends CloudSearchDomainServiceException {
|
|
121
|
-
name = "SearchException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "SearchException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, SearchException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class DocumentServiceException extends CloudSearchDomainServiceException {
|
|
133
|
-
name = "DocumentServiceException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
status;
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "DocumentServiceException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
Object.setPrototypeOf(this, DocumentServiceException.prototype);
|
|
143
|
-
this.status = opts.status;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
const _B = "Blob";
|
|
148
|
-
const _BI = "BucketInfo";
|
|
149
|
-
const _BL = "BucketList";
|
|
150
|
-
const _Bu = "Bucket";
|
|
151
|
-
const _CT = "Content-Type";
|
|
152
|
-
const _DSE = "DocumentServiceException";
|
|
153
|
-
const _DSW = "DocumentServiceWarning";
|
|
154
|
-
const _DSWo = "DocumentServiceWarnings";
|
|
155
|
-
const _F = "Fields";
|
|
156
|
-
const _FS = "FieldStats";
|
|
157
|
-
const _Fa = "Facets";
|
|
158
|
-
const _H = "Hit";
|
|
159
|
-
const _HL = "HitList";
|
|
160
|
-
const _Hi = "Hits";
|
|
161
|
-
const _S = "Suggestions";
|
|
162
|
-
const _SE = "SearchException";
|
|
163
|
-
const _SM = "SuggestionMatch";
|
|
164
|
-
const _SMu = "SuggestModel";
|
|
165
|
-
const _SR = "SearchRequest";
|
|
166
|
-
const _SRe = "SearchResponse";
|
|
167
|
-
const _SRu = "SuggestRequest";
|
|
168
|
-
const _SRug = "SuggestResponse";
|
|
169
|
-
const _SS = "SearchStatus";
|
|
170
|
-
const _SSu = "SuggestStatus";
|
|
171
|
-
const _Se = "Search";
|
|
172
|
-
const _St = "Stats";
|
|
173
|
-
const _Su = "Suggest";
|
|
174
|
-
const _UD = "UploadDocuments";
|
|
175
|
-
const _UDR = "UploadDocumentsRequest";
|
|
176
|
-
const _UDRp = "UploadDocumentsResponse";
|
|
177
|
-
const _a = "adds";
|
|
178
|
-
const _b = "buckets";
|
|
179
|
-
const _c = "count";
|
|
180
|
-
const _cT = "contentType";
|
|
181
|
-
const _cl = "client";
|
|
182
|
-
const _cu = "cursor";
|
|
183
|
-
const _d = "documents";
|
|
184
|
-
const _de = "deletes";
|
|
185
|
-
const _e = "error";
|
|
186
|
-
const _ex = "exprs";
|
|
187
|
-
const _exp = "expr";
|
|
188
|
-
const _f = "fields";
|
|
189
|
-
const _fQ = "filterQuery";
|
|
190
|
-
const _fa = "facet";
|
|
191
|
-
const _fac = "facets";
|
|
192
|
-
const _fo = "found";
|
|
193
|
-
const _fq = "fq";
|
|
194
|
-
const _h = "highlights";
|
|
195
|
-
const _hH = "httpHeader";
|
|
196
|
-
const _hQ = "httpQuery";
|
|
197
|
-
const _hi = "hit";
|
|
198
|
-
const _hig = "highlight";
|
|
199
|
-
const _hit = "hits";
|
|
200
|
-
const _ht = "http";
|
|
201
|
-
const _i = "id";
|
|
202
|
-
const _m = "message";
|
|
203
|
-
const _ma = "max";
|
|
204
|
-
const _me = "mean";
|
|
205
|
-
const _mi = "min";
|
|
206
|
-
const _mis = "missing";
|
|
207
|
-
const _p = "partial";
|
|
208
|
-
const _q = "query";
|
|
209
|
-
const _qO = "queryOptions";
|
|
210
|
-
const _qP = "queryParser";
|
|
211
|
-
const _q_ = "q";
|
|
212
|
-
const _qo = "q.options";
|
|
213
|
-
const _qp = "q.parser";
|
|
214
|
-
const _r = "return";
|
|
215
|
-
const _ri = "rid";
|
|
216
|
-
const _s = "streaming";
|
|
217
|
-
const _sOS = "sumOfSquares";
|
|
218
|
-
const _sc = "score";
|
|
219
|
-
const _si = "size";
|
|
220
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearchdomain";
|
|
221
|
-
const _so = "sort";
|
|
222
|
-
const _st = "status";
|
|
223
|
-
const _sta = "start";
|
|
224
|
-
const _stat = "stats";
|
|
225
|
-
const _std = "stddev";
|
|
226
|
-
const _su = "sum";
|
|
227
|
-
const _sug = "suggestion";
|
|
228
|
-
const _sugg = "suggestions";
|
|
229
|
-
const _sugge = "suggester";
|
|
230
|
-
const _sugges = "suggest";
|
|
231
|
-
const _t = "timems";
|
|
232
|
-
const _v = "value";
|
|
233
|
-
const _w = "warnings";
|
|
234
|
-
const n0 = "com.amazonaws.cloudsearchdomain";
|
|
235
|
-
var _Blob = [0, n0, _B, { [_s]: 1 }, 42];
|
|
236
|
-
var Bucket$ = [3, n0, _Bu,
|
|
237
|
-
0,
|
|
238
|
-
[_v, _c],
|
|
239
|
-
[0, 1]
|
|
240
|
-
];
|
|
241
|
-
var BucketInfo$ = [3, n0, _BI,
|
|
242
|
-
0,
|
|
243
|
-
[_b],
|
|
244
|
-
[() => BucketList]
|
|
245
|
-
];
|
|
246
|
-
var DocumentServiceException$ = [-3, n0, _DSE,
|
|
247
|
-
{ [_e]: _cl },
|
|
248
|
-
[_st, _m],
|
|
249
|
-
[0, 0]
|
|
250
|
-
];
|
|
251
|
-
schema.TypeRegistry.for(n0).registerError(DocumentServiceException$, DocumentServiceException);
|
|
252
|
-
var DocumentServiceWarning$ = [3, n0, _DSW,
|
|
253
|
-
0,
|
|
254
|
-
[_m],
|
|
255
|
-
[0]
|
|
256
|
-
];
|
|
257
|
-
var FieldStats$ = [3, n0, _FS,
|
|
258
|
-
0,
|
|
259
|
-
[_mi, _ma, _c, _mis, _su, _sOS, _me, _std],
|
|
260
|
-
[0, 0, 1, 1, 1, 1, 0, 1]
|
|
261
|
-
];
|
|
262
|
-
var Hit$ = [3, n0, _H,
|
|
263
|
-
0,
|
|
264
|
-
[_i, _f, _ex, _h],
|
|
265
|
-
[0, [2, n0, _F, 0, 0, 64 | 0], 128 | 0, 128 | 0]
|
|
266
|
-
];
|
|
267
|
-
var Hits$ = [3, n0, _Hi,
|
|
268
|
-
0,
|
|
269
|
-
[_fo, _sta, _cu, _hi],
|
|
270
|
-
[1, 1, 0, () => HitList]
|
|
271
|
-
];
|
|
272
|
-
var SearchException$ = [-3, n0, _SE,
|
|
273
|
-
{ [_e]: _cl },
|
|
274
|
-
[_m],
|
|
275
|
-
[0]
|
|
276
|
-
];
|
|
277
|
-
schema.TypeRegistry.for(n0).registerError(SearchException$, SearchException);
|
|
278
|
-
var SearchRequest$ = [3, n0, _SR,
|
|
279
|
-
0,
|
|
280
|
-
[_q, _cu, _exp, _fa, _fQ, _hig, _p, _qO, _qP, _r, _si, _so, _sta, _stat],
|
|
281
|
-
[[0, { [_hQ]: _q_ }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _exp }], [0, { [_hQ]: _fa }], [0, { [_hQ]: _fq }], [0, { [_hQ]: _hig }], [2, { [_hQ]: _p }], [0, { [_hQ]: _qo }], [0, { [_hQ]: _qp }], [0, { [_hQ]: _r }], [1, { [_hQ]: _si }], [0, { [_hQ]: _so }], [1, { [_hQ]: _sta }], [0, { [_hQ]: _stat }]], 1
|
|
282
|
-
];
|
|
283
|
-
var SearchResponse$ = [3, n0, _SRe,
|
|
284
|
-
0,
|
|
285
|
-
[_st, _hit, _fac, _stat],
|
|
286
|
-
[() => SearchStatus$, () => Hits$, () => Facets, () => Stats]
|
|
287
|
-
];
|
|
288
|
-
var SearchStatus$ = [3, n0, _SS,
|
|
289
|
-
0,
|
|
290
|
-
[_t, _ri],
|
|
291
|
-
[1, 0]
|
|
292
|
-
];
|
|
293
|
-
var SuggestionMatch$ = [3, n0, _SM,
|
|
294
|
-
0,
|
|
295
|
-
[_sug, _sc, _i],
|
|
296
|
-
[0, 1, 0]
|
|
297
|
-
];
|
|
298
|
-
var SuggestModel$ = [3, n0, _SMu,
|
|
299
|
-
0,
|
|
300
|
-
[_q, _fo, _sugg],
|
|
301
|
-
[0, 1, () => Suggestions]
|
|
302
|
-
];
|
|
303
|
-
var SuggestRequest$ = [3, n0, _SRu,
|
|
304
|
-
0,
|
|
305
|
-
[_q, _sugge, _si],
|
|
306
|
-
[[0, { [_hQ]: _q_ }], [0, { [_hQ]: _sugge }], [1, { [_hQ]: _si }]], 2
|
|
307
|
-
];
|
|
308
|
-
var SuggestResponse$ = [3, n0, _SRug,
|
|
309
|
-
0,
|
|
310
|
-
[_st, _sugges],
|
|
311
|
-
[() => SuggestStatus$, () => SuggestModel$]
|
|
312
|
-
];
|
|
313
|
-
var SuggestStatus$ = [3, n0, _SSu,
|
|
314
|
-
0,
|
|
315
|
-
[_t, _ri],
|
|
316
|
-
[1, 0]
|
|
317
|
-
];
|
|
318
|
-
var UploadDocumentsRequest$ = [3, n0, _UDR,
|
|
319
|
-
0,
|
|
320
|
-
[_d, _cT],
|
|
321
|
-
[[() => _Blob, 16], [0, { [_hH]: _CT }]], 2
|
|
322
|
-
];
|
|
323
|
-
var UploadDocumentsResponse$ = [3, n0, _UDRp,
|
|
324
|
-
0,
|
|
325
|
-
[_st, _a, _de, _w],
|
|
326
|
-
[0, 1, 1, () => DocumentServiceWarnings]
|
|
327
|
-
];
|
|
328
|
-
var CloudSearchDomainServiceException$ = [-3, _sm, "CloudSearchDomainServiceException", 0, [], []];
|
|
329
|
-
schema.TypeRegistry.for(_sm).registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
330
|
-
var BucketList = [1, n0, _BL,
|
|
331
|
-
0, () => Bucket$
|
|
332
|
-
];
|
|
333
|
-
var DocumentServiceWarnings = [1, n0, _DSWo,
|
|
334
|
-
0, () => DocumentServiceWarning$
|
|
335
|
-
];
|
|
336
|
-
var HitList = [1, n0, _HL,
|
|
337
|
-
0, () => Hit$
|
|
338
|
-
];
|
|
339
|
-
var Suggestions = [1, n0, _S,
|
|
340
|
-
0, () => SuggestionMatch$
|
|
341
|
-
];
|
|
342
|
-
var Facets = [2, n0, _Fa,
|
|
343
|
-
0, 0, () => BucketInfo$
|
|
344
|
-
];
|
|
345
|
-
var Stats = [2, n0, _St,
|
|
346
|
-
0, 0, () => FieldStats$
|
|
347
|
-
];
|
|
348
|
-
var Search$ = [9, n0, _Se,
|
|
349
|
-
{ [_ht]: ["GET", "/2013-01-01/search?format=sdk&pretty=true", 200] }, () => SearchRequest$, () => SearchResponse$
|
|
350
|
-
];
|
|
351
|
-
var Suggest$ = [9, n0, _Su,
|
|
352
|
-
{ [_ht]: ["GET", "/2013-01-01/suggest?format=sdk&pretty=true", 200] }, () => SuggestRequest$, () => SuggestResponse$
|
|
353
|
-
];
|
|
354
|
-
var UploadDocuments$ = [9, n0, _UD,
|
|
355
|
-
{ [_ht]: ["POST", "/2013-01-01/documents/batch?format=sdk", 200] }, () => UploadDocumentsRequest$, () => UploadDocumentsResponse$
|
|
356
|
-
];
|
|
357
|
-
|
|
358
116
|
class SearchCommand extends smithyClient.Command
|
|
359
117
|
.classBuilder()
|
|
360
118
|
.ep(commonParams)
|
|
@@ -363,7 +121,7 @@ class SearchCommand extends smithyClient.Command
|
|
|
363
121
|
})
|
|
364
122
|
.s("AmazonCloudSearch2013", "Search", {})
|
|
365
123
|
.n("CloudSearchDomainClient", "SearchCommand")
|
|
366
|
-
.sc(Search$)
|
|
124
|
+
.sc(schemas_0.Search$)
|
|
367
125
|
.build() {
|
|
368
126
|
}
|
|
369
127
|
|
|
@@ -375,7 +133,7 @@ class SuggestCommand extends smithyClient.Command
|
|
|
375
133
|
})
|
|
376
134
|
.s("AmazonCloudSearch2013", "Suggest", {})
|
|
377
135
|
.n("CloudSearchDomainClient", "SuggestCommand")
|
|
378
|
-
.sc(Suggest$)
|
|
136
|
+
.sc(schemas_0.Suggest$)
|
|
379
137
|
.build() {
|
|
380
138
|
}
|
|
381
139
|
|
|
@@ -387,7 +145,7 @@ class UploadDocumentsCommand extends smithyClient.Command
|
|
|
387
145
|
})
|
|
388
146
|
.s("AmazonCloudSearch2013", "UploadDocuments", {})
|
|
389
147
|
.n("CloudSearchDomainClient", "UploadDocumentsCommand")
|
|
390
|
-
.sc(UploadDocuments$)
|
|
148
|
+
.sc(schemas_0.UploadDocuments$)
|
|
391
149
|
.build() {
|
|
392
150
|
}
|
|
393
151
|
|
|
@@ -419,35 +177,26 @@ Object.defineProperty(exports, "__Client", {
|
|
|
419
177
|
enumerable: true,
|
|
420
178
|
get: function () { return smithyClient.Client; }
|
|
421
179
|
});
|
|
422
|
-
exports
|
|
423
|
-
|
|
180
|
+
Object.defineProperty(exports, "CloudSearchDomainServiceException", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return CloudSearchDomainServiceException.CloudSearchDomainServiceException; }
|
|
183
|
+
});
|
|
424
184
|
exports.CloudSearchDomain = CloudSearchDomain;
|
|
425
185
|
exports.CloudSearchDomainClient = CloudSearchDomainClient;
|
|
426
|
-
exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException;
|
|
427
|
-
exports.CloudSearchDomainServiceException$ = CloudSearchDomainServiceException$;
|
|
428
186
|
exports.ContentType = ContentType;
|
|
429
|
-
exports.DocumentServiceException = DocumentServiceException;
|
|
430
|
-
exports.DocumentServiceException$ = DocumentServiceException$;
|
|
431
|
-
exports.DocumentServiceWarning$ = DocumentServiceWarning$;
|
|
432
|
-
exports.FieldStats$ = FieldStats$;
|
|
433
|
-
exports.Hit$ = Hit$;
|
|
434
|
-
exports.Hits$ = Hits$;
|
|
435
187
|
exports.QueryParser = QueryParser;
|
|
436
|
-
exports.Search$ = Search$;
|
|
437
188
|
exports.SearchCommand = SearchCommand;
|
|
438
|
-
exports.SearchException = SearchException;
|
|
439
|
-
exports.SearchException$ = SearchException$;
|
|
440
|
-
exports.SearchRequest$ = SearchRequest$;
|
|
441
|
-
exports.SearchResponse$ = SearchResponse$;
|
|
442
|
-
exports.SearchStatus$ = SearchStatus$;
|
|
443
|
-
exports.Suggest$ = Suggest$;
|
|
444
189
|
exports.SuggestCommand = SuggestCommand;
|
|
445
|
-
exports.SuggestModel$ = SuggestModel$;
|
|
446
|
-
exports.SuggestRequest$ = SuggestRequest$;
|
|
447
|
-
exports.SuggestResponse$ = SuggestResponse$;
|
|
448
|
-
exports.SuggestStatus$ = SuggestStatus$;
|
|
449
|
-
exports.SuggestionMatch$ = SuggestionMatch$;
|
|
450
|
-
exports.UploadDocuments$ = UploadDocuments$;
|
|
451
190
|
exports.UploadDocumentsCommand = UploadDocumentsCommand;
|
|
452
|
-
|
|
453
|
-
exports.
|
|
191
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
192
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return schemas_0[k]; }
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
Object.keys(errors).forEach(function (k) {
|
|
198
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () { return errors[k]; }
|
|
201
|
+
});
|
|
202
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudSearchDomainServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class CloudSearchDomainServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, CloudSearchDomainServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentServiceException = exports.SearchException = void 0;
|
|
4
|
+
const CloudSearchDomainServiceException_1 = require("./CloudSearchDomainServiceException");
|
|
5
|
+
class SearchException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
|
|
6
|
+
name = "SearchException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "SearchException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, SearchException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SearchException = SearchException;
|
|
18
|
+
class DocumentServiceException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
|
|
19
|
+
name = "DocumentServiceException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
status;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "DocumentServiceException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, DocumentServiceException.prototype);
|
|
29
|
+
this.status = opts.status;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.DocumentServiceException = DocumentServiceException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2013-01-01",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.cloudsearchdomain",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
|
33
35
|
version: "2013-01-01",
|
|
34
36
|
serviceTarget: "AmazonCloudSearch2013",
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadDocuments$ = exports.Suggest$ = exports.Search$ = exports.UploadDocumentsResponse$ = exports.UploadDocumentsRequest$ = exports.SuggestStatus$ = exports.SuggestResponse$ = exports.SuggestRequest$ = exports.SuggestModel$ = exports.SuggestionMatch$ = exports.SearchStatus$ = exports.SearchResponse$ = exports.SearchRequest$ = exports.Hits$ = exports.Hit$ = exports.FieldStats$ = exports.DocumentServiceWarning$ = exports.BucketInfo$ = exports.Bucket$ = exports.errorTypeRegistries = exports.SearchException$ = exports.DocumentServiceException$ = exports.CloudSearchDomainServiceException$ = void 0;
|
|
4
|
+
const _B = "Blob";
|
|
5
|
+
const _BI = "BucketInfo";
|
|
6
|
+
const _BL = "BucketList";
|
|
7
|
+
const _Bu = "Bucket";
|
|
8
|
+
const _CT = "Content-Type";
|
|
9
|
+
const _DSE = "DocumentServiceException";
|
|
10
|
+
const _DSW = "DocumentServiceWarning";
|
|
11
|
+
const _DSWo = "DocumentServiceWarnings";
|
|
12
|
+
const _F = "Fields";
|
|
13
|
+
const _FS = "FieldStats";
|
|
14
|
+
const _Fa = "Facets";
|
|
15
|
+
const _H = "Hit";
|
|
16
|
+
const _HL = "HitList";
|
|
17
|
+
const _Hi = "Hits";
|
|
18
|
+
const _S = "Suggestions";
|
|
19
|
+
const _SE = "SearchException";
|
|
20
|
+
const _SM = "SuggestionMatch";
|
|
21
|
+
const _SMu = "SuggestModel";
|
|
22
|
+
const _SR = "SearchRequest";
|
|
23
|
+
const _SRe = "SearchResponse";
|
|
24
|
+
const _SRu = "SuggestRequest";
|
|
25
|
+
const _SRug = "SuggestResponse";
|
|
26
|
+
const _SS = "SearchStatus";
|
|
27
|
+
const _SSu = "SuggestStatus";
|
|
28
|
+
const _Se = "Search";
|
|
29
|
+
const _St = "Stats";
|
|
30
|
+
const _Su = "Suggest";
|
|
31
|
+
const _UD = "UploadDocuments";
|
|
32
|
+
const _UDR = "UploadDocumentsRequest";
|
|
33
|
+
const _UDRp = "UploadDocumentsResponse";
|
|
34
|
+
const _a = "adds";
|
|
35
|
+
const _b = "buckets";
|
|
36
|
+
const _c = "client";
|
|
37
|
+
const _cT = "contentType";
|
|
38
|
+
const _co = "count";
|
|
39
|
+
const _cu = "cursor";
|
|
40
|
+
const _d = "documents";
|
|
41
|
+
const _de = "deletes";
|
|
42
|
+
const _e = "error";
|
|
43
|
+
const _ex = "exprs";
|
|
44
|
+
const _exp = "expr";
|
|
45
|
+
const _f = "fields";
|
|
46
|
+
const _fQ = "filterQuery";
|
|
47
|
+
const _fa = "facet";
|
|
48
|
+
const _fac = "facets";
|
|
49
|
+
const _fo = "found";
|
|
50
|
+
const _fq = "fq";
|
|
51
|
+
const _h = "highlights";
|
|
52
|
+
const _hH = "httpHeader";
|
|
53
|
+
const _hQ = "httpQuery";
|
|
54
|
+
const _hi = "hit";
|
|
55
|
+
const _hig = "highlight";
|
|
56
|
+
const _hit = "hits";
|
|
57
|
+
const _ht = "http";
|
|
58
|
+
const _i = "id";
|
|
59
|
+
const _m = "message";
|
|
60
|
+
const _ma = "max";
|
|
61
|
+
const _me = "mean";
|
|
62
|
+
const _mi = "min";
|
|
63
|
+
const _mis = "missing";
|
|
64
|
+
const _p = "partial";
|
|
65
|
+
const _q = "query";
|
|
66
|
+
const _qO = "queryOptions";
|
|
67
|
+
const _qP = "queryParser";
|
|
68
|
+
const _q_ = "q";
|
|
69
|
+
const _qo = "q.options";
|
|
70
|
+
const _qp = "q.parser";
|
|
71
|
+
const _r = "return";
|
|
72
|
+
const _ri = "rid";
|
|
73
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearchdomain";
|
|
74
|
+
const _sOS = "sumOfSquares";
|
|
75
|
+
const _sc = "score";
|
|
76
|
+
const _si = "size";
|
|
77
|
+
const _so = "sort";
|
|
78
|
+
const _st = "status";
|
|
79
|
+
const _sta = "start";
|
|
80
|
+
const _stat = "stats";
|
|
81
|
+
const _std = "stddev";
|
|
82
|
+
const _str = "streaming";
|
|
83
|
+
const _su = "sum";
|
|
84
|
+
const _sug = "suggestion";
|
|
85
|
+
const _sugg = "suggestions";
|
|
86
|
+
const _sugge = "suggester";
|
|
87
|
+
const _sugges = "suggest";
|
|
88
|
+
const _t = "timems";
|
|
89
|
+
const _v = "value";
|
|
90
|
+
const _w = "warnings";
|
|
91
|
+
const n0 = "com.amazonaws.cloudsearchdomain";
|
|
92
|
+
const schema_1 = require("@smithy/core/schema");
|
|
93
|
+
const CloudSearchDomainServiceException_1 = require("../models/CloudSearchDomainServiceException");
|
|
94
|
+
const errors_1 = require("../models/errors");
|
|
95
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
96
|
+
exports.CloudSearchDomainServiceException$ = [-3, _s, "CloudSearchDomainServiceException", 0, [], []];
|
|
97
|
+
_s_registry.registerError(exports.CloudSearchDomainServiceException$, CloudSearchDomainServiceException_1.CloudSearchDomainServiceException);
|
|
98
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
99
|
+
exports.DocumentServiceException$ = [-3, n0, _DSE,
|
|
100
|
+
{ [_e]: _c },
|
|
101
|
+
[_st, _m],
|
|
102
|
+
[0, 0]
|
|
103
|
+
];
|
|
104
|
+
n0_registry.registerError(exports.DocumentServiceException$, errors_1.DocumentServiceException);
|
|
105
|
+
exports.SearchException$ = [-3, n0, _SE,
|
|
106
|
+
{ [_e]: _c },
|
|
107
|
+
[_m],
|
|
108
|
+
[0]
|
|
109
|
+
];
|
|
110
|
+
n0_registry.registerError(exports.SearchException$, errors_1.SearchException);
|
|
111
|
+
exports.errorTypeRegistries = [
|
|
112
|
+
_s_registry,
|
|
113
|
+
n0_registry,
|
|
114
|
+
];
|
|
115
|
+
var _Blob = [0, n0, _B, { [_str]: 1 }, 42];
|
|
116
|
+
exports.Bucket$ = [3, n0, _Bu,
|
|
117
|
+
0,
|
|
118
|
+
[_v, _co],
|
|
119
|
+
[0, 1]
|
|
120
|
+
];
|
|
121
|
+
exports.BucketInfo$ = [3, n0, _BI,
|
|
122
|
+
0,
|
|
123
|
+
[_b],
|
|
124
|
+
[() => BucketList]
|
|
125
|
+
];
|
|
126
|
+
exports.DocumentServiceWarning$ = [3, n0, _DSW,
|
|
127
|
+
0,
|
|
128
|
+
[_m],
|
|
129
|
+
[0]
|
|
130
|
+
];
|
|
131
|
+
exports.FieldStats$ = [3, n0, _FS,
|
|
132
|
+
0,
|
|
133
|
+
[_mi, _ma, _co, _mis, _su, _sOS, _me, _std],
|
|
134
|
+
[0, 0, 1, 1, 1, 1, 0, 1]
|
|
135
|
+
];
|
|
136
|
+
exports.Hit$ = [3, n0, _H,
|
|
137
|
+
0,
|
|
138
|
+
[_i, _f, _ex, _h],
|
|
139
|
+
[0, [2, n0, _F, 0, 0, 64 | 0], 128 | 0, 128 | 0]
|
|
140
|
+
];
|
|
141
|
+
exports.Hits$ = [3, n0, _Hi,
|
|
142
|
+
0,
|
|
143
|
+
[_fo, _sta, _cu, _hi],
|
|
144
|
+
[1, 1, 0, () => HitList]
|
|
145
|
+
];
|
|
146
|
+
exports.SearchRequest$ = [3, n0, _SR,
|
|
147
|
+
0,
|
|
148
|
+
[_q, _cu, _exp, _fa, _fQ, _hig, _p, _qO, _qP, _r, _si, _so, _sta, _stat],
|
|
149
|
+
[[0, { [_hQ]: _q_ }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _exp }], [0, { [_hQ]: _fa }], [0, { [_hQ]: _fq }], [0, { [_hQ]: _hig }], [2, { [_hQ]: _p }], [0, { [_hQ]: _qo }], [0, { [_hQ]: _qp }], [0, { [_hQ]: _r }], [1, { [_hQ]: _si }], [0, { [_hQ]: _so }], [1, { [_hQ]: _sta }], [0, { [_hQ]: _stat }]], 1
|
|
150
|
+
];
|
|
151
|
+
exports.SearchResponse$ = [3, n0, _SRe,
|
|
152
|
+
0,
|
|
153
|
+
[_st, _hit, _fac, _stat],
|
|
154
|
+
[() => exports.SearchStatus$, () => exports.Hits$, () => Facets, () => Stats]
|
|
155
|
+
];
|
|
156
|
+
exports.SearchStatus$ = [3, n0, _SS,
|
|
157
|
+
0,
|
|
158
|
+
[_t, _ri],
|
|
159
|
+
[1, 0]
|
|
160
|
+
];
|
|
161
|
+
exports.SuggestionMatch$ = [3, n0, _SM,
|
|
162
|
+
0,
|
|
163
|
+
[_sug, _sc, _i],
|
|
164
|
+
[0, 1, 0]
|
|
165
|
+
];
|
|
166
|
+
exports.SuggestModel$ = [3, n0, _SMu,
|
|
167
|
+
0,
|
|
168
|
+
[_q, _fo, _sugg],
|
|
169
|
+
[0, 1, () => Suggestions]
|
|
170
|
+
];
|
|
171
|
+
exports.SuggestRequest$ = [3, n0, _SRu,
|
|
172
|
+
0,
|
|
173
|
+
[_q, _sugge, _si],
|
|
174
|
+
[[0, { [_hQ]: _q_ }], [0, { [_hQ]: _sugge }], [1, { [_hQ]: _si }]], 2
|
|
175
|
+
];
|
|
176
|
+
exports.SuggestResponse$ = [3, n0, _SRug,
|
|
177
|
+
0,
|
|
178
|
+
[_st, _sugges],
|
|
179
|
+
[() => exports.SuggestStatus$, () => exports.SuggestModel$]
|
|
180
|
+
];
|
|
181
|
+
exports.SuggestStatus$ = [3, n0, _SSu,
|
|
182
|
+
0,
|
|
183
|
+
[_t, _ri],
|
|
184
|
+
[1, 0]
|
|
185
|
+
];
|
|
186
|
+
exports.UploadDocumentsRequest$ = [3, n0, _UDR,
|
|
187
|
+
0,
|
|
188
|
+
[_d, _cT],
|
|
189
|
+
[[() => _Blob, 16], [0, { [_hH]: _CT }]], 2
|
|
190
|
+
];
|
|
191
|
+
exports.UploadDocumentsResponse$ = [3, n0, _UDRp,
|
|
192
|
+
0,
|
|
193
|
+
[_st, _a, _de, _w],
|
|
194
|
+
[0, 1, 1, () => DocumentServiceWarnings]
|
|
195
|
+
];
|
|
196
|
+
var BucketList = [1, n0, _BL,
|
|
197
|
+
0, () => exports.Bucket$
|
|
198
|
+
];
|
|
199
|
+
var DocumentServiceWarnings = [1, n0, _DSWo,
|
|
200
|
+
0, () => exports.DocumentServiceWarning$
|
|
201
|
+
];
|
|
202
|
+
var FieldValue = 64 | 0;
|
|
203
|
+
var HitList = [1, n0, _HL,
|
|
204
|
+
0, () => exports.Hit$
|
|
205
|
+
];
|
|
206
|
+
var Suggestions = [1, n0, _S,
|
|
207
|
+
0, () => exports.SuggestionMatch$
|
|
208
|
+
];
|
|
209
|
+
var Exprs = 128 | 0;
|
|
210
|
+
var Facets = [2, n0, _Fa,
|
|
211
|
+
0, 0, () => exports.BucketInfo$
|
|
212
|
+
];
|
|
213
|
+
var Fields = [2, n0, _F,
|
|
214
|
+
0, 0, 64 | 0
|
|
215
|
+
];
|
|
216
|
+
var Highlights = 128 | 0;
|
|
217
|
+
var Stats = [2, n0, _St,
|
|
218
|
+
0, 0, () => exports.FieldStats$
|
|
219
|
+
];
|
|
220
|
+
exports.Search$ = [9, n0, _Se,
|
|
221
|
+
{ [_ht]: ["GET", "/2013-01-01/search?format=sdk&pretty=true", 200] }, () => exports.SearchRequest$, () => exports.SearchResponse$
|
|
222
|
+
];
|
|
223
|
+
exports.Suggest$ = [9, n0, _Su,
|
|
224
|
+
{ [_ht]: ["GET", "/2013-01-01/suggest?format=sdk&pretty=true", 200] }, () => exports.SuggestRequest$, () => exports.SuggestResponse$
|
|
225
|
+
];
|
|
226
|
+
exports.UploadDocuments$ = [9, n0, _UD,
|
|
227
|
+
{ [_ht]: ["POST", "/2013-01-01/documents/batch?format=sdk", 200] }, () => exports.UploadDocumentsRequest$, () => exports.UploadDocumentsResponse$
|
|
228
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultCloudSearchDomainHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2013-01-01",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.cloudsearchdomain",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
|
30
32
|
version: "2013-01-01",
|
|
31
33
|
serviceTarget: "AmazonCloudSearch2013",
|
|
@@ -30,9 +30,9 @@ const _UDR = "UploadDocumentsRequest";
|
|
|
30
30
|
const _UDRp = "UploadDocumentsResponse";
|
|
31
31
|
const _a = "adds";
|
|
32
32
|
const _b = "buckets";
|
|
33
|
-
const _c = "
|
|
33
|
+
const _c = "client";
|
|
34
34
|
const _cT = "contentType";
|
|
35
|
-
const
|
|
35
|
+
const _co = "count";
|
|
36
36
|
const _cu = "cursor";
|
|
37
37
|
const _d = "documents";
|
|
38
38
|
const _de = "deletes";
|
|
@@ -67,16 +67,16 @@ const _qo = "q.options";
|
|
|
67
67
|
const _qp = "q.parser";
|
|
68
68
|
const _r = "return";
|
|
69
69
|
const _ri = "rid";
|
|
70
|
-
const _s = "
|
|
70
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearchdomain";
|
|
71
71
|
const _sOS = "sumOfSquares";
|
|
72
72
|
const _sc = "score";
|
|
73
73
|
const _si = "size";
|
|
74
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudsearchdomain";
|
|
75
74
|
const _so = "sort";
|
|
76
75
|
const _st = "status";
|
|
77
76
|
const _sta = "start";
|
|
78
77
|
const _stat = "stats";
|
|
79
78
|
const _std = "stddev";
|
|
79
|
+
const _str = "streaming";
|
|
80
80
|
const _su = "sum";
|
|
81
81
|
const _sug = "suggestion";
|
|
82
82
|
const _sugg = "suggestions";
|
|
@@ -89,10 +89,30 @@ const n0 = "com.amazonaws.cloudsearchdomain";
|
|
|
89
89
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
90
|
import { CloudSearchDomainServiceException } from "../models/CloudSearchDomainServiceException";
|
|
91
91
|
import { DocumentServiceException, SearchException } from "../models/errors";
|
|
92
|
-
|
|
92
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
93
|
+
export var CloudSearchDomainServiceException$ = [-3, _s, "CloudSearchDomainServiceException", 0, [], []];
|
|
94
|
+
_s_registry.registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
95
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
96
|
+
export var DocumentServiceException$ = [-3, n0, _DSE,
|
|
97
|
+
{ [_e]: _c },
|
|
98
|
+
[_st, _m],
|
|
99
|
+
[0, 0]
|
|
100
|
+
];
|
|
101
|
+
n0_registry.registerError(DocumentServiceException$, DocumentServiceException);
|
|
102
|
+
export var SearchException$ = [-3, n0, _SE,
|
|
103
|
+
{ [_e]: _c },
|
|
104
|
+
[_m],
|
|
105
|
+
[0]
|
|
106
|
+
];
|
|
107
|
+
n0_registry.registerError(SearchException$, SearchException);
|
|
108
|
+
export const errorTypeRegistries = [
|
|
109
|
+
_s_registry,
|
|
110
|
+
n0_registry,
|
|
111
|
+
];
|
|
112
|
+
var _Blob = [0, n0, _B, { [_str]: 1 }, 42];
|
|
93
113
|
export var Bucket$ = [3, n0, _Bu,
|
|
94
114
|
0,
|
|
95
|
-
[_v,
|
|
115
|
+
[_v, _co],
|
|
96
116
|
[0, 1]
|
|
97
117
|
];
|
|
98
118
|
export var BucketInfo$ = [3, n0, _BI,
|
|
@@ -100,12 +120,6 @@ export var BucketInfo$ = [3, n0, _BI,
|
|
|
100
120
|
[_b],
|
|
101
121
|
[() => BucketList]
|
|
102
122
|
];
|
|
103
|
-
export var DocumentServiceException$ = [-3, n0, _DSE,
|
|
104
|
-
{ [_e]: _cl },
|
|
105
|
-
[_st, _m],
|
|
106
|
-
[0, 0]
|
|
107
|
-
];
|
|
108
|
-
TypeRegistry.for(n0).registerError(DocumentServiceException$, DocumentServiceException);
|
|
109
123
|
export var DocumentServiceWarning$ = [3, n0, _DSW,
|
|
110
124
|
0,
|
|
111
125
|
[_m],
|
|
@@ -113,7 +127,7 @@ export var DocumentServiceWarning$ = [3, n0, _DSW,
|
|
|
113
127
|
];
|
|
114
128
|
export var FieldStats$ = [3, n0, _FS,
|
|
115
129
|
0,
|
|
116
|
-
[_mi, _ma,
|
|
130
|
+
[_mi, _ma, _co, _mis, _su, _sOS, _me, _std],
|
|
117
131
|
[0, 0, 1, 1, 1, 1, 0, 1]
|
|
118
132
|
];
|
|
119
133
|
export var Hit$ = [3, n0, _H,
|
|
@@ -126,12 +140,6 @@ export var Hits$ = [3, n0, _Hi,
|
|
|
126
140
|
[_fo, _sta, _cu, _hi],
|
|
127
141
|
[1, 1, 0, () => HitList]
|
|
128
142
|
];
|
|
129
|
-
export var SearchException$ = [-3, n0, _SE,
|
|
130
|
-
{ [_e]: _cl },
|
|
131
|
-
[_m],
|
|
132
|
-
[0]
|
|
133
|
-
];
|
|
134
|
-
TypeRegistry.for(n0).registerError(SearchException$, SearchException);
|
|
135
143
|
export var SearchRequest$ = [3, n0, _SR,
|
|
136
144
|
0,
|
|
137
145
|
[_q, _cu, _exp, _fa, _fQ, _hig, _p, _qO, _qP, _r, _si, _so, _sta, _stat],
|
|
@@ -182,8 +190,6 @@ export var UploadDocumentsResponse$ = [3, n0, _UDRp,
|
|
|
182
190
|
[_st, _a, _de, _w],
|
|
183
191
|
[0, 1, 1, () => DocumentServiceWarnings]
|
|
184
192
|
];
|
|
185
|
-
export var CloudSearchDomainServiceException$ = [-3, _sm, "CloudSearchDomainServiceException", 0, [], []];
|
|
186
|
-
TypeRegistry.for(_sm).registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
187
193
|
var BucketList = [1, n0, _BL,
|
|
188
194
|
0, () => Bucket$
|
|
189
195
|
];
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var CloudSearchDomainServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var DocumentServiceException$: StaticErrorSchema;
|
|
5
|
+
export declare var SearchException$: StaticErrorSchema;
|
|
6
|
+
/**
|
|
7
|
+
* TypeRegistry instances containing modeled errors.
|
|
8
|
+
* @internal
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
12
|
export declare var Bucket$: StaticStructureSchema;
|
|
3
13
|
export declare var BucketInfo$: StaticStructureSchema;
|
|
4
|
-
export declare var DocumentServiceException$: StaticErrorSchema;
|
|
5
14
|
export declare var DocumentServiceWarning$: StaticStructureSchema;
|
|
6
15
|
export declare var FieldStats$: StaticStructureSchema;
|
|
7
16
|
export declare var Hit$: StaticStructureSchema;
|
|
8
17
|
export declare var Hits$: StaticStructureSchema;
|
|
9
|
-
export declare var SearchException$: StaticErrorSchema;
|
|
10
18
|
export declare var SearchRequest$: StaticStructureSchema;
|
|
11
19
|
export declare var SearchResponse$: StaticStructureSchema;
|
|
12
20
|
export declare var SearchStatus$: StaticStructureSchema;
|
|
@@ -17,7 +25,6 @@ export declare var SuggestResponse$: StaticStructureSchema;
|
|
|
17
25
|
export declare var SuggestStatus$: StaticStructureSchema;
|
|
18
26
|
export declare var UploadDocumentsRequest$: StaticStructureSchema;
|
|
19
27
|
export declare var UploadDocumentsResponse$: StaticStructureSchema;
|
|
20
|
-
export declare var CloudSearchDomainServiceException$: StaticErrorSchema;
|
|
21
28
|
export declare var Search$: StaticOperationSchema;
|
|
22
29
|
export declare var Suggest$: StaticOperationSchema;
|
|
23
30
|
export declare var UploadDocuments$: StaticOperationSchema;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var CloudSearchDomainServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var DocumentServiceException$: StaticErrorSchema;
|
|
9
|
+
export declare var SearchException$: StaticErrorSchema;
|
|
10
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
11
|
export declare var Bucket$: StaticStructureSchema;
|
|
7
12
|
export declare var BucketInfo$: StaticStructureSchema;
|
|
8
|
-
export declare var DocumentServiceException$: StaticErrorSchema;
|
|
9
13
|
export declare var DocumentServiceWarning$: StaticStructureSchema;
|
|
10
14
|
export declare var FieldStats$: StaticStructureSchema;
|
|
11
15
|
export declare var Hit$: StaticStructureSchema;
|
|
12
16
|
export declare var Hits$: StaticStructureSchema;
|
|
13
|
-
export declare var SearchException$: StaticErrorSchema;
|
|
14
17
|
export declare var SearchRequest$: StaticStructureSchema;
|
|
15
18
|
export declare var SearchResponse$: StaticStructureSchema;
|
|
16
19
|
export declare var SearchStatus$: StaticStructureSchema;
|
|
@@ -21,7 +24,6 @@ export declare var SuggestResponse$: StaticStructureSchema;
|
|
|
21
24
|
export declare var SuggestStatus$: StaticStructureSchema;
|
|
22
25
|
export declare var UploadDocumentsRequest$: StaticStructureSchema;
|
|
23
26
|
export declare var UploadDocumentsResponse$: StaticStructureSchema;
|
|
24
|
-
export declare var CloudSearchDomainServiceException$: StaticErrorSchema;
|
|
25
27
|
export declare var Search$: StaticOperationSchema;
|
|
26
28
|
export declare var Suggest$: StaticOperationSchema;
|
|
27
29
|
export declare var UploadDocuments$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudsearch-domain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudsearch Domain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudsearch-domain",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|