@aws-sdk/client-kendra-ranking 3.414.0 → 3.421.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 +7 -7
- package/dist-cjs/commands/CreateRescoreExecutionPlanCommand.js +5 -0
- package/dist-cjs/commands/DeleteRescoreExecutionPlanCommand.js +5 -0
- package/dist-cjs/commands/DescribeRescoreExecutionPlanCommand.js +5 -0
- package/dist-cjs/commands/ListRescoreExecutionPlansCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/RescoreCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateRescoreExecutionPlanCommand.js +5 -0
- package/dist-es/commands/CreateRescoreExecutionPlanCommand.js +5 -0
- package/dist-es/commands/DeleteRescoreExecutionPlanCommand.js +5 -0
- package/dist-es/commands/DescribeRescoreExecutionPlanCommand.js +5 -0
- package/dist-es/commands/ListRescoreExecutionPlansCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/RescoreCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateRescoreExecutionPlanCommand.js +5 -0
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -25,16 +25,16 @@ using your favorite package manager:
|
|
|
25
25
|
|
|
26
26
|
The AWS SDK is modulized by clients and commands.
|
|
27
27
|
To send a request, you only need to import the `KendraRankingClient` and
|
|
28
|
-
the commands you need, for example `
|
|
28
|
+
the commands you need, for example `ListRescoreExecutionPlansCommand`:
|
|
29
29
|
|
|
30
30
|
```js
|
|
31
31
|
// ES5 example
|
|
32
|
-
const { KendraRankingClient,
|
|
32
|
+
const { KendraRankingClient, ListRescoreExecutionPlansCommand } = require("@aws-sdk/client-kendra-ranking");
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
```ts
|
|
36
36
|
// ES6+ example
|
|
37
|
-
import { KendraRankingClient,
|
|
37
|
+
import { KendraRankingClient, ListRescoreExecutionPlansCommand } from "@aws-sdk/client-kendra-ranking";
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
### Usage
|
|
@@ -53,7 +53,7 @@ const client = new KendraRankingClient({ region: "REGION" });
|
|
|
53
53
|
const params = {
|
|
54
54
|
/** input parameters */
|
|
55
55
|
};
|
|
56
|
-
const command = new
|
|
56
|
+
const command = new ListRescoreExecutionPlansCommand(params);
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
#### Async/await
|
|
@@ -132,7 +132,7 @@ const client = new AWS.KendraRanking({ region: "REGION" });
|
|
|
132
132
|
|
|
133
133
|
// async/await.
|
|
134
134
|
try {
|
|
135
|
-
const data = await client.
|
|
135
|
+
const data = await client.listRescoreExecutionPlans(params);
|
|
136
136
|
// process data.
|
|
137
137
|
} catch (error) {
|
|
138
138
|
// error handling.
|
|
@@ -140,7 +140,7 @@ try {
|
|
|
140
140
|
|
|
141
141
|
// Promises.
|
|
142
142
|
client
|
|
143
|
-
.
|
|
143
|
+
.listRescoreExecutionPlans(params)
|
|
144
144
|
.then((data) => {
|
|
145
145
|
// process data.
|
|
146
146
|
})
|
|
@@ -149,7 +149,7 @@ client
|
|
|
149
149
|
});
|
|
150
150
|
|
|
151
151
|
// callbacks.
|
|
152
|
-
client.
|
|
152
|
+
client.listRescoreExecutionPlans(params, (err, data) => {
|
|
153
153
|
// process err and data.
|
|
154
154
|
});
|
|
155
155
|
```
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class CreateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class CreateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "CreateRescoreExecutionPlan",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class DeleteRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class DeleteRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "DeleteRescoreExecutionPlan",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class DescribeRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class DescribeRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "DescribeRescoreExecutionPlan",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class ListRescoreExecutionPlansCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class ListRescoreExecutionPlansCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "ListRescoreExecutionPlans",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "ListTagsForResource",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class RescoreCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class RescoreCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "Rescore",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "TagResource",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "UntagResource",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
10
|
class UpdateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,6 +32,10 @@ class UpdateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: (_) => _,
|
|
33
34
|
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSKendraRerankingFrontendService",
|
|
37
|
+
operation: "UpdateRescoreExecutionPlan",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_CreateRescoreExecutionPlanCommand, se_CreateRescoreExecutionPlanCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class CreateRescoreExecutionPlanCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class CreateRescoreExecutionPlanCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "CreateRescoreExecutionPlan",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_DeleteRescoreExecutionPlanCommand, se_DeleteRescoreExecutionPlanCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class DeleteRescoreExecutionPlanCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class DeleteRescoreExecutionPlanCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "DeleteRescoreExecutionPlan",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_DescribeRescoreExecutionPlanCommand, se_DescribeRescoreExecutionPlanCommand, } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class DescribeRescoreExecutionPlanCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class DescribeRescoreExecutionPlanCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "DescribeRescoreExecutionPlan",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListRescoreExecutionPlansCommand, se_ListRescoreExecutionPlansCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListRescoreExecutionPlansCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class ListRescoreExecutionPlansCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "ListRescoreExecutionPlans",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "ListTagsForResource",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_RescoreCommand, se_RescoreCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RescoreCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class RescoreCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "Rescore",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class TagResourceCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "TagResource",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "UntagResource",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateRescoreExecutionPlanCommand, se_UpdateRescoreExecutionPlanCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateRescoreExecutionPlanCommand extends $Command {
|
|
@@ -28,6 +29,10 @@ export class UpdateRescoreExecutionPlanCommand extends $Command {
|
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
31
|
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
+
service: "AWSKendraRerankingFrontendService",
|
|
34
|
+
operation: "UpdateRescoreExecutionPlan",
|
|
35
|
+
},
|
|
31
36
|
};
|
|
32
37
|
const { requestHandler } = configuration;
|
|
33
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
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.421.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,39 +21,39 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.1.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.421.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.421.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|