@aws-sdk/client-kendra-ranking 3.296.0 → 3.297.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/KendraRanking.d.ts +10 -0
- package/dist-types/KendraRankingClient.d.ts +24 -4
- package/dist-types/commands/CreateRescoreExecutionPlanCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRescoreExecutionPlanCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRescoreExecutionPlanCommand.d.ts +16 -0
- package/dist-types/commands/ListRescoreExecutionPlansCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/RescoreCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRescoreExecutionPlanCommand.d.ts +16 -0
- package/dist-types/models/KendraRankingServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +52 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListRescoreExecutionPlansPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -10,12 +10,14 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
10
10
|
import { UpdateRescoreExecutionPlanCommandInput, UpdateRescoreExecutionPlanCommandOutput } from "./commands/UpdateRescoreExecutionPlanCommand";
|
|
11
11
|
import { KendraRankingClient } from "./KendraRankingClient";
|
|
12
12
|
/**
|
|
13
|
+
* @public
|
|
13
14
|
* <p>Amazon Kendra Intelligent Ranking uses Amazon Kendra
|
|
14
15
|
* semantic search capabilities to intelligently re-rank a search
|
|
15
16
|
* service's results.</p>
|
|
16
17
|
*/
|
|
17
18
|
export declare class KendraRanking extends KendraRankingClient {
|
|
18
19
|
/**
|
|
20
|
+
* @public
|
|
19
21
|
* <p>Creates a rescore execution plan. A rescore execution
|
|
20
22
|
* plan is an Amazon Kendra Intelligent Ranking resource
|
|
21
23
|
* used for provisioning the <code>Rescore</code> API. You set
|
|
@@ -31,6 +33,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
31
33
|
createRescoreExecutionPlan(args: CreateRescoreExecutionPlanCommandInput, cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void): void;
|
|
32
34
|
createRescoreExecutionPlan(args: CreateRescoreExecutionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRescoreExecutionPlanCommandOutput) => void): void;
|
|
33
35
|
/**
|
|
36
|
+
* @public
|
|
34
37
|
* <p>Deletes a rescore execution plan. A rescore execution
|
|
35
38
|
* plan is an Amazon Kendra Intelligent Ranking resource
|
|
36
39
|
* used for provisioning the <code>Rescore</code> API.</p>
|
|
@@ -39,6 +42,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
39
42
|
deleteRescoreExecutionPlan(args: DeleteRescoreExecutionPlanCommandInput, cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void): void;
|
|
40
43
|
deleteRescoreExecutionPlan(args: DeleteRescoreExecutionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRescoreExecutionPlanCommandOutput) => void): void;
|
|
41
44
|
/**
|
|
45
|
+
* @public
|
|
42
46
|
* <p>Gets information about a rescore execution plan. A rescore
|
|
43
47
|
* execution plan is an Amazon Kendra Intelligent Ranking
|
|
44
48
|
* resource used for provisioning the <code>Rescore</code> API.</p>
|
|
@@ -47,6 +51,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
47
51
|
describeRescoreExecutionPlan(args: DescribeRescoreExecutionPlanCommandInput, cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void): void;
|
|
48
52
|
describeRescoreExecutionPlan(args: DescribeRescoreExecutionPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRescoreExecutionPlanCommandOutput) => void): void;
|
|
49
53
|
/**
|
|
54
|
+
* @public
|
|
50
55
|
* <p>Lists your rescore execution plans. A rescore execution plan
|
|
51
56
|
* is an Amazon Kendra Intelligent Ranking resource used for
|
|
52
57
|
* provisioning the <code>Rescore</code> API.</p>
|
|
@@ -55,6 +60,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
55
60
|
listRescoreExecutionPlans(args: ListRescoreExecutionPlansCommandInput, cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void): void;
|
|
56
61
|
listRescoreExecutionPlans(args: ListRescoreExecutionPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRescoreExecutionPlansCommandOutput) => void): void;
|
|
57
62
|
/**
|
|
63
|
+
* @public
|
|
58
64
|
* <p>Gets a list of tags associated with a specified resource.
|
|
59
65
|
* A rescore execution plan is an example of a resource that
|
|
60
66
|
* can have tags associated with it.</p>
|
|
@@ -63,6 +69,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
63
69
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
64
70
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
65
71
|
/**
|
|
72
|
+
* @public
|
|
66
73
|
* <p>Rescores or re-ranks search results from a search service
|
|
67
74
|
* such as OpenSearch (self managed). You use the semantic search
|
|
68
75
|
* capabilities of Amazon Kendra Intelligent Ranking to
|
|
@@ -72,6 +79,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
72
79
|
rescore(args: RescoreCommandInput, cb: (err: any, data?: RescoreCommandOutput) => void): void;
|
|
73
80
|
rescore(args: RescoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RescoreCommandOutput) => void): void;
|
|
74
81
|
/**
|
|
82
|
+
* @public
|
|
75
83
|
* <p>Adds a specified tag to a specified rescore execution
|
|
76
84
|
* plan. A rescore execution plan is an Amazon Kendra
|
|
77
85
|
* Intelligent Ranking resource used for provisioning the
|
|
@@ -82,6 +90,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
82
90
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
83
91
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
84
92
|
/**
|
|
93
|
+
* @public
|
|
85
94
|
* <p>Removes a tag from a rescore execution plan. A rescore
|
|
86
95
|
* execution plan is an Amazon Kendra Intelligent
|
|
87
96
|
* Ranking resource used for provisioning the
|
|
@@ -91,6 +100,7 @@ export declare class KendraRanking extends KendraRankingClient {
|
|
|
91
100
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
92
101
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
93
102
|
/**
|
|
103
|
+
* @public
|
|
94
104
|
* <p>Updates a rescore execution plan. A rescore execution plan
|
|
95
105
|
* is an Amazon Kendra Intelligent Ranking resource used for
|
|
96
106
|
* provisioning the <code>Rescore</code> API. You can update the
|
|
@@ -17,15 +17,24 @@ 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
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
20
23
|
export type ServiceInputTypes = CreateRescoreExecutionPlanCommandInput | DeleteRescoreExecutionPlanCommandInput | DescribeRescoreExecutionPlanCommandInput | ListRescoreExecutionPlansCommandInput | ListTagsForResourceCommandInput | RescoreCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateRescoreExecutionPlanCommandInput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
21
27
|
export type ServiceOutputTypes = CreateRescoreExecutionPlanCommandOutput | DeleteRescoreExecutionPlanCommandOutput | DescribeRescoreExecutionPlanCommandOutput | ListRescoreExecutionPlansCommandOutput | ListTagsForResourceCommandOutput | RescoreCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateRescoreExecutionPlanCommandOutput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
22
31
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
32
|
/**
|
|
24
33
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
25
34
|
*/
|
|
26
35
|
requestHandler?: __HttpHandler;
|
|
27
36
|
/**
|
|
28
|
-
* A constructor for a class implementing the {@link
|
|
37
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
29
38
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
30
39
|
* @internal
|
|
31
40
|
*/
|
|
@@ -115,23 +124,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
115
124
|
*/
|
|
116
125
|
logger?: __Logger;
|
|
117
126
|
/**
|
|
118
|
-
* The {@link
|
|
127
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
119
128
|
*/
|
|
120
129
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
122
134
|
type KendraRankingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
123
135
|
/**
|
|
124
|
-
*
|
|
136
|
+
* @public
|
|
137
|
+
*
|
|
138
|
+
* The configuration interface of KendraRankingClient class constructor that set the region, credentials and other options.
|
|
125
139
|
*/
|
|
126
140
|
export interface KendraRankingClientConfig extends KendraRankingClientConfigType {
|
|
127
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
128
145
|
type KendraRankingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
129
146
|
/**
|
|
130
|
-
*
|
|
147
|
+
* @public
|
|
148
|
+
*
|
|
149
|
+
* The resolved configuration interface of KendraRankingClient class. This is resolved and normalized from the {@link KendraRankingClientConfig | constructor configuration interface}.
|
|
131
150
|
*/
|
|
132
151
|
export interface KendraRankingClientResolvedConfig extends KendraRankingClientResolvedConfigType {
|
|
133
152
|
}
|
|
134
153
|
/**
|
|
154
|
+
* @public
|
|
135
155
|
* <p>Amazon Kendra Intelligent Ranking uses Amazon Kendra
|
|
136
156
|
* semantic search capabilities to intelligently re-rank a search
|
|
137
157
|
* service's results.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { CreateRescoreExecutionPlanRequest, CreateRescoreExecutionPlanResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateRescoreExecutionPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateRescoreExecutionPlanCommandInput extends CreateRescoreExecutionPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateRescoreExecutionPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateRescoreExecutionPlanCommandOutput extends CreateRescoreExecutionPlanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a rescore execution plan. A rescore execution
|
|
18
23
|
* plan is an Amazon Kendra Intelligent Ranking resource
|
|
19
24
|
* used for provisioning the <code>Rescore</code> API. You set
|
|
@@ -34,6 +39,8 @@ export interface CreateRescoreExecutionPlanCommandOutput extends CreateRescoreEx
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param CreateRescoreExecutionPlanCommandInput - {@link CreateRescoreExecutionPlanCommandInput}
|
|
43
|
+
* @returns {@link CreateRescoreExecutionPlanCommandOutput}
|
|
37
44
|
* @see {@link CreateRescoreExecutionPlanCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link CreateRescoreExecutionPlanCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -75,11 +82,20 @@ export interface CreateRescoreExecutionPlanCommandOutput extends CreateRescoreEx
|
|
|
75
82
|
export declare class CreateRescoreExecutionPlanCommand extends $Command<CreateRescoreExecutionPlanCommandInput, CreateRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig> {
|
|
76
83
|
readonly input: CreateRescoreExecutionPlanCommandInput;
|
|
77
84
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
78
88
|
constructor(input: CreateRescoreExecutionPlanCommandInput);
|
|
79
89
|
/**
|
|
80
90
|
* @internal
|
|
81
91
|
*/
|
|
82
92
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRescoreExecutionPlanCommandInput, CreateRescoreExecutionPlanCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
83
96
|
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
84
100
|
private deserialize;
|
|
85
101
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { DeleteRescoreExecutionPlanRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteRescoreExecutionPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteRescoreExecutionPlanCommandInput extends DeleteRescoreExecutionPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteRescoreExecutionPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteRescoreExecutionPlanCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a rescore execution plan. A rescore execution
|
|
18
23
|
* plan is an Amazon Kendra Intelligent Ranking resource
|
|
19
24
|
* used for provisioning the <code>Rescore</code> API.</p>
|
|
@@ -27,6 +32,8 @@ export interface DeleteRescoreExecutionPlanCommandOutput extends __MetadataBeare
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param DeleteRescoreExecutionPlanCommandInput - {@link DeleteRescoreExecutionPlanCommandInput}
|
|
36
|
+
* @returns {@link DeleteRescoreExecutionPlanCommandOutput}
|
|
30
37
|
* @see {@link DeleteRescoreExecutionPlanCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link DeleteRescoreExecutionPlanCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -66,11 +73,20 @@ export interface DeleteRescoreExecutionPlanCommandOutput extends __MetadataBeare
|
|
|
66
73
|
export declare class DeleteRescoreExecutionPlanCommand extends $Command<DeleteRescoreExecutionPlanCommandInput, DeleteRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig> {
|
|
67
74
|
readonly input: DeleteRescoreExecutionPlanCommandInput;
|
|
68
75
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
69
79
|
constructor(input: DeleteRescoreExecutionPlanCommandInput);
|
|
70
80
|
/**
|
|
71
81
|
* @internal
|
|
72
82
|
*/
|
|
73
83
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRescoreExecutionPlanCommandInput, DeleteRescoreExecutionPlanCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
74
87
|
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
75
91
|
private deserialize;
|
|
76
92
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { DescribeRescoreExecutionPlanRequest, DescribeRescoreExecutionPlanResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeRescoreExecutionPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeRescoreExecutionPlanCommandInput extends DescribeRescoreExecutionPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeRescoreExecutionPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeRescoreExecutionPlanCommandOutput extends DescribeRescoreExecutionPlanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets information about a rescore execution plan. A rescore
|
|
18
23
|
* execution plan is an Amazon Kendra Intelligent Ranking
|
|
19
24
|
* resource used for provisioning the <code>Rescore</code> API.</p>
|
|
@@ -27,6 +32,8 @@ export interface DescribeRescoreExecutionPlanCommandOutput extends DescribeResco
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param DescribeRescoreExecutionPlanCommandInput - {@link DescribeRescoreExecutionPlanCommandInput}
|
|
36
|
+
* @returns {@link DescribeRescoreExecutionPlanCommandOutput}
|
|
30
37
|
* @see {@link DescribeRescoreExecutionPlanCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link DescribeRescoreExecutionPlanCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -62,11 +69,20 @@ export interface DescribeRescoreExecutionPlanCommandOutput extends DescribeResco
|
|
|
62
69
|
export declare class DescribeRescoreExecutionPlanCommand extends $Command<DescribeRescoreExecutionPlanCommandInput, DescribeRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig> {
|
|
63
70
|
readonly input: DescribeRescoreExecutionPlanCommandInput;
|
|
64
71
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
65
75
|
constructor(input: DescribeRescoreExecutionPlanCommandInput);
|
|
66
76
|
/**
|
|
67
77
|
* @internal
|
|
68
78
|
*/
|
|
69
79
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRescoreExecutionPlanCommandInput, DescribeRescoreExecutionPlanCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
70
83
|
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
71
87
|
private deserialize;
|
|
72
88
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { ListRescoreExecutionPlansRequest, ListRescoreExecutionPlansResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListRescoreExecutionPlansCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListRescoreExecutionPlansCommandInput extends ListRescoreExecutionPlansRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListRescoreExecutionPlansCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListRescoreExecutionPlansCommandOutput extends ListRescoreExecutionPlansResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists your rescore execution plans. A rescore execution plan
|
|
18
23
|
* is an Amazon Kendra Intelligent Ranking resource used for
|
|
19
24
|
* provisioning the <code>Rescore</code> API.</p>
|
|
@@ -27,6 +32,8 @@ export interface ListRescoreExecutionPlansCommandOutput extends ListRescoreExecu
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param ListRescoreExecutionPlansCommandInput - {@link ListRescoreExecutionPlansCommandInput}
|
|
36
|
+
* @returns {@link ListRescoreExecutionPlansCommandOutput}
|
|
30
37
|
* @see {@link ListRescoreExecutionPlansCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link ListRescoreExecutionPlansCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface ListRescoreExecutionPlansCommandOutput extends ListRescoreExecu
|
|
|
57
64
|
export declare class ListRescoreExecutionPlansCommand extends $Command<ListRescoreExecutionPlansCommandInput, ListRescoreExecutionPlansCommandOutput, KendraRankingClientResolvedConfig> {
|
|
58
65
|
readonly input: ListRescoreExecutionPlansCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: ListRescoreExecutionPlansCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRescoreExecutionPlansCommandInput, ListRescoreExecutionPlansCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets a list of tags associated with a specified resource.
|
|
18
23
|
* A rescore execution plan is an example of a resource that
|
|
19
24
|
* can have tags associated with it.</p>
|
|
@@ -27,6 +32,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
36
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
30
37
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -62,11 +69,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
62
69
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, KendraRankingClientResolvedConfig> {
|
|
63
70
|
readonly input: ListTagsForResourceCommandInput;
|
|
64
71
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
65
75
|
constructor(input: ListTagsForResourceCommandInput);
|
|
66
76
|
/**
|
|
67
77
|
* @internal
|
|
68
78
|
*/
|
|
69
79
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
70
83
|
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
71
87
|
private deserialize;
|
|
72
88
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { RescoreRequest, RescoreResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RescoreCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RescoreCommandInput extends RescoreRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RescoreCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Rescores or re-ranks search results from a search service
|
|
18
23
|
* such as OpenSearch (self managed). You use the semantic search
|
|
19
24
|
* capabilities of Amazon Kendra Intelligent Ranking to
|
|
@@ -28,6 +33,8 @@ export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param RescoreCommandInput - {@link RescoreCommandInput}
|
|
37
|
+
* @returns {@link RescoreCommandOutput}
|
|
31
38
|
* @see {@link RescoreCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link RescoreCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -67,11 +74,20 @@ export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {
|
|
|
67
74
|
export declare class RescoreCommand extends $Command<RescoreCommandInput, RescoreCommandOutput, KendraRankingClientResolvedConfig> {
|
|
68
75
|
readonly input: RescoreCommandInput;
|
|
69
76
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
70
80
|
constructor(input: RescoreCommandInput);
|
|
71
81
|
/**
|
|
72
82
|
* @internal
|
|
73
83
|
*/
|
|
74
84
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RescoreCommandInput, RescoreCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
75
88
|
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
76
92
|
private deserialize;
|
|
77
93
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds a specified tag to a specified rescore execution
|
|
18
23
|
* plan. A rescore execution plan is an Amazon Kendra
|
|
19
24
|
* Intelligent Ranking resource used for provisioning the
|
|
@@ -29,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
38
|
+
* @returns {@link TagResourceCommandOutput}
|
|
32
39
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -64,11 +71,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
64
71
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, KendraRankingClientResolvedConfig> {
|
|
65
72
|
readonly input: TagResourceCommandInput;
|
|
66
73
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
67
77
|
constructor(input: TagResourceCommandInput);
|
|
68
78
|
/**
|
|
69
79
|
* @internal
|
|
70
80
|
*/
|
|
71
81
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
72
85
|
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
73
89
|
private deserialize;
|
|
74
90
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes a tag from a rescore execution plan. A rescore
|
|
18
23
|
* execution plan is an Amazon Kendra Intelligent
|
|
19
24
|
* Ranking resource used for provisioning the
|
|
@@ -28,6 +33,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
37
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
31
38
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -63,11 +70,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
63
70
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, KendraRankingClientResolvedConfig> {
|
|
64
71
|
readonly input: UntagResourceCommandInput;
|
|
65
72
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
66
76
|
constructor(input: UntagResourceCommandInput);
|
|
67
77
|
/**
|
|
68
78
|
* @internal
|
|
69
79
|
*/
|
|
70
80
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
71
84
|
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
72
88
|
private deserialize;
|
|
73
89
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KendraRankingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraRankingClient";
|
|
5
5
|
import { UpdateRescoreExecutionPlanRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateRescoreExecutionPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateRescoreExecutionPlanCommandInput extends UpdateRescoreExecutionPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateRescoreExecutionPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateRescoreExecutionPlanCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a rescore execution plan. A rescore execution plan
|
|
18
23
|
* is an Amazon Kendra Intelligent Ranking resource used for
|
|
19
24
|
* provisioning the <code>Rescore</code> API. You can update the
|
|
@@ -30,6 +35,8 @@ export interface UpdateRescoreExecutionPlanCommandOutput extends __MetadataBeare
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param UpdateRescoreExecutionPlanCommandInput - {@link UpdateRescoreExecutionPlanCommandInput}
|
|
39
|
+
* @returns {@link UpdateRescoreExecutionPlanCommandOutput}
|
|
33
40
|
* @see {@link UpdateRescoreExecutionPlanCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link UpdateRescoreExecutionPlanCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link KendraRankingClientResolvedConfig | config} for KendraRankingClient's `config` shape.
|
|
@@ -76,11 +83,20 @@ export interface UpdateRescoreExecutionPlanCommandOutput extends __MetadataBeare
|
|
|
76
83
|
export declare class UpdateRescoreExecutionPlanCommand extends $Command<UpdateRescoreExecutionPlanCommandInput, UpdateRescoreExecutionPlanCommandOutput, KendraRankingClientResolvedConfig> {
|
|
77
84
|
readonly input: UpdateRescoreExecutionPlanCommandInput;
|
|
78
85
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
79
89
|
constructor(input: UpdateRescoreExecutionPlanCommandInput);
|
|
80
90
|
/**
|
|
81
91
|
* @internal
|
|
82
92
|
*/
|
|
83
93
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraRankingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRescoreExecutionPlanCommandInput, UpdateRescoreExecutionPlanCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
84
97
|
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
85
101
|
private deserialize;
|
|
86
102
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from KendraRanking service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class KendraRankingServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You don’t have sufficient access to perform this action.
|
|
5
6
|
* Please ensure you have the required permission policies
|
|
6
7
|
* and user accounts and try again.</p>
|
|
@@ -15,6 +16,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
15
16
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
17
|
}
|
|
17
18
|
/**
|
|
19
|
+
* @public
|
|
18
20
|
* <p>A conflict occurred with the request. Please fix any
|
|
19
21
|
* inconsistencies with your resources and try again.</p>
|
|
20
22
|
*/
|
|
@@ -28,6 +30,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
28
30
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
33
|
+
* @public
|
|
31
34
|
* <p>Sets additional capacity units configured for your
|
|
32
35
|
* rescore execution plan. A rescore execution plan is an
|
|
33
36
|
* Amazon Kendra Intelligent Ranking resource used for
|
|
@@ -45,6 +48,7 @@ export interface CapacityUnitsConfiguration {
|
|
|
45
48
|
RescoreCapacityUnits: number | undefined;
|
|
46
49
|
}
|
|
47
50
|
/**
|
|
51
|
+
* @public
|
|
48
52
|
* <p>A key-value pair that identifies or categorizes a rescore
|
|
49
53
|
* execution plan. A rescore execution plan is an
|
|
50
54
|
* Amazon Kendra Intelligent Ranking resource used for
|
|
@@ -65,6 +69,9 @@ export interface Tag {
|
|
|
65
69
|
*/
|
|
66
70
|
Value: string | undefined;
|
|
67
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
68
75
|
export interface CreateRescoreExecutionPlanRequest {
|
|
69
76
|
/**
|
|
70
77
|
* <p>A name for the rescore execution plan.</p>
|
|
@@ -100,6 +107,9 @@ export interface CreateRescoreExecutionPlanRequest {
|
|
|
100
107
|
*/
|
|
101
108
|
ClientToken?: string;
|
|
102
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
103
113
|
export interface CreateRescoreExecutionPlanResponse {
|
|
104
114
|
/**
|
|
105
115
|
* <p>The identifier of the rescore execution plan.</p>
|
|
@@ -112,6 +122,7 @@ export interface CreateRescoreExecutionPlanResponse {
|
|
|
112
122
|
Arn: string | undefined;
|
|
113
123
|
}
|
|
114
124
|
/**
|
|
125
|
+
* @public
|
|
115
126
|
* <p>An issue occurred with the internal server used for
|
|
116
127
|
* your Amazon Kendra Intelligent Ranking service.
|
|
117
128
|
* Please wait a few minutes and try again, or contact
|
|
@@ -128,6 +139,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
128
139
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
129
140
|
}
|
|
130
141
|
/**
|
|
142
|
+
* @public
|
|
131
143
|
* <p>You have exceeded the set limits for your
|
|
132
144
|
* Amazon Kendra Intelligent Ranking service. Please
|
|
133
145
|
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a>
|
|
@@ -144,6 +156,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
144
156
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
145
157
|
}
|
|
146
158
|
/**
|
|
159
|
+
* @public
|
|
147
160
|
* <p>The request was denied due to request throttling.
|
|
148
161
|
* Please reduce the number of requests and try again.</p>
|
|
149
162
|
*/
|
|
@@ -157,6 +170,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
157
170
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
158
171
|
}
|
|
159
172
|
/**
|
|
173
|
+
* @public
|
|
160
174
|
* <p>The input fails to satisfy the constraints set by
|
|
161
175
|
* the Amazon Kendra Intelligent Ranking service.
|
|
162
176
|
* Please provide the correct input and try again.</p>
|
|
@@ -170,6 +184,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
170
184
|
*/
|
|
171
185
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
172
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
173
190
|
export interface DeleteRescoreExecutionPlanRequest {
|
|
174
191
|
/**
|
|
175
192
|
* <p>The identifier of the rescore execution plan that you
|
|
@@ -178,6 +195,7 @@ export interface DeleteRescoreExecutionPlanRequest {
|
|
|
178
195
|
Id: string | undefined;
|
|
179
196
|
}
|
|
180
197
|
/**
|
|
198
|
+
* @public
|
|
181
199
|
* <p>The resource you want to use doesn't exist. Please
|
|
182
200
|
* check you have provided the correct resource and try
|
|
183
201
|
* again.</p>
|
|
@@ -191,6 +209,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
191
209
|
*/
|
|
192
210
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
193
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
194
215
|
export interface DescribeRescoreExecutionPlanRequest {
|
|
195
216
|
/**
|
|
196
217
|
* <p>The identifier of the rescore execution plan that you want
|
|
@@ -198,6 +219,9 @@ export interface DescribeRescoreExecutionPlanRequest {
|
|
|
198
219
|
*/
|
|
199
220
|
Id: string | undefined;
|
|
200
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
201
225
|
export declare enum RescoreExecutionPlanStatus {
|
|
202
226
|
ACTIVE = "ACTIVE",
|
|
203
227
|
CREATING = "CREATING",
|
|
@@ -205,6 +229,9 @@ export declare enum RescoreExecutionPlanStatus {
|
|
|
205
229
|
FAILED = "FAILED",
|
|
206
230
|
UPDATING = "UPDATING"
|
|
207
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
208
235
|
export interface DescribeRescoreExecutionPlanResponse {
|
|
209
236
|
/**
|
|
210
237
|
* <p>The identifier of the rescore execution plan.</p>
|
|
@@ -256,6 +283,9 @@ export interface DescribeRescoreExecutionPlanResponse {
|
|
|
256
283
|
*/
|
|
257
284
|
ErrorMessage?: string;
|
|
258
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
259
289
|
export interface ListRescoreExecutionPlansRequest {
|
|
260
290
|
/**
|
|
261
291
|
* <p>If the response is truncated, Amazon Kendra Intelligent
|
|
@@ -270,6 +300,7 @@ export interface ListRescoreExecutionPlansRequest {
|
|
|
270
300
|
MaxResults?: number;
|
|
271
301
|
}
|
|
272
302
|
/**
|
|
303
|
+
* @public
|
|
273
304
|
* <p>Summary information for a rescore execution plan. A rescore
|
|
274
305
|
* execution plan is an Amazon Kendra Intelligent Ranking
|
|
275
306
|
* resource used for provisioning the <code>Rescore</code> API.</p>
|
|
@@ -300,6 +331,9 @@ export interface RescoreExecutionPlanSummary {
|
|
|
300
331
|
*/
|
|
301
332
|
Status?: RescoreExecutionPlanStatus | string;
|
|
302
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
303
337
|
export interface ListRescoreExecutionPlansResponse {
|
|
304
338
|
/**
|
|
305
339
|
* <p>An array of summary information for one or more rescore
|
|
@@ -313,6 +347,7 @@ export interface ListRescoreExecutionPlansResponse {
|
|
|
313
347
|
NextToken?: string;
|
|
314
348
|
}
|
|
315
349
|
/**
|
|
350
|
+
* @public
|
|
316
351
|
* <p>The request information for listing tags associated with
|
|
317
352
|
* a rescore execution plan. A rescore execution plan is an
|
|
318
353
|
* Amazon Kendra Intelligent Ranking resource used for
|
|
@@ -326,6 +361,7 @@ export interface ListTagsForResourceRequest {
|
|
|
326
361
|
ResourceARN: string | undefined;
|
|
327
362
|
}
|
|
328
363
|
/**
|
|
364
|
+
* @public
|
|
329
365
|
* <p>If the action is successful, the service sends back an
|
|
330
366
|
* HTTP 200 response.</p>
|
|
331
367
|
*/
|
|
@@ -337,6 +373,7 @@ export interface ListTagsForResourceResponse {
|
|
|
337
373
|
Tags?: Tag[];
|
|
338
374
|
}
|
|
339
375
|
/**
|
|
376
|
+
* @public
|
|
340
377
|
* <p>The resource you want to use is unavailable. Please
|
|
341
378
|
* check you have provided the correct resource
|
|
342
379
|
* information and try again.</p>
|
|
@@ -351,6 +388,7 @@ export declare class ResourceUnavailableException extends __BaseException {
|
|
|
351
388
|
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
352
389
|
}
|
|
353
390
|
/**
|
|
391
|
+
* @public
|
|
354
392
|
* <p>Information about a document from a search service such
|
|
355
393
|
* as OpenSearch (self managed). Amazon Kendra Intelligent
|
|
356
394
|
* Ranking uses this information to rank and score on.</p>
|
|
@@ -395,6 +433,9 @@ export interface Document {
|
|
|
395
433
|
*/
|
|
396
434
|
OriginalScore: number | undefined;
|
|
397
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
398
439
|
export interface RescoreRequest {
|
|
399
440
|
/**
|
|
400
441
|
* <p>The identifier of the rescore execution plan. A rescore
|
|
@@ -413,6 +454,7 @@ export interface RescoreRequest {
|
|
|
413
454
|
Documents: Document[] | undefined;
|
|
414
455
|
}
|
|
415
456
|
/**
|
|
457
|
+
* @public
|
|
416
458
|
* <p>A result item for a document with a new relevancy score.</p>
|
|
417
459
|
*/
|
|
418
460
|
export interface RescoreResultItem {
|
|
@@ -426,6 +468,9 @@ export interface RescoreResultItem {
|
|
|
426
468
|
*/
|
|
427
469
|
Score?: number;
|
|
428
470
|
}
|
|
471
|
+
/**
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
429
474
|
export interface RescoreResult {
|
|
430
475
|
/**
|
|
431
476
|
* <p>The identifier associated with the scores that
|
|
@@ -441,6 +486,7 @@ export interface RescoreResult {
|
|
|
441
486
|
ResultItems?: RescoreResultItem[];
|
|
442
487
|
}
|
|
443
488
|
/**
|
|
489
|
+
* @public
|
|
444
490
|
* <p>The request information for tagging a rescore execution
|
|
445
491
|
* plan. A rescore execution plan is an Amazon Kendra
|
|
446
492
|
* Intelligent Ranking resource used for provisioning the
|
|
@@ -460,12 +506,14 @@ export interface TagResourceRequest {
|
|
|
460
506
|
Tags: Tag[] | undefined;
|
|
461
507
|
}
|
|
462
508
|
/**
|
|
509
|
+
* @public
|
|
463
510
|
* <p>If the action is successful, the service sends back an
|
|
464
511
|
* HTTP 200 response with an empty HTTP body.</p>
|
|
465
512
|
*/
|
|
466
513
|
export interface TagResourceResponse {
|
|
467
514
|
}
|
|
468
515
|
/**
|
|
516
|
+
* @public
|
|
469
517
|
* <p>The request information to remove a tag from a rescore
|
|
470
518
|
* execution plan. A rescore execution plan is an
|
|
471
519
|
* Amazon Kendra Intelligent Ranking resource used for
|
|
@@ -485,11 +533,15 @@ export interface UntagResourceRequest {
|
|
|
485
533
|
TagKeys: string[] | undefined;
|
|
486
534
|
}
|
|
487
535
|
/**
|
|
536
|
+
* @public
|
|
488
537
|
* <p>If the action is successful, the service sends back an
|
|
489
538
|
* HTTP 200 response with an empty HTTP body.</p>
|
|
490
539
|
*/
|
|
491
540
|
export interface UntagResourceResponse {
|
|
492
541
|
}
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
493
545
|
export interface UpdateRescoreExecutionPlanRequest {
|
|
494
546
|
/**
|
|
495
547
|
* <p>The identifier of the rescore execution plan that you want
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { KendraRankingClient } from "../KendraRankingClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface KendraRankingPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: KendraRankingClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRescoreExecutionPlansCommandInput, ListRescoreExecutionPlansCommandOutput } from "../commands/ListRescoreExecutionPlansCommand";
|
|
3
3
|
import { KendraRankingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRescoreExecutionPlans(config: KendraRankingPaginationConfiguration, input: ListRescoreExecutionPlansCommandInput, ...additionalArguments: any): Paginator<ListRescoreExecutionPlansCommandOutput>;
|
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.297.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,9 +20,9 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|