@aws-sdk/client-kendra-ranking 3.378.0 → 3.382.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.
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useFipsEndpoint?: boolean | Provider<boolean>;
@@ -7,6 +7,7 @@
7
7
  */
8
8
  export * from "./KendraRankingClient";
9
9
  export * from "./KendraRanking";
10
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
10
11
  export * from "./commands";
11
12
  export * from "./pagination";
12
13
  export * from "./models";
@@ -39,6 +39,7 @@ export declare class ConflictException extends __BaseException {
39
39
  */
40
40
  export interface CapacityUnitsConfiguration {
41
41
  /**
42
+ * @public
42
43
  * <p>The amount of extra capacity for your rescore execution
43
44
  * plan.</p>
44
45
  * <p>A single extra capacity unit for a rescore execution
@@ -59,11 +60,13 @@ export interface CapacityUnitsConfiguration {
59
60
  */
60
61
  export interface Tag {
61
62
  /**
63
+ * @public
62
64
  * <p>The key for the tag. Keys are not case sensitive and must
63
65
  * be unique.</p>
64
66
  */
65
67
  Key: string | undefined;
66
68
  /**
69
+ * @public
67
70
  * <p>The value associated with the tag. The value can be an
68
71
  * empty string but it can't be null.</p>
69
72
  */
@@ -74,14 +77,17 @@ export interface Tag {
74
77
  */
75
78
  export interface CreateRescoreExecutionPlanRequest {
76
79
  /**
80
+ * @public
77
81
  * <p>A name for the rescore execution plan.</p>
78
82
  */
79
83
  Name: string | undefined;
80
84
  /**
85
+ * @public
81
86
  * <p>A description for the rescore execution plan.</p>
82
87
  */
83
88
  Description?: string;
84
89
  /**
90
+ * @public
85
91
  * <p>You can set additional capacity units to meet the
86
92
  * needs of your rescore execution plan. You are given a single
87
93
  * capacity unit by default. If you want to use the default
@@ -92,6 +98,7 @@ export interface CreateRescoreExecutionPlanRequest {
92
98
  */
93
99
  CapacityUnits?: CapacityUnitsConfiguration;
94
100
  /**
101
+ * @public
95
102
  * <p>A list of key-value pairs that identify or categorize your
96
103
  * rescore execution plan. You can also use tags to help control
97
104
  * access to the rescore execution plan. Tag keys and values can
@@ -100,6 +107,7 @@ export interface CreateRescoreExecutionPlanRequest {
100
107
  */
101
108
  Tags?: Tag[];
102
109
  /**
110
+ * @public
103
111
  * <p>A token that you provide to identify the request to create
104
112
  * a rescore execution plan. Multiple calls to the
105
113
  * <code>CreateRescoreExecutionPlanRequest</code> API with the
@@ -112,10 +120,12 @@ export interface CreateRescoreExecutionPlanRequest {
112
120
  */
113
121
  export interface CreateRescoreExecutionPlanResponse {
114
122
  /**
123
+ * @public
115
124
  * <p>The identifier of the rescore execution plan.</p>
116
125
  */
117
126
  Id: string | undefined;
118
127
  /**
128
+ * @public
119
129
  * <p>The Amazon Resource Name (ARN) of the rescore
120
130
  * execution plan.</p>
121
131
  */
@@ -189,6 +199,7 @@ export declare class ValidationException extends __BaseException {
189
199
  */
190
200
  export interface DeleteRescoreExecutionPlanRequest {
191
201
  /**
202
+ * @public
192
203
  * <p>The identifier of the rescore execution plan that you
193
204
  * want to delete.</p>
194
205
  */
@@ -214,6 +225,7 @@ export declare class ResourceNotFoundException extends __BaseException {
214
225
  */
215
226
  export interface DescribeRescoreExecutionPlanRequest {
216
227
  /**
228
+ * @public
217
229
  * <p>The identifier of the rescore execution plan that you want
218
230
  * to get information on.</p>
219
231
  */
@@ -239,23 +251,28 @@ export type RescoreExecutionPlanStatus = (typeof RescoreExecutionPlanStatus)[key
239
251
  */
240
252
  export interface DescribeRescoreExecutionPlanResponse {
241
253
  /**
254
+ * @public
242
255
  * <p>The identifier of the rescore execution plan.</p>
243
256
  */
244
257
  Id?: string;
245
258
  /**
259
+ * @public
246
260
  * <p>The Amazon Resource Name (ARN) of the rescore execution
247
261
  * plan.</p>
248
262
  */
249
263
  Arn?: string;
250
264
  /**
265
+ * @public
251
266
  * <p>The name for the rescore execution plan.</p>
252
267
  */
253
268
  Name?: string;
254
269
  /**
270
+ * @public
255
271
  * <p>The description for the rescore execution plan.</p>
256
272
  */
257
273
  Description?: string;
258
274
  /**
275
+ * @public
259
276
  * <p>The capacity units set for the rescore execution plan.
260
277
  * A capacity of zero indicates that the rescore execution
261
278
  * plan is using the default capacity. For more information on the
@@ -264,16 +281,19 @@ export interface DescribeRescoreExecutionPlanResponse {
264
281
  */
265
282
  CapacityUnits?: CapacityUnitsConfiguration;
266
283
  /**
284
+ * @public
267
285
  * <p>The Unix timestamp of when the rescore execution plan was
268
286
  * created.</p>
269
287
  */
270
288
  CreatedAt?: Date;
271
289
  /**
290
+ * @public
272
291
  * <p>The Unix timestamp of when the rescore execution plan was
273
292
  * last updated.</p>
274
293
  */
275
294
  UpdatedAt?: Date;
276
295
  /**
296
+ * @public
277
297
  * <p>The current status of the rescore execution plan. When the
278
298
  * value is <code>ACTIVE</code>, the rescore execution plan is
279
299
  * ready for use. If the <code>Status</code> field value is
@@ -282,6 +302,7 @@ export interface DescribeRescoreExecutionPlanResponse {
282
302
  */
283
303
  Status?: RescoreExecutionPlanStatus | string;
284
304
  /**
305
+ * @public
285
306
  * <p>When the <code>Status</code> field value is
286
307
  * <code>FAILED</code>, the <code>ErrorMessage</code> field
287
308
  * contains a message that explains why.</p>
@@ -293,6 +314,7 @@ export interface DescribeRescoreExecutionPlanResponse {
293
314
  */
294
315
  export interface ListRescoreExecutionPlansRequest {
295
316
  /**
317
+ * @public
296
318
  * <p>If the response is truncated, Amazon Kendra Intelligent
297
319
  * Ranking returns a pagination token in the response. You can use
298
320
  * this pagination token to retrieve the next set of rescore
@@ -300,6 +322,7 @@ export interface ListRescoreExecutionPlansRequest {
300
322
  */
301
323
  NextToken?: string;
302
324
  /**
325
+ * @public
303
326
  * <p>The maximum number of rescore execution plans to return.</p>
304
327
  */
305
328
  MaxResults?: number;
@@ -312,24 +335,29 @@ export interface ListRescoreExecutionPlansRequest {
312
335
  */
313
336
  export interface RescoreExecutionPlanSummary {
314
337
  /**
338
+ * @public
315
339
  * <p>The name of the rescore execution plan.</p>
316
340
  */
317
341
  Name?: string;
318
342
  /**
343
+ * @public
319
344
  * <p>The identifier of the rescore execution plan.</p>
320
345
  */
321
346
  Id?: string;
322
347
  /**
348
+ * @public
323
349
  * <p>The Unix timestamp when the rescore execution plan
324
350
  * was created.</p>
325
351
  */
326
352
  CreatedAt?: Date;
327
353
  /**
354
+ * @public
328
355
  * <p>The Unix timestamp when the rescore execution plan
329
356
  * was last updated.</p>
330
357
  */
331
358
  UpdatedAt?: Date;
332
359
  /**
360
+ * @public
333
361
  * <p>The current status of the rescore execution plan. When
334
362
  * the value is <code>ACTIVE</code>, the rescore execution
335
363
  * plan is ready for use.</p>
@@ -341,11 +369,13 @@ export interface RescoreExecutionPlanSummary {
341
369
  */
342
370
  export interface ListRescoreExecutionPlansResponse {
343
371
  /**
372
+ * @public
344
373
  * <p>An array of summary information for one or more rescore
345
374
  * execution plans.</p>
346
375
  */
347
376
  SummaryItems?: RescoreExecutionPlanSummary[];
348
377
  /**
378
+ * @public
349
379
  * <p>If the response is truncated, Amazon Kendra Intelligent
350
380
  * Ranking returns a pagination token in the response.</p>
351
381
  */
@@ -360,6 +390,7 @@ export interface ListRescoreExecutionPlansResponse {
360
390
  */
361
391
  export interface ListTagsForResourceRequest {
362
392
  /**
393
+ * @public
363
394
  * <p>The Amazon Resource Name (ARN) of the rescore execution
364
395
  * plan to get a list of tags for.</p>
365
396
  */
@@ -372,6 +403,7 @@ export interface ListTagsForResourceRequest {
372
403
  */
373
404
  export interface ListTagsForResourceResponse {
374
405
  /**
406
+ * @public
375
407
  * <p>A list of tags associated with the rescore execution
376
408
  * plan.</p>
377
409
  */
@@ -400,24 +432,29 @@ export declare class ResourceUnavailableException extends __BaseException {
400
432
  */
401
433
  export interface Document {
402
434
  /**
435
+ * @public
403
436
  * <p>The identifier of the document from the search service.</p>
404
437
  */
405
438
  Id: string | undefined;
406
439
  /**
440
+ * @public
407
441
  * <p>The optional group identifier of the document from the search
408
442
  * service. Documents with the same group identifier are grouped
409
443
  * together and processed as one document within the service.</p>
410
444
  */
411
445
  GroupId?: string;
412
446
  /**
447
+ * @public
413
448
  * <p>The title of the search service's document.</p>
414
449
  */
415
450
  Title?: string;
416
451
  /**
452
+ * @public
417
453
  * <p>The body text of the search service's document.</p>
418
454
  */
419
455
  Body?: string;
420
456
  /**
457
+ * @public
421
458
  * <p>The title of the search service's document represented as
422
459
  * a list of tokens or words. You must choose to provide
423
460
  * <code>Title</code> or <code>TokenizedTitle</code>. You cannot
@@ -425,6 +462,7 @@ export interface Document {
425
462
  */
426
463
  TokenizedTitle?: string[];
427
464
  /**
465
+ * @public
428
466
  * <p>The body text of the search service's document represented
429
467
  * as a list of tokens or words. You must choose to provide
430
468
  * <code>Body</code> or <code>TokenizedBody</code>. You cannot
@@ -432,6 +470,7 @@ export interface Document {
432
470
  */
433
471
  TokenizedBody?: string[];
434
472
  /**
473
+ * @public
435
474
  * <p>The original document score or rank from the search service.
436
475
  * Amazon Kendra Intelligent Ranking gives the document a new
437
476
  * score or rank based on its intelligent search algorithms.</p>
@@ -443,16 +482,19 @@ export interface Document {
443
482
  */
444
483
  export interface RescoreRequest {
445
484
  /**
485
+ * @public
446
486
  * <p>The identifier of the rescore execution plan. A rescore
447
487
  * execution plan is an Amazon Kendra Intelligent Ranking
448
488
  * resource used for provisioning the <code>Rescore</code> API.</p>
449
489
  */
450
490
  RescoreExecutionPlanId: string | undefined;
451
491
  /**
492
+ * @public
452
493
  * <p>The input query from the search service.</p>
453
494
  */
454
495
  SearchQuery: string | undefined;
455
496
  /**
497
+ * @public
456
498
  * <p>The list of documents for Amazon Kendra Intelligent
457
499
  * Ranking to rescore or rank on.</p>
458
500
  */
@@ -464,10 +506,12 @@ export interface RescoreRequest {
464
506
  */
465
507
  export interface RescoreResultItem {
466
508
  /**
509
+ * @public
467
510
  * <p>The identifier of the document from the search service.</p>
468
511
  */
469
512
  DocumentId?: string;
470
513
  /**
514
+ * @public
471
515
  * <p>The relevancy score or rank that Amazon Kendra
472
516
  * Intelligent Ranking gives to the result.</p>
473
517
  */
@@ -478,6 +522,7 @@ export interface RescoreResultItem {
478
522
  */
479
523
  export interface RescoreResult {
480
524
  /**
525
+ * @public
481
526
  * <p>The identifier associated with the scores that
482
527
  * Amazon Kendra Intelligent Ranking gives to the
483
528
  * results. Amazon Kendra Intelligent Ranking
@@ -485,6 +530,7 @@ export interface RescoreResult {
485
530
  */
486
531
  RescoreId?: string;
487
532
  /**
533
+ * @public
488
534
  * <p>A list of result items for documents with new relevancy
489
535
  * scores. The results are in descending order.</p>
490
536
  */
@@ -499,11 +545,13 @@ export interface RescoreResult {
499
545
  */
500
546
  export interface TagResourceRequest {
501
547
  /**
548
+ * @public
502
549
  * <p>The Amazon Resource Name (ARN) of the rescore execution
503
550
  * plan to tag.</p>
504
551
  */
505
552
  ResourceARN: string | undefined;
506
553
  /**
554
+ * @public
507
555
  * <p>A list of tag keys to add to a rescore execution plan.
508
556
  * If a tag already exists, the existing value is replaced
509
557
  * with the new value.</p>
@@ -526,11 +574,13 @@ export interface TagResourceResponse {
526
574
  */
527
575
  export interface UntagResourceRequest {
528
576
  /**
577
+ * @public
529
578
  * <p>The Amazon Resource Name (ARN) of the rescore execution
530
579
  * plan to remove the tag.</p>
531
580
  */
532
581
  ResourceARN: string | undefined;
533
582
  /**
583
+ * @public
534
584
  * <p>A list of tag keys to remove from the rescore execution
535
585
  * plan. If a tag key does not exist on the resource, it is
536
586
  * ignored.</p>
@@ -549,19 +599,23 @@ export interface UntagResourceResponse {
549
599
  */
550
600
  export interface UpdateRescoreExecutionPlanRequest {
551
601
  /**
602
+ * @public
552
603
  * <p>The identifier of the rescore execution plan that you want
553
604
  * to update.</p>
554
605
  */
555
606
  Id: string | undefined;
556
607
  /**
608
+ * @public
557
609
  * <p>A new name for the rescore execution plan.</p>
558
610
  */
559
611
  Name?: string;
560
612
  /**
613
+ * @public
561
614
  * <p>A new description for the rescore execution plan.</p>
562
615
  */
563
616
  Description?: string;
564
617
  /**
618
+ * @public
565
619
  * <p>You can set additional capacity units to meet the needs
566
620
  * of your rescore execution plan. You are given a single capacity
567
621
  * unit by default. If you want to use the default capacity, you
@@ -1,5 +1,6 @@
1
1
  export * from "./KendraRankingClient";
2
2
  export * from "./KendraRanking";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./pagination";
5
6
  export * from "./models";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra-ranking",
3
3
  "description": "AWS SDK for JavaScript Kendra Ranking Client for Node.js, Browser and React Native",
4
- "version": "3.378.0",
4
+ "version": "3.382.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.378.0",
25
- "@aws-sdk/credential-provider-node": "3.378.0",
26
- "@aws-sdk/middleware-host-header": "3.378.0",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
+ "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
- "@aws-sdk/middleware-signing": "3.378.0",
30
- "@aws-sdk/middleware-user-agent": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",