@aws-sdk/client-kendra-ranking 3.957.0 → 3.962.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/README.md CHANGED
@@ -11,10 +11,8 @@ semantic search capabilities to intelligently re-rank a search
11
11
  service's results.</p>
12
12
 
13
13
  ## Installing
14
-
15
14
  To install this package, simply type add or install @aws-sdk/client-kendra-ranking
16
15
  using your favorite package manager:
17
-
18
16
  - `npm install @aws-sdk/client-kendra-ranking`
19
17
  - `yarn add @aws-sdk/client-kendra-ranking`
20
18
  - `pnpm add @aws-sdk/client-kendra-ranking`
@@ -50,9 +48,7 @@ To send a request, you:
50
48
  // a client can be shared by different commands.
51
49
  const client = new KendraRankingClient({ region: "REGION" });
52
50
 
53
- const params = {
54
- /** input parameters */
55
- };
51
+ const params = { /** input parameters */ };
56
52
  const command = new ListRescoreExecutionPlansCommand(params);
57
53
  ```
58
54
 
@@ -211,7 +207,6 @@ CreateRescoreExecutionPlan
211
207
  </summary>
212
208
 
213
209
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/CreateRescoreExecutionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/CreateRescoreExecutionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/CreateRescoreExecutionPlanCommandOutput/)
214
-
215
210
  </details>
216
211
  <details>
217
212
  <summary>
@@ -219,7 +214,6 @@ DeleteRescoreExecutionPlan
219
214
  </summary>
220
215
 
221
216
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/DeleteRescoreExecutionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/DeleteRescoreExecutionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/DeleteRescoreExecutionPlanCommandOutput/)
222
-
223
217
  </details>
224
218
  <details>
225
219
  <summary>
@@ -227,7 +221,6 @@ DescribeRescoreExecutionPlan
227
221
  </summary>
228
222
 
229
223
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/DescribeRescoreExecutionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/DescribeRescoreExecutionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/DescribeRescoreExecutionPlanCommandOutput/)
230
-
231
224
  </details>
232
225
  <details>
233
226
  <summary>
@@ -235,7 +228,6 @@ ListRescoreExecutionPlans
235
228
  </summary>
236
229
 
237
230
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/ListRescoreExecutionPlansCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/ListRescoreExecutionPlansCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/ListRescoreExecutionPlansCommandOutput/)
238
-
239
231
  </details>
240
232
  <details>
241
233
  <summary>
@@ -243,7 +235,6 @@ ListTagsForResource
243
235
  </summary>
244
236
 
245
237
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/ListTagsForResourceCommandOutput/)
246
-
247
238
  </details>
248
239
  <details>
249
240
  <summary>
@@ -251,7 +242,6 @@ Rescore
251
242
  </summary>
252
243
 
253
244
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/RescoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/RescoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/RescoreCommandOutput/)
254
-
255
245
  </details>
256
246
  <details>
257
247
  <summary>
@@ -259,7 +249,6 @@ TagResource
259
249
  </summary>
260
250
 
261
251
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/TagResourceCommandOutput/)
262
-
263
252
  </details>
264
253
  <details>
265
254
  <summary>
@@ -267,7 +256,6 @@ UntagResource
267
256
  </summary>
268
257
 
269
258
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/UntagResourceCommandOutput/)
270
-
271
259
  </details>
272
260
  <details>
273
261
  <summary>
@@ -275,5 +263,4 @@ UpdateRescoreExecutionPlan
275
263
  </summary>
276
264
 
277
265
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kendra-ranking/command/UpdateRescoreExecutionPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/UpdateRescoreExecutionPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kendra-ranking/Interface/UpdateRescoreExecutionPlanCommandOutput/)
278
-
279
266
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultKendraRankingHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultKendraRankingHttpAuthSchemeParametersProvider = defaultKendraRankingHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -313,173 +313,200 @@ const _nT = "nextToken";
313
313
  const _s = "server";
314
314
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kendraranking";
315
315
  const n0 = "com.amazonaws.kendraranking";
316
- var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
316
+ var AccessDeniedException$ = [-3, n0, _ADE,
317
+ { [_e]: _c, [_hE]: 403 },
318
+ [_M],
319
+ [0]
320
+ ];
317
321
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
318
- var CapacityUnitsConfiguration$ = [3, n0, _CUC, 0, [_RCU], [1]];
319
- var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
322
+ var CapacityUnitsConfiguration$ = [3, n0, _CUC,
323
+ 0,
324
+ [_RCU],
325
+ [1]
326
+ ];
327
+ var ConflictException$ = [-3, n0, _CE,
328
+ { [_e]: _c, [_hE]: 409 },
329
+ [_M],
330
+ [0]
331
+ ];
320
332
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
321
- var CreateRescoreExecutionPlanRequest$ = [
322
- 3,
323
- n0,
324
- _CREPR,
333
+ var CreateRescoreExecutionPlanRequest$ = [3, n0, _CREPR,
325
334
  0,
326
335
  [_N, _D, _CU, _T, _CT],
327
- [0, 0, () => CapacityUnitsConfiguration$, () => TagList, [0, 4]],
328
- ];
329
- var CreateRescoreExecutionPlanResponse$ = [3, n0, _CREPRr, 0, [_I, _A], [0, 0]];
330
- var DeleteRescoreExecutionPlanRequest$ = [3, n0, _DREPR, 0, [_I], [[0, 1]]];
331
- var DescribeRescoreExecutionPlanRequest$ = [3, n0, _DREPRe, 0, [_I], [[0, 1]]];
332
- var DescribeRescoreExecutionPlanResponse$ = [
333
- 3,
334
- n0,
335
- _DREPRes,
336
+ [0, 0, () => CapacityUnitsConfiguration$, () => TagList, [0, 4]]
337
+ ];
338
+ var CreateRescoreExecutionPlanResponse$ = [3, n0, _CREPRr,
339
+ 0,
340
+ [_I, _A],
341
+ [0, 0]
342
+ ];
343
+ var DeleteRescoreExecutionPlanRequest$ = [3, n0, _DREPR,
344
+ 0,
345
+ [_I],
346
+ [[0, 1]]
347
+ ];
348
+ var DescribeRescoreExecutionPlanRequest$ = [3, n0, _DREPRe,
349
+ 0,
350
+ [_I],
351
+ [[0, 1]]
352
+ ];
353
+ var DescribeRescoreExecutionPlanResponse$ = [3, n0, _DREPRes,
336
354
  0,
337
355
  [_I, _A, _N, _D, _CU, _CA, _UA, _S, _EM],
338
- [0, 0, 0, 0, () => CapacityUnitsConfiguration$, 4, 4, 0, 0],
356
+ [0, 0, 0, 0, () => CapacityUnitsConfiguration$, 4, 4, 0, 0]
339
357
  ];
340
- var Document$ = [
341
- 3,
342
- n0,
343
- _Do,
358
+ var Document$ = [3, n0, _Do,
344
359
  0,
345
360
  [_I, _GI, _Ti, _B, _TT, _TB, _OS],
346
- [0, 0, 0, 0, 64 | 0, 64 | 0, 1],
361
+ [0, 0, 0, 0, 64 | 0, 64 | 0, 1]
362
+ ];
363
+ var InternalServerException$ = [-3, n0, _ISE,
364
+ { [_e]: _s, [_hE]: 500 },
365
+ [_M],
366
+ [0]
347
367
  ];
348
- var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
349
368
  schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
350
- var ListRescoreExecutionPlansRequest$ = [
351
- 3,
352
- n0,
353
- _LREPR,
369
+ var ListRescoreExecutionPlansRequest$ = [3, n0, _LREPR,
354
370
  0,
355
371
  [_NT, _MR],
356
- [
357
- [0, { [_hQ]: _nT }],
358
- [1, { [_hQ]: _mR }],
359
- ],
360
- ];
361
- var ListRescoreExecutionPlansResponse$ = [
362
- 3,
363
- n0,
364
- _LREPRi,
372
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
373
+ ];
374
+ var ListRescoreExecutionPlansResponse$ = [3, n0, _LREPRi,
365
375
  0,
366
376
  [_SI, _NT],
367
- [() => RescoreExecutionPlanSummaryList, 0],
368
- ];
369
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RARN], [0]];
370
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
371
- var RescoreExecutionPlanSummary$ = [
372
- 3,
373
- n0,
374
- _REPS,
377
+ [() => RescoreExecutionPlanSummaryList, 0]
378
+ ];
379
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
380
+ 0,
381
+ [_RARN],
382
+ [0]
383
+ ];
384
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
385
+ 0,
386
+ [_T],
387
+ [() => TagList]
388
+ ];
389
+ var RescoreExecutionPlanSummary$ = [3, n0, _REPS,
375
390
  0,
376
391
  [_N, _I, _CA, _UA, _S],
377
- [0, 0, 4, 4, 0],
392
+ [0, 0, 4, 4, 0]
378
393
  ];
379
- var RescoreRequest$ = [
380
- 3,
381
- n0,
382
- _RR,
394
+ var RescoreRequest$ = [3, n0, _RR,
383
395
  0,
384
396
  [_REPI, _SQ, _Doc],
385
- [[0, 1], 0, () => DocumentList],
397
+ [[0, 1], 0, () => DocumentList]
398
+ ];
399
+ var RescoreResult$ = [3, n0, _RRe,
400
+ 0,
401
+ [_RI, _RIe],
402
+ [0, () => RescoreResultItemList]
403
+ ];
404
+ var RescoreResultItem$ = [3, n0, _RRI,
405
+ 0,
406
+ [_DI, _Sc],
407
+ [0, 1]
408
+ ];
409
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
410
+ { [_e]: _c, [_hE]: 404 },
411
+ [_M],
412
+ [0]
386
413
  ];
387
- var RescoreResult$ = [3, n0, _RRe, 0, [_RI, _RIe], [0, () => RescoreResultItemList]];
388
- var RescoreResultItem$ = [3, n0, _RRI, 0, [_DI, _Sc], [0, 1]];
389
- var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
390
414
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
391
- var ResourceUnavailableException$ = [-3, n0, _RUE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
415
+ var ResourceUnavailableException$ = [-3, n0, _RUE,
416
+ { [_e]: _c, [_hE]: 404 },
417
+ [_M],
418
+ [0]
419
+ ];
392
420
  schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
393
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
421
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
422
+ { [_e]: _c, [_hE]: 402 },
423
+ [_M],
424
+ [0]
425
+ ];
394
426
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
395
- var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
396
- var TagResourceRequest$ = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
397
- var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
398
- var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
427
+ var Tag$ = [3, n0, _Ta,
428
+ 0,
429
+ [_K, _V],
430
+ [0, 0]
431
+ ];
432
+ var TagResourceRequest$ = [3, n0, _TRR,
433
+ 0,
434
+ [_RARN, _T],
435
+ [0, () => TagList]
436
+ ];
437
+ var TagResourceResponse$ = [3, n0, _TRRa,
438
+ 0,
439
+ [],
440
+ []
441
+ ];
442
+ var ThrottlingException$ = [-3, n0, _TE,
443
+ { [_e]: _c, [_hE]: 429 },
444
+ [_M],
445
+ [0]
446
+ ];
399
447
  schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
400
- var UntagResourceRequest$ = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
401
- var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
402
- var UpdateRescoreExecutionPlanRequest$ = [
403
- 3,
404
- n0,
405
- _UREPR,
448
+ var UntagResourceRequest$ = [3, n0, _URR,
449
+ 0,
450
+ [_RARN, _TK],
451
+ [0, 64 | 0]
452
+ ];
453
+ var UntagResourceResponse$ = [3, n0, _URRn,
454
+ 0,
455
+ [],
456
+ []
457
+ ];
458
+ var UpdateRescoreExecutionPlanRequest$ = [3, n0, _UREPR,
406
459
  0,
407
460
  [_I, _N, _D, _CU],
408
- [[0, 1], 0, 0, () => CapacityUnitsConfiguration$],
461
+ [[0, 1], 0, 0, () => CapacityUnitsConfiguration$]
462
+ ];
463
+ var ValidationException$ = [-3, n0, _VE,
464
+ { [_e]: _c, [_hE]: 400 },
465
+ [_M],
466
+ [0]
409
467
  ];
410
- var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
411
468
  schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
412
469
  var __Unit = "unit";
413
470
  var KendraRankingServiceException$ = [-3, _sm, "KendraRankingServiceException", 0, [], []];
414
471
  schema.TypeRegistry.for(_sm).registerError(KendraRankingServiceException$, KendraRankingServiceException);
415
- var DocumentList = [1, n0, _DL, 0, () => Document$];
416
- var RescoreExecutionPlanSummaryList = [1, n0, _REPSL, 0, () => RescoreExecutionPlanSummary$];
417
- var RescoreResultItemList = [1, n0, _RRIL, 0, () => RescoreResultItem$];
418
- var TagList = [1, n0, _TL, 0, () => Tag$];
419
- var CreateRescoreExecutionPlan$ = [
420
- 9,
421
- n0,
422
- _CREP,
423
- { [_h]: ["POST", "/rescore-execution-plans", 200] },
424
- () => CreateRescoreExecutionPlanRequest$,
425
- () => CreateRescoreExecutionPlanResponse$,
426
- ];
427
- var DeleteRescoreExecutionPlan$ = [
428
- 9,
429
- n0,
430
- _DREP,
431
- { [_h]: ["DELETE", "/rescore-execution-plans/{Id}", 200] },
432
- () => DeleteRescoreExecutionPlanRequest$,
433
- () => __Unit,
434
- ];
435
- var DescribeRescoreExecutionPlan$ = [
436
- 9,
437
- n0,
438
- _DREPe,
439
- { [_h]: ["GET", "/rescore-execution-plans/{Id}", 200] },
440
- () => DescribeRescoreExecutionPlanRequest$,
441
- () => DescribeRescoreExecutionPlanResponse$,
442
- ];
443
- var ListRescoreExecutionPlans$ = [
444
- 9,
445
- n0,
446
- _LREP,
447
- { [_h]: ["GET", "/rescore-execution-plans", 200] },
448
- () => ListRescoreExecutionPlansRequest$,
449
- () => ListRescoreExecutionPlansResponse$,
450
- ];
451
- var ListTagsForResource$ = [
452
- 9,
453
- n0,
454
- _LTFR,
455
- 0,
456
- () => ListTagsForResourceRequest$,
457
- () => ListTagsForResourceResponse$,
458
- ];
459
- var Rescore$ = [
460
- 9,
461
- n0,
462
- _R,
463
- { [_h]: ["POST", "/rescore-execution-plans/{RescoreExecutionPlanId}/rescore", 200] },
464
- () => RescoreRequest$,
465
- () => RescoreResult$,
466
- ];
467
- var TagResource$ = [9, n0, _TR, 0, () => TagResourceRequest$, () => TagResourceResponse$];
468
- var UntagResource$ = [
469
- 9,
470
- n0,
471
- _UR,
472
- 0,
473
- () => UntagResourceRequest$,
474
- () => UntagResourceResponse$,
475
- ];
476
- var UpdateRescoreExecutionPlan$ = [
477
- 9,
478
- n0,
479
- _UREP,
480
- { [_h]: ["PUT", "/rescore-execution-plans/{Id}", 200] },
481
- () => UpdateRescoreExecutionPlanRequest$,
482
- () => __Unit,
472
+ var DocumentList = [1, n0, _DL,
473
+ 0, () => Document$
474
+ ];
475
+ var RescoreExecutionPlanSummaryList = [1, n0, _REPSL,
476
+ 0, () => RescoreExecutionPlanSummary$
477
+ ];
478
+ var RescoreResultItemList = [1, n0, _RRIL,
479
+ 0, () => RescoreResultItem$
480
+ ];
481
+ var TagList = [1, n0, _TL,
482
+ 0, () => Tag$
483
+ ];
484
+ var CreateRescoreExecutionPlan$ = [9, n0, _CREP,
485
+ { [_h]: ["POST", "/rescore-execution-plans", 200] }, () => CreateRescoreExecutionPlanRequest$, () => CreateRescoreExecutionPlanResponse$
486
+ ];
487
+ var DeleteRescoreExecutionPlan$ = [9, n0, _DREP,
488
+ { [_h]: ["DELETE", "/rescore-execution-plans/{Id}", 200] }, () => DeleteRescoreExecutionPlanRequest$, () => __Unit
489
+ ];
490
+ var DescribeRescoreExecutionPlan$ = [9, n0, _DREPe,
491
+ { [_h]: ["GET", "/rescore-execution-plans/{Id}", 200] }, () => DescribeRescoreExecutionPlanRequest$, () => DescribeRescoreExecutionPlanResponse$
492
+ ];
493
+ var ListRescoreExecutionPlans$ = [9, n0, _LREP,
494
+ { [_h]: ["GET", "/rescore-execution-plans", 200] }, () => ListRescoreExecutionPlansRequest$, () => ListRescoreExecutionPlansResponse$
495
+ ];
496
+ var ListTagsForResource$ = [9, n0, _LTFR,
497
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
498
+ ];
499
+ var Rescore$ = [9, n0, _R,
500
+ { [_h]: ["POST", "/rescore-execution-plans/{RescoreExecutionPlanId}/rescore", 200] }, () => RescoreRequest$, () => RescoreResult$
501
+ ];
502
+ var TagResource$ = [9, n0, _TR,
503
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
504
+ ];
505
+ var UntagResource$ = [9, n0, _UR,
506
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
507
+ ];
508
+ var UpdateRescoreExecutionPlan$ = [9, n0, _UREP,
509
+ { [_h]: ["PUT", "/rescore-execution-plans/{Id}", 200] }, () => UpdateRescoreExecutionPlanRequest$, () => __Unit
483
510
  ];
484
511
 
485
512
  class CreateRescoreExecutionPlanCommand extends smithyClient.Command
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultKendraRankingHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
30
30
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
35
34
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
- region: config?.region ??
37
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
38
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
39
37
  retryMode: config?.retryMode ??
40
38
  loadNodeConfig({
@@ -86,174 +86,201 @@ const n0 = "com.amazonaws.kendraranking";
86
86
  import { TypeRegistry } from "@smithy/core/schema";
87
87
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ResourceUnavailableException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
88
88
  import { KendraRankingServiceException } from "../models/KendraRankingServiceException";
89
- export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
89
+ export var AccessDeniedException$ = [-3, n0, _ADE,
90
+ { [_e]: _c, [_hE]: 403 },
91
+ [_M],
92
+ [0]
93
+ ];
90
94
  TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
91
- export var CapacityUnitsConfiguration$ = [3, n0, _CUC, 0, [_RCU], [1]];
92
- export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
95
+ export var CapacityUnitsConfiguration$ = [3, n0, _CUC,
96
+ 0,
97
+ [_RCU],
98
+ [1]
99
+ ];
100
+ export var ConflictException$ = [-3, n0, _CE,
101
+ { [_e]: _c, [_hE]: 409 },
102
+ [_M],
103
+ [0]
104
+ ];
93
105
  TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
94
- export var CreateRescoreExecutionPlanRequest$ = [
95
- 3,
96
- n0,
97
- _CREPR,
106
+ export var CreateRescoreExecutionPlanRequest$ = [3, n0, _CREPR,
98
107
  0,
99
108
  [_N, _D, _CU, _T, _CT],
100
- [0, 0, () => CapacityUnitsConfiguration$, () => TagList, [0, 4]],
101
- ];
102
- export var CreateRescoreExecutionPlanResponse$ = [3, n0, _CREPRr, 0, [_I, _A], [0, 0]];
103
- export var DeleteRescoreExecutionPlanRequest$ = [3, n0, _DREPR, 0, [_I], [[0, 1]]];
104
- export var DescribeRescoreExecutionPlanRequest$ = [3, n0, _DREPRe, 0, [_I], [[0, 1]]];
105
- export var DescribeRescoreExecutionPlanResponse$ = [
106
- 3,
107
- n0,
108
- _DREPRes,
109
+ [0, 0, () => CapacityUnitsConfiguration$, () => TagList, [0, 4]]
110
+ ];
111
+ export var CreateRescoreExecutionPlanResponse$ = [3, n0, _CREPRr,
112
+ 0,
113
+ [_I, _A],
114
+ [0, 0]
115
+ ];
116
+ export var DeleteRescoreExecutionPlanRequest$ = [3, n0, _DREPR,
117
+ 0,
118
+ [_I],
119
+ [[0, 1]]
120
+ ];
121
+ export var DescribeRescoreExecutionPlanRequest$ = [3, n0, _DREPRe,
122
+ 0,
123
+ [_I],
124
+ [[0, 1]]
125
+ ];
126
+ export var DescribeRescoreExecutionPlanResponse$ = [3, n0, _DREPRes,
109
127
  0,
110
128
  [_I, _A, _N, _D, _CU, _CA, _UA, _S, _EM],
111
- [0, 0, 0, 0, () => CapacityUnitsConfiguration$, 4, 4, 0, 0],
129
+ [0, 0, 0, 0, () => CapacityUnitsConfiguration$, 4, 4, 0, 0]
112
130
  ];
113
- export var Document$ = [
114
- 3,
115
- n0,
116
- _Do,
131
+ export var Document$ = [3, n0, _Do,
117
132
  0,
118
133
  [_I, _GI, _Ti, _B, _TT, _TB, _OS],
119
- [0, 0, 0, 0, 64 | 0, 64 | 0, 1],
134
+ [0, 0, 0, 0, 64 | 0, 64 | 0, 1]
135
+ ];
136
+ export var InternalServerException$ = [-3, n0, _ISE,
137
+ { [_e]: _s, [_hE]: 500 },
138
+ [_M],
139
+ [0]
120
140
  ];
121
- export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
122
141
  TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
123
- export var ListRescoreExecutionPlansRequest$ = [
124
- 3,
125
- n0,
126
- _LREPR,
142
+ export var ListRescoreExecutionPlansRequest$ = [3, n0, _LREPR,
127
143
  0,
128
144
  [_NT, _MR],
129
- [
130
- [0, { [_hQ]: _nT }],
131
- [1, { [_hQ]: _mR }],
132
- ],
133
- ];
134
- export var ListRescoreExecutionPlansResponse$ = [
135
- 3,
136
- n0,
137
- _LREPRi,
145
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
146
+ ];
147
+ export var ListRescoreExecutionPlansResponse$ = [3, n0, _LREPRi,
138
148
  0,
139
149
  [_SI, _NT],
140
- [() => RescoreExecutionPlanSummaryList, 0],
141
- ];
142
- export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RARN], [0]];
143
- export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
144
- export var RescoreExecutionPlanSummary$ = [
145
- 3,
146
- n0,
147
- _REPS,
150
+ [() => RescoreExecutionPlanSummaryList, 0]
151
+ ];
152
+ export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
153
+ 0,
154
+ [_RARN],
155
+ [0]
156
+ ];
157
+ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
158
+ 0,
159
+ [_T],
160
+ [() => TagList]
161
+ ];
162
+ export var RescoreExecutionPlanSummary$ = [3, n0, _REPS,
148
163
  0,
149
164
  [_N, _I, _CA, _UA, _S],
150
- [0, 0, 4, 4, 0],
165
+ [0, 0, 4, 4, 0]
151
166
  ];
152
- export var RescoreRequest$ = [
153
- 3,
154
- n0,
155
- _RR,
167
+ export var RescoreRequest$ = [3, n0, _RR,
156
168
  0,
157
169
  [_REPI, _SQ, _Doc],
158
- [[0, 1], 0, () => DocumentList],
170
+ [[0, 1], 0, () => DocumentList]
171
+ ];
172
+ export var RescoreResult$ = [3, n0, _RRe,
173
+ 0,
174
+ [_RI, _RIe],
175
+ [0, () => RescoreResultItemList]
176
+ ];
177
+ export var RescoreResultItem$ = [3, n0, _RRI,
178
+ 0,
179
+ [_DI, _Sc],
180
+ [0, 1]
181
+ ];
182
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
183
+ { [_e]: _c, [_hE]: 404 },
184
+ [_M],
185
+ [0]
159
186
  ];
160
- export var RescoreResult$ = [3, n0, _RRe, 0, [_RI, _RIe], [0, () => RescoreResultItemList]];
161
- export var RescoreResultItem$ = [3, n0, _RRI, 0, [_DI, _Sc], [0, 1]];
162
- export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
163
187
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
164
- export var ResourceUnavailableException$ = [-3, n0, _RUE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
188
+ export var ResourceUnavailableException$ = [-3, n0, _RUE,
189
+ { [_e]: _c, [_hE]: 404 },
190
+ [_M],
191
+ [0]
192
+ ];
165
193
  TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
166
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
194
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
195
+ { [_e]: _c, [_hE]: 402 },
196
+ [_M],
197
+ [0]
198
+ ];
167
199
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
168
- export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
169
- export var TagResourceRequest$ = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
170
- export var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
171
- export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
200
+ export var Tag$ = [3, n0, _Ta,
201
+ 0,
202
+ [_K, _V],
203
+ [0, 0]
204
+ ];
205
+ export var TagResourceRequest$ = [3, n0, _TRR,
206
+ 0,
207
+ [_RARN, _T],
208
+ [0, () => TagList]
209
+ ];
210
+ export var TagResourceResponse$ = [3, n0, _TRRa,
211
+ 0,
212
+ [],
213
+ []
214
+ ];
215
+ export var ThrottlingException$ = [-3, n0, _TE,
216
+ { [_e]: _c, [_hE]: 429 },
217
+ [_M],
218
+ [0]
219
+ ];
172
220
  TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
173
- export var UntagResourceRequest$ = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
174
- export var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
175
- export var UpdateRescoreExecutionPlanRequest$ = [
176
- 3,
177
- n0,
178
- _UREPR,
221
+ export var UntagResourceRequest$ = [3, n0, _URR,
222
+ 0,
223
+ [_RARN, _TK],
224
+ [0, 64 | 0]
225
+ ];
226
+ export var UntagResourceResponse$ = [3, n0, _URRn,
227
+ 0,
228
+ [],
229
+ []
230
+ ];
231
+ export var UpdateRescoreExecutionPlanRequest$ = [3, n0, _UREPR,
179
232
  0,
180
233
  [_I, _N, _D, _CU],
181
- [[0, 1], 0, 0, () => CapacityUnitsConfiguration$],
234
+ [[0, 1], 0, 0, () => CapacityUnitsConfiguration$]
235
+ ];
236
+ export var ValidationException$ = [-3, n0, _VE,
237
+ { [_e]: _c, [_hE]: 400 },
238
+ [_M],
239
+ [0]
182
240
  ];
183
- export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
184
241
  TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
185
242
  var __Unit = "unit";
186
243
  export var KendraRankingServiceException$ = [-3, _sm, "KendraRankingServiceException", 0, [], []];
187
244
  TypeRegistry.for(_sm).registerError(KendraRankingServiceException$, KendraRankingServiceException);
188
245
  var BodyTokensList = 64 | 0;
189
- var DocumentList = [1, n0, _DL, 0, () => Document$];
190
- var RescoreExecutionPlanSummaryList = [1, n0, _REPSL, 0, () => RescoreExecutionPlanSummary$];
191
- var RescoreResultItemList = [1, n0, _RRIL, 0, () => RescoreResultItem$];
246
+ var DocumentList = [1, n0, _DL,
247
+ 0, () => Document$
248
+ ];
249
+ var RescoreExecutionPlanSummaryList = [1, n0, _REPSL,
250
+ 0, () => RescoreExecutionPlanSummary$
251
+ ];
252
+ var RescoreResultItemList = [1, n0, _RRIL,
253
+ 0, () => RescoreResultItem$
254
+ ];
192
255
  var TagKeyList = 64 | 0;
193
- var TagList = [1, n0, _TL, 0, () => Tag$];
256
+ var TagList = [1, n0, _TL,
257
+ 0, () => Tag$
258
+ ];
194
259
  var TitleTokensList = 64 | 0;
195
- export var CreateRescoreExecutionPlan$ = [
196
- 9,
197
- n0,
198
- _CREP,
199
- { [_h]: ["POST", "/rescore-execution-plans", 200] },
200
- () => CreateRescoreExecutionPlanRequest$,
201
- () => CreateRescoreExecutionPlanResponse$,
202
- ];
203
- export var DeleteRescoreExecutionPlan$ = [
204
- 9,
205
- n0,
206
- _DREP,
207
- { [_h]: ["DELETE", "/rescore-execution-plans/{Id}", 200] },
208
- () => DeleteRescoreExecutionPlanRequest$,
209
- () => __Unit,
210
- ];
211
- export var DescribeRescoreExecutionPlan$ = [
212
- 9,
213
- n0,
214
- _DREPe,
215
- { [_h]: ["GET", "/rescore-execution-plans/{Id}", 200] },
216
- () => DescribeRescoreExecutionPlanRequest$,
217
- () => DescribeRescoreExecutionPlanResponse$,
218
- ];
219
- export var ListRescoreExecutionPlans$ = [
220
- 9,
221
- n0,
222
- _LREP,
223
- { [_h]: ["GET", "/rescore-execution-plans", 200] },
224
- () => ListRescoreExecutionPlansRequest$,
225
- () => ListRescoreExecutionPlansResponse$,
226
- ];
227
- export var ListTagsForResource$ = [
228
- 9,
229
- n0,
230
- _LTFR,
231
- 0,
232
- () => ListTagsForResourceRequest$,
233
- () => ListTagsForResourceResponse$,
234
- ];
235
- export var Rescore$ = [
236
- 9,
237
- n0,
238
- _R,
239
- { [_h]: ["POST", "/rescore-execution-plans/{RescoreExecutionPlanId}/rescore", 200] },
240
- () => RescoreRequest$,
241
- () => RescoreResult$,
242
- ];
243
- export var TagResource$ = [9, n0, _TR, 0, () => TagResourceRequest$, () => TagResourceResponse$];
244
- export var UntagResource$ = [
245
- 9,
246
- n0,
247
- _UR,
248
- 0,
249
- () => UntagResourceRequest$,
250
- () => UntagResourceResponse$,
251
- ];
252
- export var UpdateRescoreExecutionPlan$ = [
253
- 9,
254
- n0,
255
- _UREP,
256
- { [_h]: ["PUT", "/rescore-execution-plans/{Id}", 200] },
257
- () => UpdateRescoreExecutionPlanRequest$,
258
- () => __Unit,
260
+ export var CreateRescoreExecutionPlan$ = [9, n0, _CREP,
261
+ { [_h]: ["POST", "/rescore-execution-plans", 200] }, () => CreateRescoreExecutionPlanRequest$, () => CreateRescoreExecutionPlanResponse$
262
+ ];
263
+ export var DeleteRescoreExecutionPlan$ = [9, n0, _DREP,
264
+ { [_h]: ["DELETE", "/rescore-execution-plans/{Id}", 200] }, () => DeleteRescoreExecutionPlanRequest$, () => __Unit
265
+ ];
266
+ export var DescribeRescoreExecutionPlan$ = [9, n0, _DREPe,
267
+ { [_h]: ["GET", "/rescore-execution-plans/{Id}", 200] }, () => DescribeRescoreExecutionPlanRequest$, () => DescribeRescoreExecutionPlanResponse$
268
+ ];
269
+ export var ListRescoreExecutionPlans$ = [9, n0, _LREP,
270
+ { [_h]: ["GET", "/rescore-execution-plans", 200] }, () => ListRescoreExecutionPlansRequest$, () => ListRescoreExecutionPlansResponse$
271
+ ];
272
+ export var ListTagsForResource$ = [9, n0, _LTFR,
273
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
274
+ ];
275
+ export var Rescore$ = [9, n0, _R,
276
+ { [_h]: ["POST", "/rescore-execution-plans/{RescoreExecutionPlanId}/rescore", 200] }, () => RescoreRequest$, () => RescoreResult$
277
+ ];
278
+ export var TagResource$ = [9, n0, _TR,
279
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
280
+ ];
281
+ export var UntagResource$ = [9, n0, _UR,
282
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
283
+ ];
284
+ export var UpdateRescoreExecutionPlan$ = [9, n0, _UREP,
285
+ { [_h]: ["PUT", "/rescore-execution-plans/{Id}", 200] }, () => UpdateRescoreExecutionPlanRequest$, () => __Unit
259
286
  ];
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.957.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kendra-ranking",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",