@aws-sdk/client-kendra-ranking 3.478.0 → 3.484.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-cjs/commands/CreateRescoreExecutionPlanCommand.js +18 -40
- package/dist-cjs/commands/DeleteRescoreExecutionPlanCommand.js +18 -40
- package/dist-cjs/commands/DescribeRescoreExecutionPlanCommand.js +18 -40
- package/dist-cjs/commands/ListRescoreExecutionPlansCommand.js +18 -40
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -40
- package/dist-cjs/commands/RescoreCommand.js +18 -40
- package/dist-cjs/commands/TagResourceCommand.js +18 -40
- package/dist-cjs/commands/UntagResourceCommand.js +18 -40
- package/dist-cjs/commands/UpdateRescoreExecutionPlanCommand.js +18 -40
- package/dist-cjs/endpoint/EndpointParameters.js +6 -1
- package/dist-es/commands/CreateRescoreExecutionPlanCommand.js +18 -40
- package/dist-es/commands/DeleteRescoreExecutionPlanCommand.js +18 -40
- package/dist-es/commands/DescribeRescoreExecutionPlanCommand.js +18 -40
- package/dist-es/commands/ListRescoreExecutionPlansCommand.js +18 -40
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -40
- package/dist-es/commands/RescoreCommand.js +18 -40
- package/dist-es/commands/TagResourceCommand.js +18 -40
- package/dist-es/commands/UntagResourceCommand.js +18 -40
- package/dist-es/commands/UpdateRescoreExecutionPlanCommand.js +18 -40
- package/dist-es/endpoint/EndpointParameters.js +5 -0
- package/dist-types/commands/CreateRescoreExecutionPlanCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRescoreExecutionPlanCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRescoreExecutionPlanCommand.d.ts +6 -21
- package/dist-types/commands/ListRescoreExecutionPlansCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/RescoreCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRescoreExecutionPlanCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
- package/dist-types/ts3.4/commands/CreateRescoreExecutionPlanCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRescoreExecutionPlanCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRescoreExecutionPlanCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRescoreExecutionPlansCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RescoreCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRescoreExecutionPlanCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
- package/package.json +11 -11
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateRescoreExecutionPlanCommand, se_CreateRescoreExecutionPlanCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateRescoreExecutionPlanCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "CreateRescoreExecutionPlanCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "CreateRescoreExecutionPlan",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_CreateRescoreExecutionPlanCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_CreateRescoreExecutionPlanCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class CreateRescoreExecutionPlanCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "CreateRescoreExecutionPlan", {})
|
|
19
|
+
.n("KendraRankingClient", "CreateRescoreExecutionPlanCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateRescoreExecutionPlanCommand)
|
|
22
|
+
.de(de_CreateRescoreExecutionPlanCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteRescoreExecutionPlanCommand, se_DeleteRescoreExecutionPlanCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteRescoreExecutionPlanCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "DeleteRescoreExecutionPlanCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "DeleteRescoreExecutionPlan",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_DeleteRescoreExecutionPlanCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_DeleteRescoreExecutionPlanCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class DeleteRescoreExecutionPlanCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "DeleteRescoreExecutionPlan", {})
|
|
19
|
+
.n("KendraRankingClient", "DeleteRescoreExecutionPlanCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteRescoreExecutionPlanCommand)
|
|
22
|
+
.de(de_DeleteRescoreExecutionPlanCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeRescoreExecutionPlanCommand, se_DescribeRescoreExecutionPlanCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeRescoreExecutionPlanCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "DescribeRescoreExecutionPlanCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "DescribeRescoreExecutionPlan",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_DescribeRescoreExecutionPlanCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_DescribeRescoreExecutionPlanCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class DescribeRescoreExecutionPlanCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "DescribeRescoreExecutionPlan", {})
|
|
19
|
+
.n("KendraRankingClient", "DescribeRescoreExecutionPlanCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeRescoreExecutionPlanCommand)
|
|
22
|
+
.de(de_DescribeRescoreExecutionPlanCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRescoreExecutionPlansCommand, se_ListRescoreExecutionPlansCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRescoreExecutionPlansCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "ListRescoreExecutionPlansCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "ListRescoreExecutionPlans",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_ListRescoreExecutionPlansCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_ListRescoreExecutionPlansCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class ListRescoreExecutionPlansCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "ListRescoreExecutionPlans", {})
|
|
19
|
+
.n("KendraRankingClient", "ListRescoreExecutionPlansCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRescoreExecutionPlansCommand)
|
|
22
|
+
.de(de_ListRescoreExecutionPlansCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTagsForResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "ListTagsForResourceCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "ListTagsForResource",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_ListTagsForResourceCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_ListTagsForResourceCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "ListTagsForResource", {})
|
|
19
|
+
.n("KendraRankingClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RescoreCommand, se_RescoreCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RescoreCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "RescoreCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "Rescore",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_RescoreCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_RescoreCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class RescoreCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "Rescore", {})
|
|
19
|
+
.n("KendraRankingClient", "RescoreCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RescoreCommand)
|
|
22
|
+
.de(de_RescoreCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "TagResourceCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "TagResource",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_TagResourceCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_TagResourceCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "TagResource", {})
|
|
19
|
+
.n("KendraRankingClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "UntagResourceCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "UntagResource",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_UntagResourceCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_UntagResourceCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "UntagResource", {})
|
|
19
|
+
.n("KendraRankingClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -1,46 +1,24 @@
|
|
|
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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRescoreExecutionPlanCommand, se_UpdateRescoreExecutionPlanCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRescoreExecutionPlanCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const clientName = "KendraRankingClient";
|
|
25
|
-
const commandName = "UpdateRescoreExecutionPlanCommand";
|
|
26
|
-
const handlerExecutionContext = {
|
|
27
|
-
logger,
|
|
28
|
-
clientName,
|
|
29
|
-
commandName,
|
|
30
|
-
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog: (_) => _,
|
|
32
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
33
|
-
service: "AWSKendraRerankingFrontendService",
|
|
34
|
-
operation: "UpdateRescoreExecutionPlan",
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
const { requestHandler } = configuration;
|
|
38
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
-
}
|
|
40
|
-
serialize(input, context) {
|
|
41
|
-
return se_UpdateRescoreExecutionPlanCommand(input, context);
|
|
42
|
-
}
|
|
43
|
-
deserialize(output, context) {
|
|
44
|
-
return de_UpdateRescoreExecutionPlanCommand(output, context);
|
|
45
|
-
}
|
|
7
|
+
export class UpdateRescoreExecutionPlanCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSKendraRerankingFrontendService", "UpdateRescoreExecutionPlan", {})
|
|
19
|
+
.n("KendraRankingClient", "UpdateRescoreExecutionPlanCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRescoreExecutionPlanCommand)
|
|
22
|
+
.de(de_UpdateRescoreExecutionPlanCommand)
|
|
23
|
+
.build() {
|
|
46
24
|
}
|
|
@@ -5,3 +5,8 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
5
5
|
defaultSigningName: "kendra-ranking",
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
export const commonParams = {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
};
|