@aws-sdk/client-cloudsearch-domain 3.687.0 → 3.691.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.
|
@@ -40,7 +40,7 @@ export interface SearchRequest {
|
|
|
40
40
|
* information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/paginating-results.html">Paginating Results</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
cursor?: string;
|
|
43
|
+
cursor?: string | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* <p>Defines one or more numeric expressions that can be used to sort results or specify search or filter
|
|
46
46
|
* criteria. You can also specify expressions as return fields. </p>
|
|
@@ -52,7 +52,7 @@ export interface SearchRequest {
|
|
|
52
52
|
* in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
expr?: string;
|
|
55
|
+
expr?: string | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* <p>Specifies one or more fields for which to get facet information, and options that control how the facet information is returned. Each specified field must be facet-enabled in the domain configuration. The fields and options are specified in JSON using the form <code>\{"FIELD":\{"OPTION":VALUE,"OPTION:"STRING"\},"FIELD":\{"OPTION":VALUE,"OPTION":"STRING"\}\}</code>.</p>
|
|
58
58
|
* <p>You can specify the following faceting options:</p>
|
|
@@ -105,14 +105,14 @@ export interface SearchRequest {
|
|
|
105
105
|
* in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
106
106
|
* @public
|
|
107
107
|
*/
|
|
108
|
-
facet?: string;
|
|
108
|
+
facet?: string | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* <p>Specifies a structured query that filters the results of a search without affecting how the results are scored and sorted. You use <code>filterQuery</code> in conjunction with the <code>query</code> parameter to filter the documents that match the constraints specified in the <code>query</code> parameter. Specifying a filter controls only which matching documents are included in the results, it has no effect on how they are scored and sorted. The <code>filterQuery</code> parameter supports the full structured query syntax. </p>
|
|
111
111
|
* <p>For more information about using filters, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/filtering-results.html">Filtering Matching Documents</a>
|
|
112
112
|
* in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
113
113
|
* @public
|
|
114
114
|
*/
|
|
115
|
-
filterQuery?: string;
|
|
115
|
+
filterQuery?: string | undefined;
|
|
116
116
|
/**
|
|
117
117
|
* <p>Retrieves highlights for matches in the specified <code>text</code> or
|
|
118
118
|
* <code>text-array</code> fields. Each specified field must be highlight enabled in the domain configuration. The fields and options are specified in JSON using the form <code>\{"FIELD":\{"OPTION":VALUE,"OPTION:"STRING"\},"FIELD":\{"OPTION":VALUE,"OPTION":"STRING"\}\}</code>.</p>
|
|
@@ -151,12 +151,12 @@ export interface SearchRequest {
|
|
|
151
151
|
* \}</code></p>
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
|
-
highlight?: string;
|
|
154
|
+
highlight?: string | undefined;
|
|
155
155
|
/**
|
|
156
156
|
* <p>Enables partial results to be returned if one or more index partitions are unavailable. When your search index is partitioned across multiple search instances, by default Amazon CloudSearch only returns results if every partition can be queried. This means that the failure of a single search instance can result in 5xx (internal server) errors. When you enable partial results, Amazon CloudSearch returns whatever results are available and includes the percentage of documents searched in the search results (percent-searched). This enables you to more gracefully degrade your users' search experience. For example, rather than displaying no results, you could display the partial results and a message indicating that the results might be incomplete due to a temporary system outage.</p>
|
|
157
157
|
* @public
|
|
158
158
|
*/
|
|
159
|
-
partial?: boolean;
|
|
159
|
+
partial?: boolean | undefined;
|
|
160
160
|
/**
|
|
161
161
|
* <p>Specifies the search criteria for the request. How you specify the search
|
|
162
162
|
* criteria depends on the query parser used for the request and the parser options
|
|
@@ -226,7 +226,7 @@ export interface SearchRequest {
|
|
|
226
226
|
* </ul>
|
|
227
227
|
* @public
|
|
228
228
|
*/
|
|
229
|
-
queryOptions?: string;
|
|
229
|
+
queryOptions?: string | undefined;
|
|
230
230
|
/**
|
|
231
231
|
* <p>Specifies which
|
|
232
232
|
* query parser to use to process the request. If <code>queryParser</code> is not specified, Amazon CloudSearch
|
|
@@ -269,7 +269,7 @@ export interface SearchRequest {
|
|
|
269
269
|
* </ul>
|
|
270
270
|
* @public
|
|
271
271
|
*/
|
|
272
|
-
queryParser?: QueryParser;
|
|
272
|
+
queryParser?: QueryParser | undefined;
|
|
273
273
|
/**
|
|
274
274
|
* <p>Specifies the field and expression values to include in the response. Multiple fields or expressions are specified as a comma-separated list. By default, a search response includes all
|
|
275
275
|
* return enabled fields (<code>_all_fields</code>).
|
|
@@ -279,12 +279,12 @@ export interface SearchRequest {
|
|
|
279
279
|
* specify <code>_score</code>. </p>
|
|
280
280
|
* @public
|
|
281
281
|
*/
|
|
282
|
-
return?: string;
|
|
282
|
+
return?: string | undefined;
|
|
283
283
|
/**
|
|
284
284
|
* <p>Specifies the maximum number of search hits to include in the response. </p>
|
|
285
285
|
* @public
|
|
286
286
|
*/
|
|
287
|
-
size?: number;
|
|
287
|
+
size?: number | undefined;
|
|
288
288
|
/**
|
|
289
289
|
* <p>Specifies the fields or custom expressions to use to sort the search
|
|
290
290
|
* results. Multiple fields or expressions are specified as a comma-separated list.
|
|
@@ -299,20 +299,20 @@ export interface SearchRequest {
|
|
|
299
299
|
* <p>For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/sorting-results.html">Sorting Results</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
300
300
|
* @public
|
|
301
301
|
*/
|
|
302
|
-
sort?: string;
|
|
302
|
+
sort?: string | undefined;
|
|
303
303
|
/**
|
|
304
304
|
* <p>Specifies the offset of the first search hit you want to return. Note that the result set is zero-based; the first result is at index 0. You can specify either the <code>start</code> or <code>cursor</code> parameter in a request, they are mutually exclusive. </p>
|
|
305
305
|
* <p>For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/paginating-results.html">Paginating Results</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
306
306
|
* @public
|
|
307
307
|
*/
|
|
308
|
-
start?: number;
|
|
308
|
+
start?: number | undefined;
|
|
309
309
|
/**
|
|
310
310
|
* <p>Specifies one or more fields for which to get statistics information. Each specified field must be facet-enabled in the domain configuration. The fields are specified in JSON using the form:</p>
|
|
311
311
|
* <code>\{"FIELD-A":\{\},"FIELD-B":\{\}\}</code>
|
|
312
312
|
* <p>There are currently no options supported for statistics.</p>
|
|
313
313
|
* @public
|
|
314
314
|
*/
|
|
315
|
-
stats?: string;
|
|
315
|
+
stats?: string | undefined;
|
|
316
316
|
}
|
|
317
317
|
/**
|
|
318
318
|
* <p>A container for facet information. </p>
|
|
@@ -323,12 +323,12 @@ export interface Bucket {
|
|
|
323
323
|
* <p>The facet value being counted.</p>
|
|
324
324
|
* @public
|
|
325
325
|
*/
|
|
326
|
-
value?: string;
|
|
326
|
+
value?: string | undefined;
|
|
327
327
|
/**
|
|
328
328
|
* <p>The number of hits that contain the facet value in the specified facet field.</p>
|
|
329
329
|
* @public
|
|
330
330
|
*/
|
|
331
|
-
count?: number;
|
|
331
|
+
count?: number | undefined;
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
334
|
* <p>A container for the calculated facet values and counts.</p>
|
|
@@ -339,7 +339,7 @@ export interface BucketInfo {
|
|
|
339
339
|
* <p>A list of the calculated facet values and counts.</p>
|
|
340
340
|
* @public
|
|
341
341
|
*/
|
|
342
|
-
buckets?: Bucket[];
|
|
342
|
+
buckets?: Bucket[] | undefined;
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
345
|
* <p>Information about a document that matches the search request.</p>
|
|
@@ -350,22 +350,22 @@ export interface Hit {
|
|
|
350
350
|
* <p>The document ID of a document that matches the search request.</p>
|
|
351
351
|
* @public
|
|
352
352
|
*/
|
|
353
|
-
id?: string;
|
|
353
|
+
id?: string | undefined;
|
|
354
354
|
/**
|
|
355
355
|
* <p>The fields returned from a document that matches the search request.</p>
|
|
356
356
|
* @public
|
|
357
357
|
*/
|
|
358
|
-
fields?: Record<string, string[]
|
|
358
|
+
fields?: Record<string, string[]> | undefined;
|
|
359
359
|
/**
|
|
360
360
|
* <p>The expressions returned from a document that matches the search request.</p>
|
|
361
361
|
* @public
|
|
362
362
|
*/
|
|
363
|
-
exprs?: Record<string, string
|
|
363
|
+
exprs?: Record<string, string> | undefined;
|
|
364
364
|
/**
|
|
365
365
|
* <p>The highlights returned from a document that matches the search request.</p>
|
|
366
366
|
* @public
|
|
367
367
|
*/
|
|
368
|
-
highlights?: Record<string, string
|
|
368
|
+
highlights?: Record<string, string> | undefined;
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
371
371
|
* <p>The collection of documents that match the search request.</p>
|
|
@@ -376,22 +376,22 @@ export interface Hits {
|
|
|
376
376
|
* <p>The total number of documents that match the search request.</p>
|
|
377
377
|
* @public
|
|
378
378
|
*/
|
|
379
|
-
found?: number;
|
|
379
|
+
found?: number | undefined;
|
|
380
380
|
/**
|
|
381
381
|
* <p>The index of the first matching document.</p>
|
|
382
382
|
* @public
|
|
383
383
|
*/
|
|
384
|
-
start?: number;
|
|
384
|
+
start?: number | undefined;
|
|
385
385
|
/**
|
|
386
386
|
* <p>A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.</p>
|
|
387
387
|
* @public
|
|
388
388
|
*/
|
|
389
|
-
cursor?: string;
|
|
389
|
+
cursor?: string | undefined;
|
|
390
390
|
/**
|
|
391
391
|
* <p>A document that matches the search request.</p>
|
|
392
392
|
* @public
|
|
393
393
|
*/
|
|
394
|
-
hit?: Hit[];
|
|
394
|
+
hit?: Hit[] | undefined;
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
397
|
* <p>The statistics for a field calculated in the request.</p>
|
|
@@ -403,44 +403,44 @@ export interface FieldStats {
|
|
|
403
403
|
* <p>If the field is numeric (<code>int</code>, <code>int-array</code>, <code>double</code>, or <code>double-array</code>), <code>min</code> is the string representation of a double-precision 64-bit floating point value. If the field is <code>date</code> or <code>date-array</code>, <code>min</code> is the string representation of a date with the format specified in <a href="http://tools.ietf.org/html/rfc3339">IETF RFC3339</a>: yyyy-mm-ddTHH:mm:ss.SSSZ.</p>
|
|
404
404
|
* @public
|
|
405
405
|
*/
|
|
406
|
-
min?: string;
|
|
406
|
+
min?: string | undefined;
|
|
407
407
|
/**
|
|
408
408
|
* <p>The maximum value found in the specified field in the result set.</p>
|
|
409
409
|
* <p>If the field is numeric (<code>int</code>, <code>int-array</code>, <code>double</code>, or <code>double-array</code>), <code>max</code> is the string representation of a double-precision 64-bit floating point value. If the field is <code>date</code> or <code>date-array</code>, <code>max</code> is the string representation of a date with the format specified in <a href="http://tools.ietf.org/html/rfc3339">IETF RFC3339</a>: yyyy-mm-ddTHH:mm:ss.SSSZ.</p>
|
|
410
410
|
* @public
|
|
411
411
|
*/
|
|
412
|
-
max?: string;
|
|
412
|
+
max?: string | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* <p>The number of documents that contain a value in the specified field in the result set.</p>
|
|
415
415
|
* @public
|
|
416
416
|
*/
|
|
417
|
-
count?: number;
|
|
417
|
+
count?: number | undefined;
|
|
418
418
|
/**
|
|
419
419
|
* <p>The number of documents that do not contain a value in the specified field in the result set.</p>
|
|
420
420
|
* @public
|
|
421
421
|
*/
|
|
422
|
-
missing?: number;
|
|
422
|
+
missing?: number | undefined;
|
|
423
423
|
/**
|
|
424
424
|
* <p>The sum of the field values across the documents in the result set. <code>null</code> for date fields.</p>
|
|
425
425
|
* @public
|
|
426
426
|
*/
|
|
427
|
-
sum?: number;
|
|
427
|
+
sum?: number | undefined;
|
|
428
428
|
/**
|
|
429
429
|
* <p>The sum of all field values in the result set squared.</p>
|
|
430
430
|
* @public
|
|
431
431
|
*/
|
|
432
|
-
sumOfSquares?: number;
|
|
432
|
+
sumOfSquares?: number | undefined;
|
|
433
433
|
/**
|
|
434
434
|
* <p>The average of the values found in the specified field in the result set.</p>
|
|
435
435
|
* <p>If the field is numeric (<code>int</code>, <code>int-array</code>, <code>double</code>, or <code>double-array</code>), <code>mean</code> is the string representation of a double-precision 64-bit floating point value. If the field is <code>date</code> or <code>date-array</code>, <code>mean</code> is the string representation of a date with the format specified in <a href="http://tools.ietf.org/html/rfc3339">IETF RFC3339</a>: yyyy-mm-ddTHH:mm:ss.SSSZ.</p>
|
|
436
436
|
* @public
|
|
437
437
|
*/
|
|
438
|
-
mean?: string;
|
|
438
|
+
mean?: string | undefined;
|
|
439
439
|
/**
|
|
440
440
|
* <p>The standard deviation of the values in the specified field in the result set.</p>
|
|
441
441
|
* @public
|
|
442
442
|
*/
|
|
443
|
-
stddev?: number;
|
|
443
|
+
stddev?: number | undefined;
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* <p>Contains the resource id (<code>rid</code>) and the time it took to process the request (<code>timems</code>).</p>
|
|
@@ -451,12 +451,12 @@ export interface SearchStatus {
|
|
|
451
451
|
* <p>How long it took to process the request, in milliseconds.</p>
|
|
452
452
|
* @public
|
|
453
453
|
*/
|
|
454
|
-
timems?: number;
|
|
454
|
+
timems?: number | undefined;
|
|
455
455
|
/**
|
|
456
456
|
* <p>The encrypted resource ID for the request.</p>
|
|
457
457
|
* @public
|
|
458
458
|
*/
|
|
459
|
-
rid?: string;
|
|
459
|
+
rid?: string | undefined;
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
462
|
* <p>The result of a <code>Search</code> request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.</p>
|
|
@@ -467,22 +467,22 @@ export interface SearchResponse {
|
|
|
467
467
|
* <p>The status information returned for the search request.</p>
|
|
468
468
|
* @public
|
|
469
469
|
*/
|
|
470
|
-
status?: SearchStatus;
|
|
470
|
+
status?: SearchStatus | undefined;
|
|
471
471
|
/**
|
|
472
472
|
* <p>The documents that match the search criteria.</p>
|
|
473
473
|
* @public
|
|
474
474
|
*/
|
|
475
|
-
hits?: Hits;
|
|
475
|
+
hits?: Hits | undefined;
|
|
476
476
|
/**
|
|
477
477
|
* <p>The requested facet information.</p>
|
|
478
478
|
* @public
|
|
479
479
|
*/
|
|
480
|
-
facets?: Record<string, BucketInfo
|
|
480
|
+
facets?: Record<string, BucketInfo> | undefined;
|
|
481
481
|
/**
|
|
482
482
|
* <p>The requested field statistics information.</p>
|
|
483
483
|
* @public
|
|
484
484
|
*/
|
|
485
|
-
stats?: Record<string, FieldStats
|
|
485
|
+
stats?: Record<string, FieldStats> | undefined;
|
|
486
486
|
}
|
|
487
487
|
/**
|
|
488
488
|
* <p>Container for the parameters to the <code>Suggest</code> request.</p>
|
|
@@ -503,7 +503,7 @@ export interface SuggestRequest {
|
|
|
503
503
|
* <p>Specifies the maximum number of suggestions to return. </p>
|
|
504
504
|
* @public
|
|
505
505
|
*/
|
|
506
|
-
size?: number;
|
|
506
|
+
size?: number | undefined;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* <p>Contains the resource id (<code>rid</code>) and the time it took to process the request (<code>timems</code>).</p>
|
|
@@ -514,12 +514,12 @@ export interface SuggestStatus {
|
|
|
514
514
|
* <p>How long it took to process the request, in milliseconds.</p>
|
|
515
515
|
* @public
|
|
516
516
|
*/
|
|
517
|
-
timems?: number;
|
|
517
|
+
timems?: number | undefined;
|
|
518
518
|
/**
|
|
519
519
|
* <p>The encrypted resource ID for the request.</p>
|
|
520
520
|
* @public
|
|
521
521
|
*/
|
|
522
|
-
rid?: string;
|
|
522
|
+
rid?: string | undefined;
|
|
523
523
|
}
|
|
524
524
|
/**
|
|
525
525
|
* <p>An autocomplete suggestion that matches the query string specified in a <code>SuggestRequest</code>. </p>
|
|
@@ -530,17 +530,17 @@ export interface SuggestionMatch {
|
|
|
530
530
|
* <p>The string that matches the query string specified in the <code>SuggestRequest</code>. </p>
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
|
-
suggestion?: string;
|
|
533
|
+
suggestion?: string | undefined;
|
|
534
534
|
/**
|
|
535
535
|
* <p>The relevance score of a suggested match.</p>
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
|
-
score?: number;
|
|
538
|
+
score?: number | undefined;
|
|
539
539
|
/**
|
|
540
540
|
* <p>The document ID of the suggested document.</p>
|
|
541
541
|
* @public
|
|
542
542
|
*/
|
|
543
|
-
id?: string;
|
|
543
|
+
id?: string | undefined;
|
|
544
544
|
}
|
|
545
545
|
/**
|
|
546
546
|
* <p>Container for the suggestion information returned in a <code>SuggestResponse</code>.</p>
|
|
@@ -551,17 +551,17 @@ export interface SuggestModel {
|
|
|
551
551
|
* <p>The query string specified in the suggest request.</p>
|
|
552
552
|
* @public
|
|
553
553
|
*/
|
|
554
|
-
query?: string;
|
|
554
|
+
query?: string | undefined;
|
|
555
555
|
/**
|
|
556
556
|
* <p>The number of documents that were found to match the query string.</p>
|
|
557
557
|
* @public
|
|
558
558
|
*/
|
|
559
|
-
found?: number;
|
|
559
|
+
found?: number | undefined;
|
|
560
560
|
/**
|
|
561
561
|
* <p>The documents that match the query string.</p>
|
|
562
562
|
* @public
|
|
563
563
|
*/
|
|
564
|
-
suggestions?: SuggestionMatch[];
|
|
564
|
+
suggestions?: SuggestionMatch[] | undefined;
|
|
565
565
|
}
|
|
566
566
|
/**
|
|
567
567
|
* <p>Contains the response to a <code>Suggest</code> request.</p>
|
|
@@ -572,12 +572,12 @@ export interface SuggestResponse {
|
|
|
572
572
|
* <p>The status of a <code>SuggestRequest</code>. Contains the resource ID (<code>rid</code>) and how long it took to process the request (<code>timems</code>).</p>
|
|
573
573
|
* @public
|
|
574
574
|
*/
|
|
575
|
-
status?: SuggestStatus;
|
|
575
|
+
status?: SuggestStatus | undefined;
|
|
576
576
|
/**
|
|
577
577
|
* <p>Container for the matching search suggestion information.</p>
|
|
578
578
|
* @public
|
|
579
579
|
*/
|
|
580
|
-
suggest?: SuggestModel;
|
|
580
|
+
suggest?: SuggestModel | undefined;
|
|
581
581
|
}
|
|
582
582
|
/**
|
|
583
583
|
* <p>Information about any problems encountered while processing an upload request.</p>
|
|
@@ -590,7 +590,7 @@ export declare class DocumentServiceException extends __BaseException {
|
|
|
590
590
|
* <p>The return status of a document upload request, <code>error</code> or <code>success</code>.</p>
|
|
591
591
|
* @public
|
|
592
592
|
*/
|
|
593
|
-
status?: string;
|
|
593
|
+
status?: string | undefined;
|
|
594
594
|
/**
|
|
595
595
|
* @internal
|
|
596
596
|
*/
|
|
@@ -637,7 +637,7 @@ export interface DocumentServiceWarning {
|
|
|
637
637
|
* <p>The description for a warning returned by the document service.</p>
|
|
638
638
|
* @public
|
|
639
639
|
*/
|
|
640
|
-
message?: string;
|
|
640
|
+
message?: string | undefined;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
643
|
* <p>Contains the response to an <code>UploadDocuments</code> request.</p>
|
|
@@ -648,22 +648,22 @@ export interface UploadDocumentsResponse {
|
|
|
648
648
|
* <p>The status of an <code>UploadDocumentsRequest</code>.</p>
|
|
649
649
|
* @public
|
|
650
650
|
*/
|
|
651
|
-
status?: string;
|
|
651
|
+
status?: string | undefined;
|
|
652
652
|
/**
|
|
653
653
|
* <p>The number of documents that were added to the search domain.</p>
|
|
654
654
|
* @public
|
|
655
655
|
*/
|
|
656
|
-
adds?: number;
|
|
656
|
+
adds?: number | undefined;
|
|
657
657
|
/**
|
|
658
658
|
* <p>The number of documents that were deleted from the search domain.</p>
|
|
659
659
|
* @public
|
|
660
660
|
*/
|
|
661
|
-
deletes?: number;
|
|
661
|
+
deletes?: number | undefined;
|
|
662
662
|
/**
|
|
663
663
|
* <p>Any warnings returned by the document service about the documents being uploaded.</p>
|
|
664
664
|
* @public
|
|
665
665
|
*/
|
|
666
|
-
warnings?: DocumentServiceWarning[];
|
|
666
|
+
warnings?: DocumentServiceWarning[] | undefined;
|
|
667
667
|
}
|
|
668
668
|
/**
|
|
669
669
|
* @internal
|
|
@@ -14,87 +14,87 @@ export declare const QueryParser: {
|
|
|
14
14
|
};
|
|
15
15
|
export type QueryParser = (typeof QueryParser)[keyof typeof QueryParser];
|
|
16
16
|
export interface SearchRequest {
|
|
17
|
-
cursor?: string;
|
|
18
|
-
expr?: string;
|
|
19
|
-
facet?: string;
|
|
20
|
-
filterQuery?: string;
|
|
21
|
-
highlight?: string;
|
|
22
|
-
partial?: boolean;
|
|
17
|
+
cursor?: string | undefined;
|
|
18
|
+
expr?: string | undefined;
|
|
19
|
+
facet?: string | undefined;
|
|
20
|
+
filterQuery?: string | undefined;
|
|
21
|
+
highlight?: string | undefined;
|
|
22
|
+
partial?: boolean | undefined;
|
|
23
23
|
query: string | undefined;
|
|
24
|
-
queryOptions?: string;
|
|
25
|
-
queryParser?: QueryParser;
|
|
26
|
-
return?: string;
|
|
27
|
-
size?: number;
|
|
28
|
-
sort?: string;
|
|
29
|
-
start?: number;
|
|
30
|
-
stats?: string;
|
|
24
|
+
queryOptions?: string | undefined;
|
|
25
|
+
queryParser?: QueryParser | undefined;
|
|
26
|
+
return?: string | undefined;
|
|
27
|
+
size?: number | undefined;
|
|
28
|
+
sort?: string | undefined;
|
|
29
|
+
start?: number | undefined;
|
|
30
|
+
stats?: string | undefined;
|
|
31
31
|
}
|
|
32
32
|
export interface Bucket {
|
|
33
|
-
value?: string;
|
|
34
|
-
count?: number;
|
|
33
|
+
value?: string | undefined;
|
|
34
|
+
count?: number | undefined;
|
|
35
35
|
}
|
|
36
36
|
export interface BucketInfo {
|
|
37
|
-
buckets?: Bucket[];
|
|
37
|
+
buckets?: Bucket[] | undefined;
|
|
38
38
|
}
|
|
39
39
|
export interface Hit {
|
|
40
|
-
id?: string;
|
|
41
|
-
fields?: Record<string, string[]
|
|
42
|
-
exprs?: Record<string, string
|
|
43
|
-
highlights?: Record<string, string
|
|
40
|
+
id?: string | undefined;
|
|
41
|
+
fields?: Record<string, string[]> | undefined;
|
|
42
|
+
exprs?: Record<string, string> | undefined;
|
|
43
|
+
highlights?: Record<string, string> | undefined;
|
|
44
44
|
}
|
|
45
45
|
export interface Hits {
|
|
46
|
-
found?: number;
|
|
47
|
-
start?: number;
|
|
48
|
-
cursor?: string;
|
|
49
|
-
hit?: Hit[];
|
|
46
|
+
found?: number | undefined;
|
|
47
|
+
start?: number | undefined;
|
|
48
|
+
cursor?: string | undefined;
|
|
49
|
+
hit?: Hit[] | undefined;
|
|
50
50
|
}
|
|
51
51
|
export interface FieldStats {
|
|
52
|
-
min?: string;
|
|
53
|
-
max?: string;
|
|
54
|
-
count?: number;
|
|
55
|
-
missing?: number;
|
|
56
|
-
sum?: number;
|
|
57
|
-
sumOfSquares?: number;
|
|
58
|
-
mean?: string;
|
|
59
|
-
stddev?: number;
|
|
52
|
+
min?: string | undefined;
|
|
53
|
+
max?: string | undefined;
|
|
54
|
+
count?: number | undefined;
|
|
55
|
+
missing?: number | undefined;
|
|
56
|
+
sum?: number | undefined;
|
|
57
|
+
sumOfSquares?: number | undefined;
|
|
58
|
+
mean?: string | undefined;
|
|
59
|
+
stddev?: number | undefined;
|
|
60
60
|
}
|
|
61
61
|
export interface SearchStatus {
|
|
62
|
-
timems?: number;
|
|
63
|
-
rid?: string;
|
|
62
|
+
timems?: number | undefined;
|
|
63
|
+
rid?: string | undefined;
|
|
64
64
|
}
|
|
65
65
|
export interface SearchResponse {
|
|
66
|
-
status?: SearchStatus;
|
|
67
|
-
hits?: Hits;
|
|
68
|
-
facets?: Record<string, BucketInfo
|
|
69
|
-
stats?: Record<string, FieldStats
|
|
66
|
+
status?: SearchStatus | undefined;
|
|
67
|
+
hits?: Hits | undefined;
|
|
68
|
+
facets?: Record<string, BucketInfo> | undefined;
|
|
69
|
+
stats?: Record<string, FieldStats> | undefined;
|
|
70
70
|
}
|
|
71
71
|
export interface SuggestRequest {
|
|
72
72
|
query: string | undefined;
|
|
73
73
|
suggester: string | undefined;
|
|
74
|
-
size?: number;
|
|
74
|
+
size?: number | undefined;
|
|
75
75
|
}
|
|
76
76
|
export interface SuggestStatus {
|
|
77
|
-
timems?: number;
|
|
78
|
-
rid?: string;
|
|
77
|
+
timems?: number | undefined;
|
|
78
|
+
rid?: string | undefined;
|
|
79
79
|
}
|
|
80
80
|
export interface SuggestionMatch {
|
|
81
|
-
suggestion?: string;
|
|
82
|
-
score?: number;
|
|
83
|
-
id?: string;
|
|
81
|
+
suggestion?: string | undefined;
|
|
82
|
+
score?: number | undefined;
|
|
83
|
+
id?: string | undefined;
|
|
84
84
|
}
|
|
85
85
|
export interface SuggestModel {
|
|
86
|
-
query?: string;
|
|
87
|
-
found?: number;
|
|
88
|
-
suggestions?: SuggestionMatch[];
|
|
86
|
+
query?: string | undefined;
|
|
87
|
+
found?: number | undefined;
|
|
88
|
+
suggestions?: SuggestionMatch[] | undefined;
|
|
89
89
|
}
|
|
90
90
|
export interface SuggestResponse {
|
|
91
|
-
status?: SuggestStatus;
|
|
92
|
-
suggest?: SuggestModel;
|
|
91
|
+
status?: SuggestStatus | undefined;
|
|
92
|
+
suggest?: SuggestModel | undefined;
|
|
93
93
|
}
|
|
94
94
|
export declare class DocumentServiceException extends __BaseException {
|
|
95
95
|
readonly name: "DocumentServiceException";
|
|
96
96
|
readonly $fault: "client";
|
|
97
|
-
status?: string;
|
|
97
|
+
status?: string | undefined;
|
|
98
98
|
constructor(
|
|
99
99
|
opts: __ExceptionOptionType<DocumentServiceException, __BaseException>
|
|
100
100
|
);
|
|
@@ -109,13 +109,13 @@ export interface UploadDocumentsRequest {
|
|
|
109
109
|
contentType: ContentType | undefined;
|
|
110
110
|
}
|
|
111
111
|
export interface DocumentServiceWarning {
|
|
112
|
-
message?: string;
|
|
112
|
+
message?: string | undefined;
|
|
113
113
|
}
|
|
114
114
|
export interface UploadDocumentsResponse {
|
|
115
|
-
status?: string;
|
|
116
|
-
adds?: number;
|
|
117
|
-
deletes?: number;
|
|
118
|
-
warnings?: DocumentServiceWarning[];
|
|
115
|
+
status?: string | undefined;
|
|
116
|
+
adds?: number | undefined;
|
|
117
|
+
deletes?: number | undefined;
|
|
118
|
+
warnings?: DocumentServiceWarning[] | undefined;
|
|
119
119
|
}
|
|
120
120
|
export declare const UploadDocumentsRequestFilterSensitiveLog: (
|
|
121
121
|
obj: UploadDocumentsRequest
|
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.691.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-domain",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|