@aws-sdk/client-kendra-ranking 3.294.0 → 3.296.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 +4 -4
- package/dist-cjs/commands/DeleteRescoreExecutionPlanCommand.js +4 -4
- package/dist-cjs/commands/DescribeRescoreExecutionPlanCommand.js +4 -4
- package/dist-cjs/commands/ListRescoreExecutionPlansCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/RescoreCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateRescoreExecutionPlanCommand.js +4 -4
- package/dist-es/commands/CreateRescoreExecutionPlanCommand.js +4 -4
- package/dist-es/commands/DeleteRescoreExecutionPlanCommand.js +4 -4
- package/dist-es/commands/DescribeRescoreExecutionPlanCommand.js +4 -4
- package/dist-es/commands/ListRescoreExecutionPlansCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/RescoreCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/UpdateRescoreExecutionPlanCommand.js +4 -4
- package/dist-types/KendraRankingClient.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/KendraRankingClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/package.json +36 -36
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class CreateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class CreateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class DeleteRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class DeleteRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class DescribeRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class DescribeRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class ListRescoreExecutionPlansCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class ListRescoreExecutionPlansCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRescoreExecutionPlansCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class RescoreCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class RescoreCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RescoreCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
9
|
class UpdateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18,6 +14,10 @@ class UpdateRescoreExecutionPlanCommand extends smithy_client_1.Command {
|
|
|
18
14
|
Region: { type: "builtInParams", name: "region" },
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
21
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
22
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
23
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { CreateRescoreExecutionPlanRequestFilterSensitiveLog, CreateRescoreExecutionPlanResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0CreateRescoreExecutionPlanCommand, serializeAws_json1_0CreateRescoreExecutionPlanCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class CreateRescoreExecutionPlanCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class CreateRescoreExecutionPlanCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { DeleteRescoreExecutionPlanRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0DeleteRescoreExecutionPlanCommand, serializeAws_json1_0DeleteRescoreExecutionPlanCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class DeleteRescoreExecutionPlanCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class DeleteRescoreExecutionPlanCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { DescribeRescoreExecutionPlanRequestFilterSensitiveLog, DescribeRescoreExecutionPlanResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0DescribeRescoreExecutionPlanCommand, serializeAws_json1_0DescribeRescoreExecutionPlanCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class DescribeRescoreExecutionPlanCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class DescribeRescoreExecutionPlanCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListRescoreExecutionPlansRequestFilterSensitiveLog, ListRescoreExecutionPlansResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0ListRescoreExecutionPlansCommand, serializeAws_json1_0ListRescoreExecutionPlansCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class ListRescoreExecutionPlansCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class ListRescoreExecutionPlansCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListRescoreExecutionPlansCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { RescoreRequestFilterSensitiveLog, RescoreResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0RescoreCommand, serializeAws_json1_0RescoreCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class RescoreCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class RescoreCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, RescoreCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class TagResourceCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateRescoreExecutionPlanRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0UpdateRescoreExecutionPlanCommand, serializeAws_json1_0UpdateRescoreExecutionPlanCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export class UpdateRescoreExecutionPlanCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -15,6 +11,10 @@ export class UpdateRescoreExecutionPlanCommand extends $Command {
|
|
|
15
11
|
Region: { type: "builtInParams", name: "region" },
|
|
16
12
|
};
|
|
17
13
|
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
18
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19
19
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
20
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRescoreExecutionPlanCommand.getEndpointParameterInstructions()));
|
|
@@ -17,8 +17,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
17
17
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
18
|
import { UpdateRescoreExecutionPlanCommandInput, UpdateRescoreExecutionPlanCommandOutput } from "./commands/UpdateRescoreExecutionPlanCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type ServiceInputTypes = CreateRescoreExecutionPlanCommandInput | DeleteRescoreExecutionPlanCommandInput | DescribeRescoreExecutionPlanCommandInput | ListRescoreExecutionPlansCommandInput | ListTagsForResourceCommandInput | RescoreCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateRescoreExecutionPlanCommandInput;
|
|
21
|
+
export type ServiceOutputTypes = CreateRescoreExecutionPlanCommandOutput | DeleteRescoreExecutionPlanCommandOutput | DescribeRescoreExecutionPlanCommandOutput | ListRescoreExecutionPlansCommandOutput | ListTagsForResourceCommandOutput | RescoreCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateRescoreExecutionPlanCommandOutput;
|
|
22
22
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
23
|
/**
|
|
24
24
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -119,13 +119,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
119
119
|
*/
|
|
120
120
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
type KendraRankingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
123
123
|
/**
|
|
124
124
|
* The configuration interface of KendraRankingClient class constructor that set the region, credentials and other options.
|
|
125
125
|
*/
|
|
126
126
|
export interface KendraRankingClientConfig extends KendraRankingClientConfigType {
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
type KendraRankingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
129
129
|
/**
|
|
130
130
|
* The resolved configuration interface of KendraRankingClient class. This is resolved and normalized from the {@link KendraRankingClientConfig | constructor configuration interface}.
|
|
131
131
|
*/
|
|
@@ -4,7 +4,7 @@ export interface ClientInputEndpointParameters {
|
|
|
4
4
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
5
5
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
8
8
|
defaultSigningName: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
ClientResolvedEndpointParameters,
|
|
86
86
|
EndpointParameters,
|
|
87
87
|
} from "./endpoint/EndpointParameters";
|
|
88
|
-
export
|
|
88
|
+
export type ServiceInputTypes =
|
|
89
89
|
| CreateRescoreExecutionPlanCommandInput
|
|
90
90
|
| DeleteRescoreExecutionPlanCommandInput
|
|
91
91
|
| DescribeRescoreExecutionPlanCommandInput
|
|
@@ -95,7 +95,7 @@ export declare type ServiceInputTypes =
|
|
|
95
95
|
| TagResourceCommandInput
|
|
96
96
|
| UntagResourceCommandInput
|
|
97
97
|
| UpdateRescoreExecutionPlanCommandInput;
|
|
98
|
-
export
|
|
98
|
+
export type ServiceOutputTypes =
|
|
99
99
|
| CreateRescoreExecutionPlanCommandOutput
|
|
100
100
|
| DeleteRescoreExecutionPlanCommandOutput
|
|
101
101
|
| DescribeRescoreExecutionPlanCommandOutput
|
|
@@ -129,7 +129,7 @@ export interface ClientDefaults
|
|
|
129
129
|
logger?: __Logger;
|
|
130
130
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
type KendraRankingClientConfigType = Partial<
|
|
133
133
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
134
134
|
> &
|
|
135
135
|
ClientDefaults &
|
|
@@ -142,7 +142,7 @@ declare type KendraRankingClientConfigType = Partial<
|
|
|
142
142
|
ClientInputEndpointParameters;
|
|
143
143
|
export interface KendraRankingClientConfig
|
|
144
144
|
extends KendraRankingClientConfigType {}
|
|
145
|
-
|
|
145
|
+
type KendraRankingClientResolvedConfigType =
|
|
146
146
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
147
147
|
Required<ClientDefaults> &
|
|
148
148
|
RegionResolvedConfig &
|
|
@@ -15,10 +15,9 @@ export interface ClientInputEndpointParameters {
|
|
|
15
15
|
| EndpointV2
|
|
16
16
|
| Provider<EndpointV2>;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
18
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
22
21
|
export declare const resolveClientEndpointParameters: <T>(
|
|
23
22
|
options: T & ClientInputEndpointParameters
|
|
24
23
|
) => T &
|
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.296.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",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
55
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.296.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.296.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
|
+
"tslib": "^2.5.0",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"@types/uuid": "^8.3.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"downlevel-dts": "0.10.1",
|
|
65
65
|
"rimraf": "3.0.2",
|
|
66
66
|
"typedoc": "0.23.23",
|
|
67
|
-
"typescript": "~4.
|
|
67
|
+
"typescript": "~4.9.5"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
70
70
|
"node": ">=14.0.0"
|