@aws-sdk/client-kendra-ranking 3.300.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateRescoreExecutionPlanCommand.d.ts +4 -4
- package/dist-types/commands/DeleteRescoreExecutionPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRescoreExecutionPlanCommand.d.ts +1 -1
- package/dist-types/commands/ListRescoreExecutionPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RescoreCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRescoreExecutionPlanCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -35,14 +35,14 @@ export interface CreateRescoreExecutionPlanCommandOutput extends CreateRescoreEx
|
|
|
35
35
|
* import { KendraRankingClient, CreateRescoreExecutionPlanCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
36
36
|
* // const { KendraRankingClient, CreateRescoreExecutionPlanCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
37
37
|
* const client = new KendraRankingClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // CreateRescoreExecutionPlanRequest
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
40
|
* Description: "STRING_VALUE",
|
|
41
|
-
* CapacityUnits: {
|
|
41
|
+
* CapacityUnits: { // CapacityUnitsConfiguration
|
|
42
42
|
* RescoreCapacityUnits: Number("int"), // required
|
|
43
43
|
* },
|
|
44
|
-
* Tags: [
|
|
45
|
-
* {
|
|
44
|
+
* Tags: [ // TagList
|
|
45
|
+
* { // Tag
|
|
46
46
|
* Key: "STRING_VALUE", // required
|
|
47
47
|
* Value: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
@@ -28,7 +28,7 @@ export interface DeleteRescoreExecutionPlanCommandOutput extends __MetadataBeare
|
|
|
28
28
|
* import { KendraRankingClient, DeleteRescoreExecutionPlanCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
29
29
|
* // const { KendraRankingClient, DeleteRescoreExecutionPlanCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
30
30
|
* const client = new KendraRankingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteRescoreExecutionPlanRequest
|
|
32
32
|
* Id: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteRescoreExecutionPlanCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface DescribeRescoreExecutionPlanCommandOutput extends DescribeResco
|
|
|
28
28
|
* import { KendraRankingClient, DescribeRescoreExecutionPlanCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
29
29
|
* // const { KendraRankingClient, DescribeRescoreExecutionPlanCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
30
30
|
* const client = new KendraRankingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeRescoreExecutionPlanRequest
|
|
32
32
|
* Id: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribeRescoreExecutionPlanCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface ListRescoreExecutionPlansCommandOutput extends ListRescoreExecu
|
|
|
28
28
|
* import { KendraRankingClient, ListRescoreExecutionPlansCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
29
29
|
* // const { KendraRankingClient, ListRescoreExecutionPlansCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
30
30
|
* const client = new KendraRankingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListRescoreExecutionPlansRequest
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
33
33
|
* MaxResults: Number("int"),
|
|
34
34
|
* };
|
|
@@ -28,7 +28,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
28
28
|
* import { KendraRankingClient, ListTagsForResourceCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
29
29
|
* // const { KendraRankingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
30
30
|
* const client = new KendraRankingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListTagsForResourceRequest
|
|
32
32
|
* ResourceARN: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -29,19 +29,19 @@ export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {
|
|
|
29
29
|
* import { KendraRankingClient, RescoreCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
30
30
|
* // const { KendraRankingClient, RescoreCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
31
31
|
* const client = new KendraRankingClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // RescoreRequest
|
|
33
33
|
* RescoreExecutionPlanId: "STRING_VALUE", // required
|
|
34
34
|
* SearchQuery: "STRING_VALUE", // required
|
|
35
|
-
* Documents: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* Documents: [ // DocumentList // required
|
|
36
|
+
* { // Document
|
|
37
37
|
* Id: "STRING_VALUE", // required
|
|
38
38
|
* GroupId: "STRING_VALUE",
|
|
39
39
|
* Title: "STRING_VALUE",
|
|
40
40
|
* Body: "STRING_VALUE",
|
|
41
|
-
* TokenizedTitle: [
|
|
41
|
+
* TokenizedTitle: [ // TitleTokensList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
|
-
* TokenizedBody: [
|
|
44
|
+
* TokenizedBody: [ // BodyTokensList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* OriginalScore: Number("float"), // required
|
|
@@ -30,10 +30,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* import { KendraRankingClient, TagResourceCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
31
31
|
* // const { KendraRankingClient, TagResourceCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
32
32
|
* const client = new KendraRankingClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
34
|
* ResourceARN: "STRING_VALUE", // required
|
|
35
|
-
* Tags: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* Tags: [ // TagList // required
|
|
36
|
+
* { // Tag
|
|
37
37
|
* Key: "STRING_VALUE", // required
|
|
38
38
|
* Value: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
@@ -29,9 +29,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* import { KendraRankingClient, UntagResourceCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
30
30
|
* // const { KendraRankingClient, UntagResourceCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
31
31
|
* const client = new KendraRankingClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // UntagResourceRequest
|
|
33
33
|
* ResourceARN: "STRING_VALUE", // required
|
|
34
|
-
* TagKeys: [ // required
|
|
34
|
+
* TagKeys: [ // TagKeyList // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -31,11 +31,11 @@ export interface UpdateRescoreExecutionPlanCommandOutput extends __MetadataBeare
|
|
|
31
31
|
* import { KendraRankingClient, UpdateRescoreExecutionPlanCommand } from "@aws-sdk/client-kendra-ranking"; // ES Modules import
|
|
32
32
|
* // const { KendraRankingClient, UpdateRescoreExecutionPlanCommand } = require("@aws-sdk/client-kendra-ranking"); // CommonJS import
|
|
33
33
|
* const client = new KendraRankingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // UpdateRescoreExecutionPlanRequest
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
36
|
* Name: "STRING_VALUE",
|
|
37
37
|
* Description: "STRING_VALUE",
|
|
38
|
-
* CapacityUnits: {
|
|
38
|
+
* CapacityUnits: { // CapacityUnitsConfiguration
|
|
39
39
|
* RescoreCapacityUnits: Number("int"), // required
|
|
40
40
|
* },
|
|
41
41
|
* };
|
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.
|
|
4
|
+
"version": "3.301.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|