@aws-sdk/client-cloudsearch-domain 3.952.0 → 3.954.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 +73 -51
- package/dist-cjs/runtimeConfig.shared.js +7 -1
- package/dist-es/commands/SearchCommand.js +2 -2
- package/dist-es/commands/SuggestCommand.js +2 -2
- package/dist-es/commands/UploadDocumentsCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -1
- package/dist-es/schemas/schemas_0.js +46 -46
- package/dist-types/CloudSearchDomainClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +23 -34
- package/dist-types/ts3.4/CloudSearchDomainClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -36
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class CloudSearchDomainClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class CloudSearchDomainServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, CloudSearchDomainServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class SearchException extends CloudSearchDomainServiceException {
|
|
121
121
|
name = "SearchException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,8 +128,8 @@ let SearchException$1 = class SearchException extends CloudSearchDomainServiceEx
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, SearchException.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
131
|
+
}
|
|
132
|
+
class DocumentServiceException extends CloudSearchDomainServiceException {
|
|
133
133
|
name = "DocumentServiceException";
|
|
134
134
|
$fault = "client";
|
|
135
135
|
status;
|
|
@@ -142,7 +142,7 @@ let DocumentServiceException$1 = class DocumentServiceException extends CloudSea
|
|
|
142
142
|
Object.setPrototypeOf(this, DocumentServiceException.prototype);
|
|
143
143
|
this.status = opts.status;
|
|
144
144
|
}
|
|
145
|
-
}
|
|
145
|
+
}
|
|
146
146
|
|
|
147
147
|
const _B = "Blob";
|
|
148
148
|
const _BI = "BucketInfo";
|
|
@@ -233,12 +233,12 @@ const _v = "value";
|
|
|
233
233
|
const _w = "warnings";
|
|
234
234
|
const n0 = "com.amazonaws.cloudsearchdomain";
|
|
235
235
|
var _Blob = [0, n0, _B, { [_s]: 1 }, 42];
|
|
236
|
-
var Bucket = [3, n0, _Bu, 0, [_v, _c], [0, 1]];
|
|
237
|
-
var BucketInfo = [3, n0, _BI, 0, [_b], [() => BucketList]];
|
|
238
|
-
var DocumentServiceException = [-3, n0, _DSE, { [_e]: _cl }, [_st, _m], [0, 0]];
|
|
239
|
-
schema.TypeRegistry.for(n0).registerError(DocumentServiceException
|
|
240
|
-
var DocumentServiceWarning = [3, n0, _DSW, 0, [_m], [0]];
|
|
241
|
-
var FieldStats = [
|
|
236
|
+
var Bucket$ = [3, n0, _Bu, 0, [_v, _c], [0, 1]];
|
|
237
|
+
var BucketInfo$ = [3, n0, _BI, 0, [_b], [() => BucketList]];
|
|
238
|
+
var DocumentServiceException$ = [-3, n0, _DSE, { [_e]: _cl }, [_st, _m], [0, 0]];
|
|
239
|
+
schema.TypeRegistry.for(n0).registerError(DocumentServiceException$, DocumentServiceException);
|
|
240
|
+
var DocumentServiceWarning$ = [3, n0, _DSW, 0, [_m], [0]];
|
|
241
|
+
var FieldStats$ = [
|
|
242
242
|
3,
|
|
243
243
|
n0,
|
|
244
244
|
_FS,
|
|
@@ -246,7 +246,7 @@ var FieldStats = [
|
|
|
246
246
|
[_mi, _ma, _c, _mis, _su, _sOS, _me, _std],
|
|
247
247
|
[0, 0, 1, 1, 1, 1, 0, 1],
|
|
248
248
|
];
|
|
249
|
-
var Hit = [
|
|
249
|
+
var Hit$ = [
|
|
250
250
|
3,
|
|
251
251
|
n0,
|
|
252
252
|
_H,
|
|
@@ -254,10 +254,10 @@ var Hit = [
|
|
|
254
254
|
[_i, _f, _ex, _h],
|
|
255
255
|
[0, [2, n0, _F, 0, 0, 64 | 0], 128 | 0, 128 | 0],
|
|
256
256
|
];
|
|
257
|
-
var Hits = [3, n0, _Hi, 0, [_fo, _sta, _cu, _hi], [1, 1, 0, () => HitList]];
|
|
258
|
-
var SearchException = [-3, n0, _SE, { [_e]: _cl }, [_m], [0]];
|
|
259
|
-
schema.TypeRegistry.for(n0).registerError(SearchException
|
|
260
|
-
var SearchRequest = [
|
|
257
|
+
var Hits$ = [3, n0, _Hi, 0, [_fo, _sta, _cu, _hi], [1, 1, 0, () => HitList]];
|
|
258
|
+
var SearchException$ = [-3, n0, _SE, { [_e]: _cl }, [_m], [0]];
|
|
259
|
+
schema.TypeRegistry.for(n0).registerError(SearchException$, SearchException);
|
|
260
|
+
var SearchRequest$ = [
|
|
261
261
|
3,
|
|
262
262
|
n0,
|
|
263
263
|
_SR,
|
|
@@ -280,18 +280,18 @@ var SearchRequest = [
|
|
|
280
280
|
[0, { [_hQ]: _stat }],
|
|
281
281
|
],
|
|
282
282
|
];
|
|
283
|
-
var SearchResponse = [
|
|
283
|
+
var SearchResponse$ = [
|
|
284
284
|
3,
|
|
285
285
|
n0,
|
|
286
286
|
_SRe,
|
|
287
287
|
0,
|
|
288
288
|
[_st, _hit, _fac, _stat],
|
|
289
|
-
[() => SearchStatus
|
|
289
|
+
[() => SearchStatus$, () => Hits$, () => Facets, () => Stats],
|
|
290
290
|
];
|
|
291
|
-
var SearchStatus = [3, n0, _SS, 0, [_t, _ri], [1, 0]];
|
|
292
|
-
var SuggestionMatch = [3, n0, _SM, 0, [_sug, _sc, _i], [0, 1, 0]];
|
|
293
|
-
var SuggestModel = [3, n0, _SMu, 0, [_q, _fo, _sugg], [0, 1, () => Suggestions]];
|
|
294
|
-
var SuggestRequest = [
|
|
291
|
+
var SearchStatus$ = [3, n0, _SS, 0, [_t, _ri], [1, 0]];
|
|
292
|
+
var SuggestionMatch$ = [3, n0, _SM, 0, [_sug, _sc, _i], [0, 1, 0]];
|
|
293
|
+
var SuggestModel$ = [3, n0, _SMu, 0, [_q, _fo, _sugg], [0, 1, () => Suggestions]];
|
|
294
|
+
var SuggestRequest$ = [
|
|
295
295
|
3,
|
|
296
296
|
n0,
|
|
297
297
|
_SRu,
|
|
@@ -303,16 +303,16 @@ var SuggestRequest = [
|
|
|
303
303
|
[1, { [_hQ]: _si }],
|
|
304
304
|
],
|
|
305
305
|
];
|
|
306
|
-
var SuggestResponse = [
|
|
306
|
+
var SuggestResponse$ = [
|
|
307
307
|
3,
|
|
308
308
|
n0,
|
|
309
309
|
_SRug,
|
|
310
310
|
0,
|
|
311
311
|
[_st, _sugges],
|
|
312
|
-
[() => SuggestStatus
|
|
312
|
+
[() => SuggestStatus$, () => SuggestModel$],
|
|
313
313
|
];
|
|
314
|
-
var SuggestStatus = [3, n0, _SSu, 0, [_t, _ri], [1, 0]];
|
|
315
|
-
var UploadDocumentsRequest = [
|
|
314
|
+
var SuggestStatus$ = [3, n0, _SSu, 0, [_t, _ri], [1, 0]];
|
|
315
|
+
var UploadDocumentsRequest$ = [
|
|
316
316
|
3,
|
|
317
317
|
n0,
|
|
318
318
|
_UDR,
|
|
@@ -323,7 +323,7 @@ var UploadDocumentsRequest = [
|
|
|
323
323
|
[0, { [_hH]: _CT }],
|
|
324
324
|
],
|
|
325
325
|
];
|
|
326
|
-
var UploadDocumentsResponse = [
|
|
326
|
+
var UploadDocumentsResponse$ = [
|
|
327
327
|
3,
|
|
328
328
|
n0,
|
|
329
329
|
_UDRp,
|
|
@@ -331,7 +331,7 @@ var UploadDocumentsResponse = [
|
|
|
331
331
|
[_st, _a, _de, _w],
|
|
332
332
|
[0, 1, 1, () => DocumentServiceWarnings],
|
|
333
333
|
];
|
|
334
|
-
var CloudSearchDomainServiceException = [
|
|
334
|
+
var CloudSearchDomainServiceException$ = [
|
|
335
335
|
-3,
|
|
336
336
|
_sm,
|
|
337
337
|
"CloudSearchDomainServiceException",
|
|
@@ -339,36 +339,36 @@ var CloudSearchDomainServiceException = [
|
|
|
339
339
|
[],
|
|
340
340
|
[],
|
|
341
341
|
];
|
|
342
|
-
schema.TypeRegistry.for(_sm).registerError(CloudSearchDomainServiceException
|
|
343
|
-
var BucketList = [1, n0, _BL, 0, () => Bucket];
|
|
344
|
-
var DocumentServiceWarnings = [1, n0, _DSWo, 0, () => DocumentServiceWarning];
|
|
345
|
-
var HitList = [1, n0, _HL, 0, () => Hit];
|
|
346
|
-
var Suggestions = [1, n0, _S, 0, () => SuggestionMatch];
|
|
347
|
-
var Facets = [2, n0, _Fa, 0, 0, () => BucketInfo];
|
|
348
|
-
var Stats = [2, n0, _St, 0, 0, () => FieldStats];
|
|
349
|
-
var Search = [
|
|
342
|
+
schema.TypeRegistry.for(_sm).registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
343
|
+
var BucketList = [1, n0, _BL, 0, () => Bucket$];
|
|
344
|
+
var DocumentServiceWarnings = [1, n0, _DSWo, 0, () => DocumentServiceWarning$];
|
|
345
|
+
var HitList = [1, n0, _HL, 0, () => Hit$];
|
|
346
|
+
var Suggestions = [1, n0, _S, 0, () => SuggestionMatch$];
|
|
347
|
+
var Facets = [2, n0, _Fa, 0, 0, () => BucketInfo$];
|
|
348
|
+
var Stats = [2, n0, _St, 0, 0, () => FieldStats$];
|
|
349
|
+
var Search$ = [
|
|
350
350
|
9,
|
|
351
351
|
n0,
|
|
352
352
|
_Se,
|
|
353
353
|
{ [_ht]: ["GET", "/2013-01-01/search?format=sdk&pretty=true", 200] },
|
|
354
|
-
() => SearchRequest
|
|
355
|
-
() => SearchResponse
|
|
354
|
+
() => SearchRequest$,
|
|
355
|
+
() => SearchResponse$,
|
|
356
356
|
];
|
|
357
|
-
var Suggest = [
|
|
357
|
+
var Suggest$ = [
|
|
358
358
|
9,
|
|
359
359
|
n0,
|
|
360
360
|
_Su,
|
|
361
361
|
{ [_ht]: ["GET", "/2013-01-01/suggest?format=sdk&pretty=true", 200] },
|
|
362
|
-
() => SuggestRequest
|
|
363
|
-
() => SuggestResponse
|
|
362
|
+
() => SuggestRequest$,
|
|
363
|
+
() => SuggestResponse$,
|
|
364
364
|
];
|
|
365
|
-
var UploadDocuments = [
|
|
365
|
+
var UploadDocuments$ = [
|
|
366
366
|
9,
|
|
367
367
|
n0,
|
|
368
368
|
_UD,
|
|
369
369
|
{ [_ht]: ["POST", "/2013-01-01/documents/batch?format=sdk", 200] },
|
|
370
|
-
() => UploadDocumentsRequest
|
|
371
|
-
() => UploadDocumentsResponse
|
|
370
|
+
() => UploadDocumentsRequest$,
|
|
371
|
+
() => UploadDocumentsResponse$,
|
|
372
372
|
];
|
|
373
373
|
|
|
374
374
|
class SearchCommand extends smithyClient.Command
|
|
@@ -379,7 +379,7 @@ class SearchCommand extends smithyClient.Command
|
|
|
379
379
|
})
|
|
380
380
|
.s("AmazonCloudSearch2013", "Search", {})
|
|
381
381
|
.n("CloudSearchDomainClient", "SearchCommand")
|
|
382
|
-
.sc(Search)
|
|
382
|
+
.sc(Search$)
|
|
383
383
|
.build() {
|
|
384
384
|
}
|
|
385
385
|
|
|
@@ -391,7 +391,7 @@ class SuggestCommand extends smithyClient.Command
|
|
|
391
391
|
})
|
|
392
392
|
.s("AmazonCloudSearch2013", "Suggest", {})
|
|
393
393
|
.n("CloudSearchDomainClient", "SuggestCommand")
|
|
394
|
-
.sc(Suggest)
|
|
394
|
+
.sc(Suggest$)
|
|
395
395
|
.build() {
|
|
396
396
|
}
|
|
397
397
|
|
|
@@ -403,7 +403,7 @@ class UploadDocumentsCommand extends smithyClient.Command
|
|
|
403
403
|
})
|
|
404
404
|
.s("AmazonCloudSearch2013", "UploadDocuments", {})
|
|
405
405
|
.n("CloudSearchDomainClient", "UploadDocumentsCommand")
|
|
406
|
-
.sc(UploadDocuments)
|
|
406
|
+
.sc(UploadDocuments$)
|
|
407
407
|
.build() {
|
|
408
408
|
}
|
|
409
409
|
|
|
@@ -435,13 +435,35 @@ Object.defineProperty(exports, "__Client", {
|
|
|
435
435
|
enumerable: true,
|
|
436
436
|
get: function () { return smithyClient.Client; }
|
|
437
437
|
});
|
|
438
|
+
exports.Bucket$ = Bucket$;
|
|
439
|
+
exports.BucketInfo$ = BucketInfo$;
|
|
438
440
|
exports.CloudSearchDomain = CloudSearchDomain;
|
|
439
441
|
exports.CloudSearchDomainClient = CloudSearchDomainClient;
|
|
440
|
-
exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException
|
|
442
|
+
exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException;
|
|
443
|
+
exports.CloudSearchDomainServiceException$ = CloudSearchDomainServiceException$;
|
|
441
444
|
exports.ContentType = ContentType;
|
|
442
|
-
exports.DocumentServiceException = DocumentServiceException
|
|
445
|
+
exports.DocumentServiceException = DocumentServiceException;
|
|
446
|
+
exports.DocumentServiceException$ = DocumentServiceException$;
|
|
447
|
+
exports.DocumentServiceWarning$ = DocumentServiceWarning$;
|
|
448
|
+
exports.FieldStats$ = FieldStats$;
|
|
449
|
+
exports.Hit$ = Hit$;
|
|
450
|
+
exports.Hits$ = Hits$;
|
|
443
451
|
exports.QueryParser = QueryParser;
|
|
452
|
+
exports.Search$ = Search$;
|
|
444
453
|
exports.SearchCommand = SearchCommand;
|
|
445
|
-
exports.SearchException = SearchException
|
|
454
|
+
exports.SearchException = SearchException;
|
|
455
|
+
exports.SearchException$ = SearchException$;
|
|
456
|
+
exports.SearchRequest$ = SearchRequest$;
|
|
457
|
+
exports.SearchResponse$ = SearchResponse$;
|
|
458
|
+
exports.SearchStatus$ = SearchStatus$;
|
|
459
|
+
exports.Suggest$ = Suggest$;
|
|
446
460
|
exports.SuggestCommand = SuggestCommand;
|
|
461
|
+
exports.SuggestModel$ = SuggestModel$;
|
|
462
|
+
exports.SuggestRequest$ = SuggestRequest$;
|
|
463
|
+
exports.SuggestResponse$ = SuggestResponse$;
|
|
464
|
+
exports.SuggestStatus$ = SuggestStatus$;
|
|
465
|
+
exports.SuggestionMatch$ = SuggestionMatch$;
|
|
466
|
+
exports.UploadDocuments$ = UploadDocuments$;
|
|
447
467
|
exports.UploadDocumentsCommand = UploadDocumentsCommand;
|
|
468
|
+
exports.UploadDocumentsRequest$ = UploadDocumentsRequest$;
|
|
469
|
+
exports.UploadDocumentsResponse$ = UploadDocumentsResponse$;
|
|
@@ -26,7 +26,13 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.cloudsearchdomain",
|
|
32
|
+
xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
|
33
|
+
version: "2013-01-01",
|
|
34
|
+
serviceTarget: "AmazonCloudSearch2013",
|
|
35
|
+
},
|
|
30
36
|
serviceId: config?.serviceId ?? "CloudSearch Domain",
|
|
31
37
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
38
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Search } from "../schemas/schemas_0";
|
|
4
|
+
import { Search$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SearchCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SearchCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonCloudSearch2013", "Search", {})
|
|
13
13
|
.n("CloudSearchDomainClient", "SearchCommand")
|
|
14
|
-
.sc(Search)
|
|
14
|
+
.sc(Search$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Suggest } from "../schemas/schemas_0";
|
|
4
|
+
import { Suggest$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SuggestCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SuggestCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonCloudSearch2013", "Suggest", {})
|
|
13
13
|
.n("CloudSearchDomainClient", "SuggestCommand")
|
|
14
|
-
.sc(Suggest)
|
|
14
|
+
.sc(Suggest$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UploadDocuments } from "../schemas/schemas_0";
|
|
4
|
+
import { UploadDocuments$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UploadDocumentsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UploadDocumentsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonCloudSearch2013", "UploadDocuments", {})
|
|
13
13
|
.n("CloudSearchDomainClient", "UploadDocumentsCommand")
|
|
14
|
-
.sc(UploadDocuments)
|
|
14
|
+
.sc(UploadDocuments$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CloudSearchDomainClient";
|
|
2
2
|
export * from "./CloudSearchDomain";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { CloudSearchDomainServiceException } from "./models/CloudSearchDomainServiceException";
|
|
@@ -23,7 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudsearchdomain",
|
|
29
|
+
xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
|
30
|
+
version: "2013-01-01",
|
|
31
|
+
serviceTarget: "AmazonCloudSearch2013",
|
|
32
|
+
},
|
|
27
33
|
serviceId: config?.serviceId ?? "CloudSearch Domain",
|
|
28
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -87,15 +87,15 @@ const _v = "value";
|
|
|
87
87
|
const _w = "warnings";
|
|
88
88
|
const n0 = "com.amazonaws.cloudsearchdomain";
|
|
89
89
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
|
-
import { CloudSearchDomainServiceException
|
|
91
|
-
import { DocumentServiceException
|
|
92
|
-
|
|
93
|
-
export var Bucket = [3, n0, _Bu, 0, [_v, _c], [0, 1]];
|
|
94
|
-
export var BucketInfo = [3, n0, _BI, 0, [_b], [() => BucketList]];
|
|
95
|
-
export var DocumentServiceException = [-3, n0, _DSE, { [_e]: _cl }, [_st, _m], [0, 0]];
|
|
96
|
-
TypeRegistry.for(n0).registerError(DocumentServiceException
|
|
97
|
-
export var DocumentServiceWarning = [3, n0, _DSW, 0, [_m], [0]];
|
|
98
|
-
export var FieldStats = [
|
|
90
|
+
import { CloudSearchDomainServiceException } from "../models/CloudSearchDomainServiceException";
|
|
91
|
+
import { DocumentServiceException, SearchException } from "../models/errors";
|
|
92
|
+
var _Blob = [0, n0, _B, { [_s]: 1 }, 42];
|
|
93
|
+
export var Bucket$ = [3, n0, _Bu, 0, [_v, _c], [0, 1]];
|
|
94
|
+
export var BucketInfo$ = [3, n0, _BI, 0, [_b], [() => BucketList]];
|
|
95
|
+
export var DocumentServiceException$ = [-3, n0, _DSE, { [_e]: _cl }, [_st, _m], [0, 0]];
|
|
96
|
+
TypeRegistry.for(n0).registerError(DocumentServiceException$, DocumentServiceException);
|
|
97
|
+
export var DocumentServiceWarning$ = [3, n0, _DSW, 0, [_m], [0]];
|
|
98
|
+
export var FieldStats$ = [
|
|
99
99
|
3,
|
|
100
100
|
n0,
|
|
101
101
|
_FS,
|
|
@@ -103,7 +103,7 @@ export var FieldStats = [
|
|
|
103
103
|
[_mi, _ma, _c, _mis, _su, _sOS, _me, _std],
|
|
104
104
|
[0, 0, 1, 1, 1, 1, 0, 1],
|
|
105
105
|
];
|
|
106
|
-
export var Hit = [
|
|
106
|
+
export var Hit$ = [
|
|
107
107
|
3,
|
|
108
108
|
n0,
|
|
109
109
|
_H,
|
|
@@ -111,10 +111,10 @@ export var Hit = [
|
|
|
111
111
|
[_i, _f, _ex, _h],
|
|
112
112
|
[0, [2, n0, _F, 0, 0, 64 | 0], 128 | 0, 128 | 0],
|
|
113
113
|
];
|
|
114
|
-
export var Hits = [3, n0, _Hi, 0, [_fo, _sta, _cu, _hi], [1, 1, 0, () => HitList]];
|
|
115
|
-
export var SearchException = [-3, n0, _SE, { [_e]: _cl }, [_m], [0]];
|
|
116
|
-
TypeRegistry.for(n0).registerError(SearchException
|
|
117
|
-
export var SearchRequest = [
|
|
114
|
+
export var Hits$ = [3, n0, _Hi, 0, [_fo, _sta, _cu, _hi], [1, 1, 0, () => HitList]];
|
|
115
|
+
export var SearchException$ = [-3, n0, _SE, { [_e]: _cl }, [_m], [0]];
|
|
116
|
+
TypeRegistry.for(n0).registerError(SearchException$, SearchException);
|
|
117
|
+
export var SearchRequest$ = [
|
|
118
118
|
3,
|
|
119
119
|
n0,
|
|
120
120
|
_SR,
|
|
@@ -137,18 +137,18 @@ export var SearchRequest = [
|
|
|
137
137
|
[0, { [_hQ]: _stat }],
|
|
138
138
|
],
|
|
139
139
|
];
|
|
140
|
-
export var SearchResponse = [
|
|
140
|
+
export var SearchResponse$ = [
|
|
141
141
|
3,
|
|
142
142
|
n0,
|
|
143
143
|
_SRe,
|
|
144
144
|
0,
|
|
145
145
|
[_st, _hit, _fac, _stat],
|
|
146
|
-
[() => SearchStatus
|
|
146
|
+
[() => SearchStatus$, () => Hits$, () => Facets, () => Stats],
|
|
147
147
|
];
|
|
148
|
-
export var SearchStatus = [3, n0, _SS, 0, [_t, _ri], [1, 0]];
|
|
149
|
-
export var SuggestionMatch = [3, n0, _SM, 0, [_sug, _sc, _i], [0, 1, 0]];
|
|
150
|
-
export var SuggestModel = [3, n0, _SMu, 0, [_q, _fo, _sugg], [0, 1, () => Suggestions]];
|
|
151
|
-
export var SuggestRequest = [
|
|
148
|
+
export var SearchStatus$ = [3, n0, _SS, 0, [_t, _ri], [1, 0]];
|
|
149
|
+
export var SuggestionMatch$ = [3, n0, _SM, 0, [_sug, _sc, _i], [0, 1, 0]];
|
|
150
|
+
export var SuggestModel$ = [3, n0, _SMu, 0, [_q, _fo, _sugg], [0, 1, () => Suggestions]];
|
|
151
|
+
export var SuggestRequest$ = [
|
|
152
152
|
3,
|
|
153
153
|
n0,
|
|
154
154
|
_SRu,
|
|
@@ -160,16 +160,16 @@ export var SuggestRequest = [
|
|
|
160
160
|
[1, { [_hQ]: _si }],
|
|
161
161
|
],
|
|
162
162
|
];
|
|
163
|
-
export var SuggestResponse = [
|
|
163
|
+
export var SuggestResponse$ = [
|
|
164
164
|
3,
|
|
165
165
|
n0,
|
|
166
166
|
_SRug,
|
|
167
167
|
0,
|
|
168
168
|
[_st, _sugges],
|
|
169
|
-
[() => SuggestStatus
|
|
169
|
+
[() => SuggestStatus$, () => SuggestModel$],
|
|
170
170
|
];
|
|
171
|
-
export var SuggestStatus = [3, n0, _SSu, 0, [_t, _ri], [1, 0]];
|
|
172
|
-
export var UploadDocumentsRequest = [
|
|
171
|
+
export var SuggestStatus$ = [3, n0, _SSu, 0, [_t, _ri], [1, 0]];
|
|
172
|
+
export var UploadDocumentsRequest$ = [
|
|
173
173
|
3,
|
|
174
174
|
n0,
|
|
175
175
|
_UDR,
|
|
@@ -180,7 +180,7 @@ export var UploadDocumentsRequest = [
|
|
|
180
180
|
[0, { [_hH]: _CT }],
|
|
181
181
|
],
|
|
182
182
|
];
|
|
183
|
-
export var UploadDocumentsResponse = [
|
|
183
|
+
export var UploadDocumentsResponse$ = [
|
|
184
184
|
3,
|
|
185
185
|
n0,
|
|
186
186
|
_UDRp,
|
|
@@ -188,7 +188,7 @@ export var UploadDocumentsResponse = [
|
|
|
188
188
|
[_st, _a, _de, _w],
|
|
189
189
|
[0, 1, 1, () => DocumentServiceWarnings],
|
|
190
190
|
];
|
|
191
|
-
export var CloudSearchDomainServiceException = [
|
|
191
|
+
export var CloudSearchDomainServiceException$ = [
|
|
192
192
|
-3,
|
|
193
193
|
_sm,
|
|
194
194
|
"CloudSearchDomainServiceException",
|
|
@@ -196,38 +196,38 @@ export var CloudSearchDomainServiceException = [
|
|
|
196
196
|
[],
|
|
197
197
|
[],
|
|
198
198
|
];
|
|
199
|
-
TypeRegistry.for(_sm).registerError(CloudSearchDomainServiceException
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
export var Search = [
|
|
199
|
+
TypeRegistry.for(_sm).registerError(CloudSearchDomainServiceException$, CloudSearchDomainServiceException);
|
|
200
|
+
var BucketList = [1, n0, _BL, 0, () => Bucket$];
|
|
201
|
+
var DocumentServiceWarnings = [1, n0, _DSWo, 0, () => DocumentServiceWarning$];
|
|
202
|
+
var FieldValue = 64 | 0;
|
|
203
|
+
var HitList = [1, n0, _HL, 0, () => Hit$];
|
|
204
|
+
var Suggestions = [1, n0, _S, 0, () => SuggestionMatch$];
|
|
205
|
+
var Exprs = 128 | 0;
|
|
206
|
+
var Facets = [2, n0, _Fa, 0, 0, () => BucketInfo$];
|
|
207
|
+
var Fields = [2, n0, _F, 0, 0, 64 | 0];
|
|
208
|
+
var Highlights = 128 | 0;
|
|
209
|
+
var Stats = [2, n0, _St, 0, 0, () => FieldStats$];
|
|
210
|
+
export var Search$ = [
|
|
211
211
|
9,
|
|
212
212
|
n0,
|
|
213
213
|
_Se,
|
|
214
214
|
{ [_ht]: ["GET", "/2013-01-01/search?format=sdk&pretty=true", 200] },
|
|
215
|
-
() => SearchRequest
|
|
216
|
-
() => SearchResponse
|
|
215
|
+
() => SearchRequest$,
|
|
216
|
+
() => SearchResponse$,
|
|
217
217
|
];
|
|
218
|
-
export var Suggest = [
|
|
218
|
+
export var Suggest$ = [
|
|
219
219
|
9,
|
|
220
220
|
n0,
|
|
221
221
|
_Su,
|
|
222
222
|
{ [_ht]: ["GET", "/2013-01-01/suggest?format=sdk&pretty=true", 200] },
|
|
223
|
-
() => SuggestRequest
|
|
224
|
-
() => SuggestResponse
|
|
223
|
+
() => SuggestRequest$,
|
|
224
|
+
() => SuggestResponse$,
|
|
225
225
|
];
|
|
226
|
-
export var UploadDocuments = [
|
|
226
|
+
export var UploadDocuments$ = [
|
|
227
227
|
9,
|
|
228
228
|
n0,
|
|
229
229
|
_UD,
|
|
230
230
|
{ [_ht]: ["POST", "/2013-01-01/documents/batch?format=sdk", 200] },
|
|
231
|
-
() => UploadDocumentsRequest
|
|
232
|
-
() => UploadDocumentsResponse
|
|
231
|
+
() => UploadDocumentsRequest$,
|
|
232
|
+
() => UploadDocumentsResponse$,
|
|
233
233
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { SearchCommandInput, SearchCommandOutput } from "./commands/SearchCommand";
|
|
11
11
|
import { SuggestCommandInput, SuggestCommandOutput } from "./commands/SuggestCommand";
|
|
@@ -144,15 +144,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
144
144
|
* Optional extensions
|
|
145
145
|
*/
|
|
146
146
|
extensions?: RuntimeExtension[];
|
|
147
|
-
/**
|
|
148
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
149
|
-
* may be overridden. A default will always be set by the client.
|
|
150
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
151
|
-
* the client.
|
|
152
|
-
* @alpha
|
|
153
|
-
*
|
|
154
|
-
*/
|
|
155
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
156
147
|
/**
|
|
157
148
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
158
149
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
12
12
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
13
13
|
export type { CloudSearchDomainExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
|
+
export * from "./schemas/schemas_0";
|
|
15
16
|
export * from "./models/enums";
|
|
16
17
|
export * from "./models/errors";
|
|
17
18
|
export type * from "./models/models_0";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { CloudSearchDomainClientConfig } from "./CloudSearchDomainClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: CloudSearchDomainClientConfig) =
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudSearchDomainHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,34 +1,23 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var
|
|
3
|
-
export declare var
|
|
4
|
-
export declare var
|
|
5
|
-
export declare var
|
|
6
|
-
export declare var
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var FieldValue: number;
|
|
25
|
-
export declare var HitList: StaticListSchema;
|
|
26
|
-
export declare var Suggestions: StaticListSchema;
|
|
27
|
-
export declare var Exprs: number;
|
|
28
|
-
export declare var Facets: StaticMapSchema;
|
|
29
|
-
export declare var Fields: StaticMapSchema;
|
|
30
|
-
export declare var Highlights: number;
|
|
31
|
-
export declare var Stats: StaticMapSchema;
|
|
32
|
-
export declare var Search: StaticOperationSchema;
|
|
33
|
-
export declare var Suggest: StaticOperationSchema;
|
|
34
|
-
export declare var UploadDocuments: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var Bucket$: StaticStructureSchema;
|
|
3
|
+
export declare var BucketInfo$: StaticStructureSchema;
|
|
4
|
+
export declare var DocumentServiceException$: StaticErrorSchema;
|
|
5
|
+
export declare var DocumentServiceWarning$: StaticStructureSchema;
|
|
6
|
+
export declare var FieldStats$: StaticStructureSchema;
|
|
7
|
+
export declare var Hit$: StaticStructureSchema;
|
|
8
|
+
export declare var Hits$: StaticStructureSchema;
|
|
9
|
+
export declare var SearchException$: StaticErrorSchema;
|
|
10
|
+
export declare var SearchRequest$: StaticStructureSchema;
|
|
11
|
+
export declare var SearchResponse$: StaticStructureSchema;
|
|
12
|
+
export declare var SearchStatus$: StaticStructureSchema;
|
|
13
|
+
export declare var SuggestionMatch$: StaticStructureSchema;
|
|
14
|
+
export declare var SuggestModel$: StaticStructureSchema;
|
|
15
|
+
export declare var SuggestRequest$: StaticStructureSchema;
|
|
16
|
+
export declare var SuggestResponse$: StaticStructureSchema;
|
|
17
|
+
export declare var SuggestStatus$: StaticStructureSchema;
|
|
18
|
+
export declare var UploadDocumentsRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var UploadDocumentsResponse$: StaticStructureSchema;
|
|
20
|
+
export declare var CloudSearchDomainServiceException$: StaticErrorSchema;
|
|
21
|
+
export declare var Search$: StaticOperationSchema;
|
|
22
|
+
export declare var Suggest$: StaticOperationSchema;
|
|
23
|
+
export declare var UploadDocuments$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -99,7 +96,6 @@ export interface ClientDefaults
|
|
|
99
96
|
retryMode?: string | __Provider<string>;
|
|
100
97
|
logger?: __Logger;
|
|
101
98
|
extensions?: RuntimeExtension[];
|
|
102
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
103
99
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
104
100
|
}
|
|
105
101
|
export type CloudSearchDomainClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { CloudSearchDomainExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
29
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
30
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
|
-
apiVersion: string;
|
|
32
31
|
cacheMiddleware?: boolean | undefined;
|
|
32
|
+
protocol:
|
|
33
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
33
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
profile?: string;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
userAgentAppId?:
|
|
49
53
|
| string
|
|
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
30
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
31
|
-
apiVersion: string;
|
|
32
31
|
cacheMiddleware?: boolean | undefined;
|
|
32
|
+
protocol:
|
|
33
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
33
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
profile?: string;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
retryStrategy?:
|
|
49
53
|
| import("@smithy/types").RetryStrategy
|
|
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
10
|
| Record<string, unknown>
|
|
11
11
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
|
-
apiVersion: string;
|
|
14
13
|
cacheMiddleware?: boolean;
|
|
14
|
+
protocol:
|
|
15
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
16
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
17
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
18
|
+
protocolSettings: {
|
|
19
|
+
defaultNamespace?: string;
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
apiVersion: string;
|
|
15
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
16
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
25
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
|
|
|
39
47
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
40
48
|
logger: import("@smithy/types").Logger;
|
|
41
49
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
42
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
43
|
-
import("@smithy/types").HttpRequest,
|
|
44
|
-
import("@smithy/types").HttpResponse
|
|
45
|
-
>;
|
|
46
50
|
defaultsMode:
|
|
47
51
|
| import("@smithy/smithy-client").DefaultsMode
|
|
48
52
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { CloudSearchDomainClientConfig } from "./CloudSearchDomainClient";
|
|
2
3
|
export declare const getRuntimeConfig: (
|
|
3
4
|
config: CloudSearchDomainClientConfig
|
|
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
|
|
|
16
17
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudSearchDomainHttpAuthSchemeProvider;
|
|
17
18
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
19
|
logger: import("@smithy/types").Logger;
|
|
19
|
-
protocol:
|
|
20
|
-
import("@smithy/types").
|
|
21
|
-
import("@smithy/types").
|
|
22
|
-
|
|
20
|
+
protocol:
|
|
21
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
22
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
23
|
+
| typeof AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
[setting: string]: unknown;
|
|
26
|
+
defaultNamespace?: string;
|
|
27
|
+
};
|
|
23
28
|
serviceId: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,41 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
|
-
StaticMapSchema,
|
|
5
3
|
StaticOperationSchema,
|
|
6
|
-
StaticSimpleSchema,
|
|
7
4
|
StaticStructureSchema,
|
|
8
5
|
} from "@smithy/types";
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var
|
|
25
|
-
export declare var
|
|
26
|
-
export declare var
|
|
27
|
-
export declare var
|
|
28
|
-
export declare var
|
|
29
|
-
export declare var
|
|
30
|
-
export declare var
|
|
31
|
-
export declare var FieldValue: number;
|
|
32
|
-
export declare var HitList: StaticListSchema;
|
|
33
|
-
export declare var Suggestions: StaticListSchema;
|
|
34
|
-
export declare var Exprs: number;
|
|
35
|
-
export declare var Facets: StaticMapSchema;
|
|
36
|
-
export declare var Fields: StaticMapSchema;
|
|
37
|
-
export declare var Highlights: number;
|
|
38
|
-
export declare var Stats: StaticMapSchema;
|
|
39
|
-
export declare var Search: StaticOperationSchema;
|
|
40
|
-
export declare var Suggest: StaticOperationSchema;
|
|
41
|
-
export declare var UploadDocuments: StaticOperationSchema;
|
|
6
|
+
export declare var Bucket$: StaticStructureSchema;
|
|
7
|
+
export declare var BucketInfo$: StaticStructureSchema;
|
|
8
|
+
export declare var DocumentServiceException$: StaticErrorSchema;
|
|
9
|
+
export declare var DocumentServiceWarning$: StaticStructureSchema;
|
|
10
|
+
export declare var FieldStats$: StaticStructureSchema;
|
|
11
|
+
export declare var Hit$: StaticStructureSchema;
|
|
12
|
+
export declare var Hits$: StaticStructureSchema;
|
|
13
|
+
export declare var SearchException$: StaticErrorSchema;
|
|
14
|
+
export declare var SearchRequest$: StaticStructureSchema;
|
|
15
|
+
export declare var SearchResponse$: StaticStructureSchema;
|
|
16
|
+
export declare var SearchStatus$: StaticStructureSchema;
|
|
17
|
+
export declare var SuggestionMatch$: StaticStructureSchema;
|
|
18
|
+
export declare var SuggestModel$: StaticStructureSchema;
|
|
19
|
+
export declare var SuggestRequest$: StaticStructureSchema;
|
|
20
|
+
export declare var SuggestResponse$: StaticStructureSchema;
|
|
21
|
+
export declare var SuggestStatus$: StaticStructureSchema;
|
|
22
|
+
export declare var UploadDocumentsRequest$: StaticStructureSchema;
|
|
23
|
+
export declare var UploadDocumentsResponse$: StaticStructureSchema;
|
|
24
|
+
export declare var CloudSearchDomainServiceException$: StaticErrorSchema;
|
|
25
|
+
export declare var Search$: StaticOperationSchema;
|
|
26
|
+
export declare var Suggest$: StaticOperationSchema;
|
|
27
|
+
export declare var UploadDocuments$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.954.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudsearch-domain",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,41 +21,41 @@
|
|
|
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.
|
|
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-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "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": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.954.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.954.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.954.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
|
+
"@aws-sdk/types": "3.953.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.954.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
36
|
+
"@smithy/core": "^3.19.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
|
+
"@smithy/hash-node": "^4.2.6",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.0",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.16",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
49
|
+
"@smithy/types": "^4.10.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.6",
|
|
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.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.18",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
58
|
+
"@smithy/util-retry": "^4.2.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|