@aws-sdk/client-kendra-ranking 3.952.0 → 3.953.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.
Files changed (29) hide show
  1. package/dist-cjs/index.js +151 -105
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateRescoreExecutionPlanCommand.js +2 -2
  4. package/dist-es/commands/DeleteRescoreExecutionPlanCommand.js +2 -2
  5. package/dist-es/commands/DescribeRescoreExecutionPlanCommand.js +2 -2
  6. package/dist-es/commands/ListRescoreExecutionPlansCommand.js +2 -2
  7. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  8. package/dist-es/commands/RescoreCommand.js +2 -2
  9. package/dist-es/commands/TagResourceCommand.js +2 -2
  10. package/dist-es/commands/UntagResourceCommand.js +2 -2
  11. package/dist-es/commands/UpdateRescoreExecutionPlanCommand.js +2 -2
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/runtimeConfig.shared.js +6 -6
  14. package/dist-es/schemas/schemas_0.js +83 -76
  15. package/dist-types/KendraRankingClient.d.ts +1 -10
  16. package/dist-types/index.d.ts +1 -0
  17. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  18. package/dist-types/runtimeConfig.d.ts +6 -2
  19. package/dist-types/runtimeConfig.native.d.ts +6 -2
  20. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  21. package/dist-types/schemas/schemas_0.d.ts +40 -48
  22. package/dist-types/ts3.4/KendraRankingClient.d.ts +0 -4
  23. package/dist-types/ts3.4/index.d.ts +1 -0
  24. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  25. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  26. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  27. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  28. package/dist-types/ts3.4/schemas/schemas_0.d.ts +39 -48
  29. package/package.json +34 -34
package/dist-cjs/index.js CHANGED
@@ -108,14 +108,14 @@ class KendraRankingClient extends smithyClient.Client {
108
108
  }
109
109
  }
110
110
 
111
- let KendraRankingServiceException$1 = class KendraRankingServiceException extends smithyClient.ServiceException {
111
+ class KendraRankingServiceException extends smithyClient.ServiceException {
112
112
  constructor(options) {
113
113
  super(options);
114
114
  Object.setPrototypeOf(this, KendraRankingServiceException.prototype);
115
115
  }
116
- };
116
+ }
117
117
 
118
- let AccessDeniedException$1 = class AccessDeniedException extends KendraRankingServiceException$1 {
118
+ class AccessDeniedException extends KendraRankingServiceException {
119
119
  name = "AccessDeniedException";
120
120
  $fault = "client";
121
121
  Message;
@@ -128,8 +128,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends KendraRankingS
128
128
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
129
129
  this.Message = opts.Message;
130
130
  }
131
- };
132
- let ConflictException$1 = class ConflictException extends KendraRankingServiceException$1 {
131
+ }
132
+ class ConflictException extends KendraRankingServiceException {
133
133
  name = "ConflictException";
134
134
  $fault = "client";
135
135
  Message;
@@ -142,8 +142,8 @@ let ConflictException$1 = class ConflictException extends KendraRankingServiceEx
142
142
  Object.setPrototypeOf(this, ConflictException.prototype);
143
143
  this.Message = opts.Message;
144
144
  }
145
- };
146
- let InternalServerException$1 = class InternalServerException extends KendraRankingServiceException$1 {
145
+ }
146
+ class InternalServerException extends KendraRankingServiceException {
147
147
  name = "InternalServerException";
148
148
  $fault = "server";
149
149
  Message;
@@ -156,8 +156,8 @@ let InternalServerException$1 = class InternalServerException extends KendraRank
156
156
  Object.setPrototypeOf(this, InternalServerException.prototype);
157
157
  this.Message = opts.Message;
158
158
  }
159
- };
160
- let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends KendraRankingServiceException$1 {
159
+ }
160
+ class ServiceQuotaExceededException extends KendraRankingServiceException {
161
161
  name = "ServiceQuotaExceededException";
162
162
  $fault = "client";
163
163
  Message;
@@ -170,8 +170,8 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
170
170
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
171
171
  this.Message = opts.Message;
172
172
  }
173
- };
174
- let ThrottlingException$1 = class ThrottlingException extends KendraRankingServiceException$1 {
173
+ }
174
+ class ThrottlingException extends KendraRankingServiceException {
175
175
  name = "ThrottlingException";
176
176
  $fault = "client";
177
177
  Message;
@@ -184,8 +184,8 @@ let ThrottlingException$1 = class ThrottlingException extends KendraRankingServi
184
184
  Object.setPrototypeOf(this, ThrottlingException.prototype);
185
185
  this.Message = opts.Message;
186
186
  }
187
- };
188
- let ValidationException$1 = class ValidationException extends KendraRankingServiceException$1 {
187
+ }
188
+ class ValidationException extends KendraRankingServiceException {
189
189
  name = "ValidationException";
190
190
  $fault = "client";
191
191
  Message;
@@ -198,8 +198,8 @@ let ValidationException$1 = class ValidationException extends KendraRankingServi
198
198
  Object.setPrototypeOf(this, ValidationException.prototype);
199
199
  this.Message = opts.Message;
200
200
  }
201
- };
202
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends KendraRankingServiceException$1 {
201
+ }
202
+ class ResourceNotFoundException extends KendraRankingServiceException {
203
203
  name = "ResourceNotFoundException";
204
204
  $fault = "client";
205
205
  Message;
@@ -212,8 +212,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Kendra
212
212
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
213
213
  this.Message = opts.Message;
214
214
  }
215
- };
216
- let ResourceUnavailableException$1 = class ResourceUnavailableException extends KendraRankingServiceException$1 {
215
+ }
216
+ class ResourceUnavailableException extends KendraRankingServiceException {
217
217
  name = "ResourceUnavailableException";
218
218
  $fault = "client";
219
219
  Message;
@@ -226,7 +226,7 @@ let ResourceUnavailableException$1 = class ResourceUnavailableException extends
226
226
  Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
227
227
  this.Message = opts.Message;
228
228
  }
229
- };
229
+ }
230
230
 
231
231
  const _A = "Arn";
232
232
  const _ADE = "AccessDeniedException";
@@ -313,31 +313,31 @@ 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]];
317
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
318
- var CapacityUnitsConfiguration = [3, n0, _CUC, 0, [_RCU], [1]];
319
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
320
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
321
- var CreateRescoreExecutionPlanRequest = [
316
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
317
+ 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]];
320
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
321
+ var CreateRescoreExecutionPlanRequest$ = [
322
322
  3,
323
323
  n0,
324
324
  _CREPR,
325
325
  0,
326
326
  [_N, _D, _CU, _T, _CT],
327
- [0, 0, () => CapacityUnitsConfiguration, () => TagList, [0, 4]],
327
+ [0, 0, () => CapacityUnitsConfiguration$, () => TagList, [0, 4]],
328
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 = [
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
333
  3,
334
334
  n0,
335
335
  _DREPRes,
336
336
  0,
337
337
  [_I, _A, _N, _D, _CU, _CA, _UA, _S, _EM],
338
- [0, 0, 0, 0, () => CapacityUnitsConfiguration, 4, 4, 0, 0],
338
+ [0, 0, 0, 0, () => CapacityUnitsConfiguration$, 4, 4, 0, 0],
339
339
  ];
340
- var Document = [
340
+ var Document$ = [
341
341
  3,
342
342
  n0,
343
343
  _Do,
@@ -345,9 +345,9 @@ var Document = [
345
345
  [_I, _GI, _Ti, _B, _TT, _TB, _OS],
346
346
  [0, 0, 0, 0, 64 | 0, 64 | 0, 1],
347
347
  ];
348
- var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
349
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
350
- var ListRescoreExecutionPlansRequest = [
348
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
349
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
350
+ var ListRescoreExecutionPlansRequest$ = [
351
351
  3,
352
352
  n0,
353
353
  _LREPR,
@@ -358,7 +358,7 @@ var ListRescoreExecutionPlansRequest = [
358
358
  [1, { [_hQ]: _mR }],
359
359
  ],
360
360
  ];
361
- var ListRescoreExecutionPlansResponse = [
361
+ var ListRescoreExecutionPlansResponse$ = [
362
362
  3,
363
363
  n0,
364
364
  _LREPRi,
@@ -366,9 +366,9 @@ var ListRescoreExecutionPlansResponse = [
366
366
  [_SI, _NT],
367
367
  [() => RescoreExecutionPlanSummaryList, 0],
368
368
  ];
369
- var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
370
- var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
371
- var RescoreExecutionPlanSummary = [
369
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RARN], [0]];
370
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
371
+ var RescoreExecutionPlanSummary$ = [
372
372
  3,
373
373
  n0,
374
374
  _REPS,
@@ -376,102 +376,109 @@ var RescoreExecutionPlanSummary = [
376
376
  [_N, _I, _CA, _UA, _S],
377
377
  [0, 0, 4, 4, 0],
378
378
  ];
379
- var RescoreRequest = [3, n0, _RR, 0, [_REPI, _SQ, _Doc], [[0, 1], 0, () => DocumentList]];
380
- var RescoreResult = [3, n0, _RRe, 0, [_RI, _RIe], [0, () => RescoreResultItemList]];
381
- var RescoreResultItem = [3, n0, _RRI, 0, [_DI, _Sc], [0, 1]];
382
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
383
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
384
- var ResourceUnavailableException = [-3, n0, _RUE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
385
- schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException, ResourceUnavailableException$1);
386
- var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
387
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
388
- var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
389
- var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
390
- var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
391
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
392
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
393
- var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
394
- var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
395
- var UpdateRescoreExecutionPlanRequest = [
379
+ var RescoreRequest$ = [
380
+ 3,
381
+ n0,
382
+ _RR,
383
+ 0,
384
+ [_REPI, _SQ, _Doc],
385
+ [[0, 1], 0, () => DocumentList],
386
+ ];
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
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
391
+ var ResourceUnavailableException$ = [-3, n0, _RUE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
392
+ schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
393
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
394
+ 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]];
399
+ 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$ = [
396
403
  3,
397
404
  n0,
398
405
  _UREPR,
399
406
  0,
400
407
  [_I, _N, _D, _CU],
401
- [[0, 1], 0, 0, () => CapacityUnitsConfiguration],
408
+ [[0, 1], 0, 0, () => CapacityUnitsConfiguration$],
402
409
  ];
403
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
404
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
410
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
411
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
405
412
  var __Unit = "unit";
406
- var KendraRankingServiceException = [-3, _sm, "KendraRankingServiceException", 0, [], []];
407
- schema.TypeRegistry.for(_sm).registerError(KendraRankingServiceException, KendraRankingServiceException$1);
408
- var DocumentList = [1, n0, _DL, 0, () => Document];
409
- var RescoreExecutionPlanSummaryList = [1, n0, _REPSL, 0, () => RescoreExecutionPlanSummary];
410
- var RescoreResultItemList = [1, n0, _RRIL, 0, () => RescoreResultItem];
411
- var TagList = [1, n0, _TL, 0, () => Tag];
412
- var CreateRescoreExecutionPlan = [
413
+ var KendraRankingServiceException$ = [-3, _sm, "KendraRankingServiceException", 0, [], []];
414
+ 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$ = [
413
420
  9,
414
421
  n0,
415
422
  _CREP,
416
423
  { [_h]: ["POST", "/rescore-execution-plans", 200] },
417
- () => CreateRescoreExecutionPlanRequest,
418
- () => CreateRescoreExecutionPlanResponse,
424
+ () => CreateRescoreExecutionPlanRequest$,
425
+ () => CreateRescoreExecutionPlanResponse$,
419
426
  ];
420
- var DeleteRescoreExecutionPlan = [
427
+ var DeleteRescoreExecutionPlan$ = [
421
428
  9,
422
429
  n0,
423
430
  _DREP,
424
431
  { [_h]: ["DELETE", "/rescore-execution-plans/{Id}", 200] },
425
- () => DeleteRescoreExecutionPlanRequest,
432
+ () => DeleteRescoreExecutionPlanRequest$,
426
433
  () => __Unit,
427
434
  ];
428
- var DescribeRescoreExecutionPlan = [
435
+ var DescribeRescoreExecutionPlan$ = [
429
436
  9,
430
437
  n0,
431
438
  _DREPe,
432
439
  { [_h]: ["GET", "/rescore-execution-plans/{Id}", 200] },
433
- () => DescribeRescoreExecutionPlanRequest,
434
- () => DescribeRescoreExecutionPlanResponse,
440
+ () => DescribeRescoreExecutionPlanRequest$,
441
+ () => DescribeRescoreExecutionPlanResponse$,
435
442
  ];
436
- var ListRescoreExecutionPlans = [
443
+ var ListRescoreExecutionPlans$ = [
437
444
  9,
438
445
  n0,
439
446
  _LREP,
440
447
  { [_h]: ["GET", "/rescore-execution-plans", 200] },
441
- () => ListRescoreExecutionPlansRequest,
442
- () => ListRescoreExecutionPlansResponse,
448
+ () => ListRescoreExecutionPlansRequest$,
449
+ () => ListRescoreExecutionPlansResponse$,
443
450
  ];
444
- var ListTagsForResource = [
451
+ var ListTagsForResource$ = [
445
452
  9,
446
453
  n0,
447
454
  _LTFR,
448
455
  0,
449
- () => ListTagsForResourceRequest,
450
- () => ListTagsForResourceResponse,
456
+ () => ListTagsForResourceRequest$,
457
+ () => ListTagsForResourceResponse$,
451
458
  ];
452
- var Rescore = [
459
+ var Rescore$ = [
453
460
  9,
454
461
  n0,
455
462
  _R,
456
463
  { [_h]: ["POST", "/rescore-execution-plans/{RescoreExecutionPlanId}/rescore", 200] },
457
- () => RescoreRequest,
458
- () => RescoreResult,
464
+ () => RescoreRequest$,
465
+ () => RescoreResult$,
459
466
  ];
460
- var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
461
- var UntagResource = [
467
+ var TagResource$ = [9, n0, _TR, 0, () => TagResourceRequest$, () => TagResourceResponse$];
468
+ var UntagResource$ = [
462
469
  9,
463
470
  n0,
464
471
  _UR,
465
472
  0,
466
- () => UntagResourceRequest,
467
- () => UntagResourceResponse,
473
+ () => UntagResourceRequest$,
474
+ () => UntagResourceResponse$,
468
475
  ];
469
- var UpdateRescoreExecutionPlan = [
476
+ var UpdateRescoreExecutionPlan$ = [
470
477
  9,
471
478
  n0,
472
479
  _UREP,
473
480
  { [_h]: ["PUT", "/rescore-execution-plans/{Id}", 200] },
474
- () => UpdateRescoreExecutionPlanRequest,
481
+ () => UpdateRescoreExecutionPlanRequest$,
475
482
  () => __Unit,
476
483
  ];
477
484
 
@@ -483,7 +490,7 @@ class CreateRescoreExecutionPlanCommand extends smithyClient.Command
483
490
  })
484
491
  .s("AWSKendraRerankingFrontendService", "CreateRescoreExecutionPlan", {})
485
492
  .n("KendraRankingClient", "CreateRescoreExecutionPlanCommand")
486
- .sc(CreateRescoreExecutionPlan)
493
+ .sc(CreateRescoreExecutionPlan$)
487
494
  .build() {
488
495
  }
489
496
 
@@ -495,7 +502,7 @@ class DeleteRescoreExecutionPlanCommand extends smithyClient.Command
495
502
  })
496
503
  .s("AWSKendraRerankingFrontendService", "DeleteRescoreExecutionPlan", {})
497
504
  .n("KendraRankingClient", "DeleteRescoreExecutionPlanCommand")
498
- .sc(DeleteRescoreExecutionPlan)
505
+ .sc(DeleteRescoreExecutionPlan$)
499
506
  .build() {
500
507
  }
501
508
 
@@ -507,7 +514,7 @@ class DescribeRescoreExecutionPlanCommand extends smithyClient.Command
507
514
  })
508
515
  .s("AWSKendraRerankingFrontendService", "DescribeRescoreExecutionPlan", {})
509
516
  .n("KendraRankingClient", "DescribeRescoreExecutionPlanCommand")
510
- .sc(DescribeRescoreExecutionPlan)
517
+ .sc(DescribeRescoreExecutionPlan$)
511
518
  .build() {
512
519
  }
513
520
 
@@ -519,7 +526,7 @@ class ListRescoreExecutionPlansCommand extends smithyClient.Command
519
526
  })
520
527
  .s("AWSKendraRerankingFrontendService", "ListRescoreExecutionPlans", {})
521
528
  .n("KendraRankingClient", "ListRescoreExecutionPlansCommand")
522
- .sc(ListRescoreExecutionPlans)
529
+ .sc(ListRescoreExecutionPlans$)
523
530
  .build() {
524
531
  }
525
532
 
@@ -531,7 +538,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
531
538
  })
532
539
  .s("AWSKendraRerankingFrontendService", "ListTagsForResource", {})
533
540
  .n("KendraRankingClient", "ListTagsForResourceCommand")
534
- .sc(ListTagsForResource)
541
+ .sc(ListTagsForResource$)
535
542
  .build() {
536
543
  }
537
544
 
@@ -543,7 +550,7 @@ class RescoreCommand extends smithyClient.Command
543
550
  })
544
551
  .s("AWSKendraRerankingFrontendService", "Rescore", {})
545
552
  .n("KendraRankingClient", "RescoreCommand")
546
- .sc(Rescore)
553
+ .sc(Rescore$)
547
554
  .build() {
548
555
  }
549
556
 
@@ -555,7 +562,7 @@ class TagResourceCommand extends smithyClient.Command
555
562
  })
556
563
  .s("AWSKendraRerankingFrontendService", "TagResource", {})
557
564
  .n("KendraRankingClient", "TagResourceCommand")
558
- .sc(TagResource)
565
+ .sc(TagResource$)
559
566
  .build() {
560
567
  }
561
568
 
@@ -567,7 +574,7 @@ class UntagResourceCommand extends smithyClient.Command
567
574
  })
568
575
  .s("AWSKendraRerankingFrontendService", "UntagResource", {})
569
576
  .n("KendraRankingClient", "UntagResourceCommand")
570
- .sc(UntagResource)
577
+ .sc(UntagResource$)
571
578
  .build() {
572
579
  }
573
580
 
@@ -579,7 +586,7 @@ class UpdateRescoreExecutionPlanCommand extends smithyClient.Command
579
586
  })
580
587
  .s("AWSKendraRerankingFrontendService", "UpdateRescoreExecutionPlan", {})
581
588
  .n("KendraRankingClient", "UpdateRescoreExecutionPlanCommand")
582
- .sc(UpdateRescoreExecutionPlan)
589
+ .sc(UpdateRescoreExecutionPlan$)
583
590
  .build() {
584
591
  }
585
592
 
@@ -616,25 +623,64 @@ Object.defineProperty(exports, "__Client", {
616
623
  enumerable: true,
617
624
  get: function () { return smithyClient.Client; }
618
625
  });
619
- exports.AccessDeniedException = AccessDeniedException$1;
620
- exports.ConflictException = ConflictException$1;
626
+ exports.AccessDeniedException = AccessDeniedException;
627
+ exports.AccessDeniedException$ = AccessDeniedException$;
628
+ exports.CapacityUnitsConfiguration$ = CapacityUnitsConfiguration$;
629
+ exports.ConflictException = ConflictException;
630
+ exports.ConflictException$ = ConflictException$;
631
+ exports.CreateRescoreExecutionPlan$ = CreateRescoreExecutionPlan$;
621
632
  exports.CreateRescoreExecutionPlanCommand = CreateRescoreExecutionPlanCommand;
633
+ exports.CreateRescoreExecutionPlanRequest$ = CreateRescoreExecutionPlanRequest$;
634
+ exports.CreateRescoreExecutionPlanResponse$ = CreateRescoreExecutionPlanResponse$;
635
+ exports.DeleteRescoreExecutionPlan$ = DeleteRescoreExecutionPlan$;
622
636
  exports.DeleteRescoreExecutionPlanCommand = DeleteRescoreExecutionPlanCommand;
637
+ exports.DeleteRescoreExecutionPlanRequest$ = DeleteRescoreExecutionPlanRequest$;
638
+ exports.DescribeRescoreExecutionPlan$ = DescribeRescoreExecutionPlan$;
623
639
  exports.DescribeRescoreExecutionPlanCommand = DescribeRescoreExecutionPlanCommand;
624
- exports.InternalServerException = InternalServerException$1;
640
+ exports.DescribeRescoreExecutionPlanRequest$ = DescribeRescoreExecutionPlanRequest$;
641
+ exports.DescribeRescoreExecutionPlanResponse$ = DescribeRescoreExecutionPlanResponse$;
642
+ exports.Document$ = Document$;
643
+ exports.InternalServerException = InternalServerException;
644
+ exports.InternalServerException$ = InternalServerException$;
625
645
  exports.KendraRanking = KendraRanking;
626
646
  exports.KendraRankingClient = KendraRankingClient;
627
- exports.KendraRankingServiceException = KendraRankingServiceException$1;
647
+ exports.KendraRankingServiceException = KendraRankingServiceException;
648
+ exports.KendraRankingServiceException$ = KendraRankingServiceException$;
649
+ exports.ListRescoreExecutionPlans$ = ListRescoreExecutionPlans$;
628
650
  exports.ListRescoreExecutionPlansCommand = ListRescoreExecutionPlansCommand;
651
+ exports.ListRescoreExecutionPlansRequest$ = ListRescoreExecutionPlansRequest$;
652
+ exports.ListRescoreExecutionPlansResponse$ = ListRescoreExecutionPlansResponse$;
653
+ exports.ListTagsForResource$ = ListTagsForResource$;
629
654
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
655
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
656
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
657
+ exports.Rescore$ = Rescore$;
630
658
  exports.RescoreCommand = RescoreCommand;
631
659
  exports.RescoreExecutionPlanStatus = RescoreExecutionPlanStatus;
632
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
633
- exports.ResourceUnavailableException = ResourceUnavailableException$1;
634
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
660
+ exports.RescoreExecutionPlanSummary$ = RescoreExecutionPlanSummary$;
661
+ exports.RescoreRequest$ = RescoreRequest$;
662
+ exports.RescoreResult$ = RescoreResult$;
663
+ exports.RescoreResultItem$ = RescoreResultItem$;
664
+ exports.ResourceNotFoundException = ResourceNotFoundException;
665
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
666
+ exports.ResourceUnavailableException = ResourceUnavailableException;
667
+ exports.ResourceUnavailableException$ = ResourceUnavailableException$;
668
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
669
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
670
+ exports.Tag$ = Tag$;
671
+ exports.TagResource$ = TagResource$;
635
672
  exports.TagResourceCommand = TagResourceCommand;
636
- exports.ThrottlingException = ThrottlingException$1;
673
+ exports.TagResourceRequest$ = TagResourceRequest$;
674
+ exports.TagResourceResponse$ = TagResourceResponse$;
675
+ exports.ThrottlingException = ThrottlingException;
676
+ exports.ThrottlingException$ = ThrottlingException$;
677
+ exports.UntagResource$ = UntagResource$;
637
678
  exports.UntagResourceCommand = UntagResourceCommand;
679
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
680
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
681
+ exports.UpdateRescoreExecutionPlan$ = UpdateRescoreExecutionPlan$;
638
682
  exports.UpdateRescoreExecutionPlanCommand = UpdateRescoreExecutionPlanCommand;
639
- exports.ValidationException = ValidationException$1;
683
+ exports.UpdateRescoreExecutionPlanRequest$ = UpdateRescoreExecutionPlanRequest$;
684
+ exports.ValidationException = ValidationException;
685
+ exports.ValidationException$ = ValidationException$;
640
686
  exports.paginateListRescoreExecutionPlans = paginateListRescoreExecutionPlans;
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.kendraranking",
32
- serviceTarget: "AWSKendraRerankingFrontendService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.kendraranking",
32
+ version: "2022-10-19",
33
+ serviceTarget: "AWSKendraRerankingFrontendService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Kendra Ranking",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  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 { CreateRescoreExecutionPlan } from "../schemas/schemas_0";
4
+ import { CreateRescoreExecutionPlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateRescoreExecutionPlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateRescoreExecutionPlanCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "CreateRescoreExecutionPlan", {})
13
13
  .n("KendraRankingClient", "CreateRescoreExecutionPlanCommand")
14
- .sc(CreateRescoreExecutionPlan)
14
+ .sc(CreateRescoreExecutionPlan$)
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 { DeleteRescoreExecutionPlan } from "../schemas/schemas_0";
4
+ import { DeleteRescoreExecutionPlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteRescoreExecutionPlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteRescoreExecutionPlanCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "DeleteRescoreExecutionPlan", {})
13
13
  .n("KendraRankingClient", "DeleteRescoreExecutionPlanCommand")
14
- .sc(DeleteRescoreExecutionPlan)
14
+ .sc(DeleteRescoreExecutionPlan$)
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 { DescribeRescoreExecutionPlan } from "../schemas/schemas_0";
4
+ import { DescribeRescoreExecutionPlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeRescoreExecutionPlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeRescoreExecutionPlanCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "DescribeRescoreExecutionPlan", {})
13
13
  .n("KendraRankingClient", "DescribeRescoreExecutionPlanCommand")
14
- .sc(DescribeRescoreExecutionPlan)
14
+ .sc(DescribeRescoreExecutionPlan$)
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 { ListRescoreExecutionPlans } from "../schemas/schemas_0";
4
+ import { ListRescoreExecutionPlans$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRescoreExecutionPlansCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRescoreExecutionPlansCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "ListRescoreExecutionPlans", {})
13
13
  .n("KendraRankingClient", "ListRescoreExecutionPlansCommand")
14
- .sc(ListRescoreExecutionPlans)
14
+ .sc(ListRescoreExecutionPlans$)
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 { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "ListTagsForResource", {})
13
13
  .n("KendraRankingClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
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 { Rescore } from "../schemas/schemas_0";
4
+ import { Rescore$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RescoreCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RescoreCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "Rescore", {})
13
13
  .n("KendraRankingClient", "RescoreCommand")
14
- .sc(Rescore)
14
+ .sc(Rescore$)
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 { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "TagResource", {})
13
13
  .n("KendraRankingClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
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 { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSKendraRerankingFrontendService", "UntagResource", {})
13
13
  .n("KendraRankingClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }