@aws-sdk/client-kendra-ranking 3.247.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.
Files changed (111) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +207 -0
  3. package/dist-cjs/KendraRanking.js +142 -0
  4. package/dist-cjs/KendraRankingClient.js +40 -0
  5. package/dist-cjs/commands/CreateRescoreExecutionPlanCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteRescoreExecutionPlanCommand.js +45 -0
  7. package/dist-cjs/commands/DescribeRescoreExecutionPlanCommand.js +45 -0
  8. package/dist-cjs/commands/ListRescoreExecutionPlansCommand.js +45 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  10. package/dist-cjs/commands/RescoreCommand.js +45 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  12. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  13. package/dist-cjs/commands/UpdateRescoreExecutionPlanCommand.js +45 -0
  14. package/dist-cjs/commands/index.js +12 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/index.js +11 -0
  19. package/dist-cjs/models/KendraRankingServiceException.js +11 -0
  20. package/dist-cjs/models/index.js +4 -0
  21. package/dist-cjs/models/models_0.js +208 -0
  22. package/dist-cjs/pagination/Interfaces.js +2 -0
  23. package/dist-cjs/pagination/ListRescoreExecutionPlansPaginator.js +36 -0
  24. package/dist-cjs/pagination/index.js +5 -0
  25. package/dist-cjs/protocols/Aws_json1_0.js +928 -0
  26. package/dist-cjs/runtimeConfig.browser.js +42 -0
  27. package/dist-cjs/runtimeConfig.js +51 -0
  28. package/dist-cjs/runtimeConfig.native.js +15 -0
  29. package/dist-cjs/runtimeConfig.shared.js +18 -0
  30. package/dist-es/KendraRanking.js +138 -0
  31. package/dist-es/KendraRankingClient.js +36 -0
  32. package/dist-es/commands/CreateRescoreExecutionPlanCommand.js +41 -0
  33. package/dist-es/commands/DeleteRescoreExecutionPlanCommand.js +41 -0
  34. package/dist-es/commands/DescribeRescoreExecutionPlanCommand.js +41 -0
  35. package/dist-es/commands/ListRescoreExecutionPlansCommand.js +41 -0
  36. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  37. package/dist-es/commands/RescoreCommand.js +41 -0
  38. package/dist-es/commands/TagResourceCommand.js +41 -0
  39. package/dist-es/commands/UntagResourceCommand.js +41 -0
  40. package/dist-es/commands/UpdateRescoreExecutionPlanCommand.js +41 -0
  41. package/dist-es/commands/index.js +9 -0
  42. package/dist-es/endpoint/EndpointParameters.js +7 -0
  43. package/dist-es/endpoint/endpointResolver.js +8 -0
  44. package/dist-es/endpoint/ruleset.js +4 -0
  45. package/dist-es/index.js +6 -0
  46. package/dist-es/models/KendraRankingServiceException.js +7 -0
  47. package/dist-es/models/index.js +1 -0
  48. package/dist-es/models/models_0.js +176 -0
  49. package/dist-es/pagination/Interfaces.js +1 -0
  50. package/dist-es/pagination/ListRescoreExecutionPlansPaginator.js +32 -0
  51. package/dist-es/pagination/index.js +2 -0
  52. package/dist-es/protocols/Aws_json1_0.js +907 -0
  53. package/dist-es/runtimeConfig.browser.js +37 -0
  54. package/dist-es/runtimeConfig.js +46 -0
  55. package/dist-es/runtimeConfig.native.js +11 -0
  56. package/dist-es/runtimeConfig.shared.js +14 -0
  57. package/dist-types/KendraRanking.d.ts +104 -0
  58. package/dist-types/KendraRankingClient.d.ts +152 -0
  59. package/dist-types/commands/CreateRescoreExecutionPlanCommand.d.ts +46 -0
  60. package/dist-types/commands/DeleteRescoreExecutionPlanCommand.d.ts +39 -0
  61. package/dist-types/commands/DescribeRescoreExecutionPlanCommand.d.ts +39 -0
  62. package/dist-types/commands/ListRescoreExecutionPlansCommand.d.ts +39 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
  64. package/dist-types/commands/RescoreCommand.d.ts +40 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +41 -0
  66. package/dist-types/commands/UntagResourceCommand.d.ts +40 -0
  67. package/dist-types/commands/UpdateRescoreExecutionPlanCommand.d.ts +42 -0
  68. package/dist-types/commands/index.d.ts +9 -0
  69. package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
  70. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  71. package/dist-types/endpoint/ruleset.d.ts +2 -0
  72. package/dist-types/index.d.ts +6 -0
  73. package/dist-types/models/KendraRankingServiceException.d.ts +10 -0
  74. package/dist-types/models/index.d.ts +1 -0
  75. package/dist-types/models/models_0.d.ts +600 -0
  76. package/dist-types/pagination/Interfaces.d.ts +6 -0
  77. package/dist-types/pagination/ListRescoreExecutionPlansPaginator.d.ts +4 -0
  78. package/dist-types/pagination/index.d.ts +2 -0
  79. package/dist-types/protocols/Aws_json1_0.d.ts +29 -0
  80. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  81. package/dist-types/runtimeConfig.d.ts +42 -0
  82. package/dist-types/runtimeConfig.native.d.ts +41 -0
  83. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  84. package/dist-types/ts3.4/KendraRanking.d.ts +157 -0
  85. package/dist-types/ts3.4/KendraRankingClient.d.ts +166 -0
  86. package/dist-types/ts3.4/commands/CreateRescoreExecutionPlanCommand.d.ts +41 -0
  87. package/dist-types/ts3.4/commands/DeleteRescoreExecutionPlanCommand.d.ts +37 -0
  88. package/dist-types/ts3.4/commands/DescribeRescoreExecutionPlanCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/ListRescoreExecutionPlansCommand.d.ts +41 -0
  90. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/RescoreCommand.d.ts +32 -0
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  94. package/dist-types/ts3.4/commands/UpdateRescoreExecutionPlanCommand.d.ts +37 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  96. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  97. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  98. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  99. package/dist-types/ts3.4/index.d.ts +6 -0
  100. package/dist-types/ts3.4/models/KendraRankingServiceException.d.ts +7 -0
  101. package/dist-types/ts3.4/models/index.d.ts +1 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +224 -0
  103. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  104. package/dist-types/ts3.4/pagination/ListRescoreExecutionPlansPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  106. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
  107. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  108. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  109. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  110. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  111. package/package.json +105 -0
@@ -0,0 +1,32 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import { RescoreRequest, RescoreResult } from "../models/models_0";
15
+ export interface RescoreCommandInput extends RescoreRequest {}
16
+ export interface RescoreCommandOutput extends RescoreResult, __MetadataBearer {}
17
+ export declare class RescoreCommand extends $Command<
18
+ RescoreCommandInput,
19
+ RescoreCommandOutput,
20
+ KendraRankingClientResolvedConfig
21
+ > {
22
+ readonly input: RescoreCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
+ constructor(input: RescoreCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: KendraRankingClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<RescoreCommandInput, RescoreCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -0,0 +1,34 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
15
+ export interface TagResourceCommandInput extends TagResourceRequest {}
16
+ export interface TagResourceCommandOutput
17
+ extends TagResourceResponse,
18
+ __MetadataBearer {}
19
+ export declare class TagResourceCommand extends $Command<
20
+ TagResourceCommandInput,
21
+ TagResourceCommandOutput,
22
+ KendraRankingClientResolvedConfig
23
+ > {
24
+ readonly input: TagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: TagResourceCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: KendraRankingClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import {
15
+ UntagResourceRequest,
16
+ UntagResourceResponse,
17
+ } from "../models/models_0";
18
+ export interface UntagResourceCommandInput extends UntagResourceRequest {}
19
+ export interface UntagResourceCommandOutput
20
+ extends UntagResourceResponse,
21
+ __MetadataBearer {}
22
+ export declare class UntagResourceCommand extends $Command<
23
+ UntagResourceCommandInput,
24
+ UntagResourceCommandOutput,
25
+ KendraRankingClientResolvedConfig
26
+ > {
27
+ readonly input: UntagResourceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: UntagResourceCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: KendraRankingClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KendraRankingClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KendraRankingClient";
14
+ import { UpdateRescoreExecutionPlanRequest } from "../models/models_0";
15
+ export interface UpdateRescoreExecutionPlanCommandInput
16
+ extends UpdateRescoreExecutionPlanRequest {}
17
+ export interface UpdateRescoreExecutionPlanCommandOutput
18
+ extends __MetadataBearer {}
19
+ export declare class UpdateRescoreExecutionPlanCommand extends $Command<
20
+ UpdateRescoreExecutionPlanCommandInput,
21
+ UpdateRescoreExecutionPlanCommandOutput,
22
+ KendraRankingClientResolvedConfig
23
+ > {
24
+ readonly input: UpdateRescoreExecutionPlanCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: UpdateRescoreExecutionPlanCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: KendraRankingClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<
32
+ UpdateRescoreExecutionPlanCommandInput,
33
+ UpdateRescoreExecutionPlanCommandOutput
34
+ >;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,9 @@
1
+ export * from "./CreateRescoreExecutionPlanCommand";
2
+ export * from "./DeleteRescoreExecutionPlanCommand";
3
+ export * from "./DescribeRescoreExecutionPlanCommand";
4
+ export * from "./ListRescoreExecutionPlansCommand";
5
+ export * from "./ListTagsForResourceCommand";
6
+ export * from "./RescoreCommand";
7
+ export * from "./TagResourceCommand";
8
+ export * from "./UntagResourceCommand";
9
+ export * from "./UpdateRescoreExecutionPlanCommand";
@@ -0,0 +1,32 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@aws-sdk/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useFipsEndpoint?: boolean | Provider<boolean>;
10
+ endpoint?:
11
+ | string
12
+ | Provider<string>
13
+ | Endpoint
14
+ | Provider<Endpoint>
15
+ | EndpointV2
16
+ | Provider<EndpointV2>;
17
+ }
18
+ export declare type ClientResolvedEndpointParameters =
19
+ ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export interface EndpointParameters extends __EndpointParameters {
29
+ Region: string;
30
+ UseFIPS?: boolean;
31
+ Endpoint?: string;
32
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,6 @@
1
+ export * from "./KendraRanking";
2
+ export * from "./KendraRankingClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { KendraRankingServiceException } from "./models/KendraRankingServiceException";
@@ -0,0 +1,7 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@aws-sdk/smithy-client";
5
+ export declare class KendraRankingServiceException extends __ServiceException {
6
+ constructor(options: __ServiceExceptionOptions);
7
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,224 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { KendraRankingServiceException as __BaseException } from "./KendraRankingServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message?: string;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export interface CapacityUnitsConfiguration {
18
+ RescoreCapacityUnits: number | undefined;
19
+ }
20
+ export interface Tag {
21
+ Key: string | undefined;
22
+ Value: string | undefined;
23
+ }
24
+ export interface CreateRescoreExecutionPlanRequest {
25
+ Name: string | undefined;
26
+ Description?: string;
27
+ CapacityUnits?: CapacityUnitsConfiguration;
28
+ Tags?: Tag[];
29
+ ClientToken?: string;
30
+ }
31
+ export interface CreateRescoreExecutionPlanResponse {
32
+ Id: string | undefined;
33
+ Arn: string | undefined;
34
+ }
35
+ export declare class InternalServerException extends __BaseException {
36
+ readonly name: "InternalServerException";
37
+ readonly $fault: "server";
38
+ Message?: string;
39
+ constructor(
40
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
41
+ );
42
+ }
43
+ export declare class ServiceQuotaExceededException extends __BaseException {
44
+ readonly name: "ServiceQuotaExceededException";
45
+ readonly $fault: "client";
46
+ Message?: string;
47
+ constructor(
48
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
49
+ );
50
+ }
51
+ export declare class ThrottlingException extends __BaseException {
52
+ readonly name: "ThrottlingException";
53
+ readonly $fault: "client";
54
+ Message?: string;
55
+ constructor(
56
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
57
+ );
58
+ }
59
+ export declare class ValidationException extends __BaseException {
60
+ readonly name: "ValidationException";
61
+ readonly $fault: "client";
62
+ Message?: string;
63
+ constructor(
64
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
65
+ );
66
+ }
67
+ export interface DeleteRescoreExecutionPlanRequest {
68
+ Id: string | undefined;
69
+ }
70
+ export declare class ResourceNotFoundException extends __BaseException {
71
+ readonly name: "ResourceNotFoundException";
72
+ readonly $fault: "client";
73
+ Message?: string;
74
+ constructor(
75
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
76
+ );
77
+ }
78
+ export interface DescribeRescoreExecutionPlanRequest {
79
+ Id: string | undefined;
80
+ }
81
+ export declare enum RescoreExecutionPlanStatus {
82
+ ACTIVE = "ACTIVE",
83
+ CREATING = "CREATING",
84
+ DELETING = "DELETING",
85
+ FAILED = "FAILED",
86
+ UPDATING = "UPDATING",
87
+ }
88
+ export interface DescribeRescoreExecutionPlanResponse {
89
+ Id?: string;
90
+ Arn?: string;
91
+ Name?: string;
92
+ Description?: string;
93
+ CapacityUnits?: CapacityUnitsConfiguration;
94
+ CreatedAt?: Date;
95
+ UpdatedAt?: Date;
96
+ Status?: RescoreExecutionPlanStatus | string;
97
+ ErrorMessage?: string;
98
+ }
99
+ export interface ListRescoreExecutionPlansRequest {
100
+ NextToken?: string;
101
+ MaxResults?: number;
102
+ }
103
+ export interface RescoreExecutionPlanSummary {
104
+ Name?: string;
105
+ Id?: string;
106
+ CreatedAt?: Date;
107
+ UpdatedAt?: Date;
108
+ Status?: RescoreExecutionPlanStatus | string;
109
+ }
110
+ export interface ListRescoreExecutionPlansResponse {
111
+ SummaryItems?: RescoreExecutionPlanSummary[];
112
+ NextToken?: string;
113
+ }
114
+ export interface ListTagsForResourceRequest {
115
+ ResourceARN: string | undefined;
116
+ }
117
+ export interface ListTagsForResourceResponse {
118
+ Tags?: Tag[];
119
+ }
120
+ export declare class ResourceUnavailableException extends __BaseException {
121
+ readonly name: "ResourceUnavailableException";
122
+ readonly $fault: "client";
123
+ Message?: string;
124
+ constructor(
125
+ opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
126
+ );
127
+ }
128
+ export interface Document {
129
+ Id: string | undefined;
130
+ GroupId?: string;
131
+ Title?: string;
132
+ Body?: string;
133
+ TokenizedTitle?: string[];
134
+ TokenizedBody?: string[];
135
+ OriginalScore: number | undefined;
136
+ }
137
+ export interface RescoreRequest {
138
+ RescoreExecutionPlanId: string | undefined;
139
+ SearchQuery: string | undefined;
140
+ Documents: Document[] | undefined;
141
+ }
142
+ export interface RescoreResultItem {
143
+ DocumentId?: string;
144
+ Score?: number;
145
+ }
146
+ export interface RescoreResult {
147
+ RescoreId?: string;
148
+ ResultItems?: RescoreResultItem[];
149
+ }
150
+ export interface TagResourceRequest {
151
+ ResourceARN: string | undefined;
152
+ Tags: Tag[] | undefined;
153
+ }
154
+ export interface TagResourceResponse {}
155
+ export interface UntagResourceRequest {
156
+ ResourceARN: string | undefined;
157
+ TagKeys: string[] | undefined;
158
+ }
159
+ export interface UntagResourceResponse {}
160
+ export interface UpdateRescoreExecutionPlanRequest {
161
+ Id: string | undefined;
162
+ Name?: string;
163
+ Description?: string;
164
+ CapacityUnits?: CapacityUnitsConfiguration;
165
+ }
166
+ export declare const CapacityUnitsConfigurationFilterSensitiveLog: (
167
+ obj: CapacityUnitsConfiguration
168
+ ) => any;
169
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
170
+ export declare const CreateRescoreExecutionPlanRequestFilterSensitiveLog: (
171
+ obj: CreateRescoreExecutionPlanRequest
172
+ ) => any;
173
+ export declare const CreateRescoreExecutionPlanResponseFilterSensitiveLog: (
174
+ obj: CreateRescoreExecutionPlanResponse
175
+ ) => any;
176
+ export declare const DeleteRescoreExecutionPlanRequestFilterSensitiveLog: (
177
+ obj: DeleteRescoreExecutionPlanRequest
178
+ ) => any;
179
+ export declare const DescribeRescoreExecutionPlanRequestFilterSensitiveLog: (
180
+ obj: DescribeRescoreExecutionPlanRequest
181
+ ) => any;
182
+ export declare const DescribeRescoreExecutionPlanResponseFilterSensitiveLog: (
183
+ obj: DescribeRescoreExecutionPlanResponse
184
+ ) => any;
185
+ export declare const ListRescoreExecutionPlansRequestFilterSensitiveLog: (
186
+ obj: ListRescoreExecutionPlansRequest
187
+ ) => any;
188
+ export declare const RescoreExecutionPlanSummaryFilterSensitiveLog: (
189
+ obj: RescoreExecutionPlanSummary
190
+ ) => any;
191
+ export declare const ListRescoreExecutionPlansResponseFilterSensitiveLog: (
192
+ obj: ListRescoreExecutionPlansResponse
193
+ ) => any;
194
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
195
+ obj: ListTagsForResourceRequest
196
+ ) => any;
197
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
198
+ obj: ListTagsForResourceResponse
199
+ ) => any;
200
+ export declare const DocumentFilterSensitiveLog: (obj: Document) => any;
201
+ export declare const RescoreRequestFilterSensitiveLog: (
202
+ obj: RescoreRequest
203
+ ) => any;
204
+ export declare const RescoreResultItemFilterSensitiveLog: (
205
+ obj: RescoreResultItem
206
+ ) => any;
207
+ export declare const RescoreResultFilterSensitiveLog: (
208
+ obj: RescoreResult
209
+ ) => any;
210
+ export declare const TagResourceRequestFilterSensitiveLog: (
211
+ obj: TagResourceRequest
212
+ ) => any;
213
+ export declare const TagResourceResponseFilterSensitiveLog: (
214
+ obj: TagResourceResponse
215
+ ) => any;
216
+ export declare const UntagResourceRequestFilterSensitiveLog: (
217
+ obj: UntagResourceRequest
218
+ ) => any;
219
+ export declare const UntagResourceResponseFilterSensitiveLog: (
220
+ obj: UntagResourceResponse
221
+ ) => any;
222
+ export declare const UpdateRescoreExecutionPlanRequestFilterSensitiveLog: (
223
+ obj: UpdateRescoreExecutionPlanRequest
224
+ ) => any;
@@ -0,0 +1,7 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { KendraRanking } from "../KendraRanking";
3
+ import { KendraRankingClient } from "../KendraRankingClient";
4
+ export interface KendraRankingPaginationConfiguration
5
+ extends PaginationConfiguration {
6
+ client: KendraRanking | KendraRankingClient;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListRescoreExecutionPlansCommandInput,
4
+ ListRescoreExecutionPlansCommandOutput,
5
+ } from "../commands/ListRescoreExecutionPlansCommand";
6
+ import { KendraRankingPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListRescoreExecutionPlans(
8
+ config: KendraRankingPaginationConfiguration,
9
+ input: ListRescoreExecutionPlansCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListRescoreExecutionPlansCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListRescoreExecutionPlansPaginator";
@@ -0,0 +1,113 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@aws-sdk/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
+ import {
7
+ CreateRescoreExecutionPlanCommandInput,
8
+ CreateRescoreExecutionPlanCommandOutput,
9
+ } from "../commands/CreateRescoreExecutionPlanCommand";
10
+ import {
11
+ DeleteRescoreExecutionPlanCommandInput,
12
+ DeleteRescoreExecutionPlanCommandOutput,
13
+ } from "../commands/DeleteRescoreExecutionPlanCommand";
14
+ import {
15
+ DescribeRescoreExecutionPlanCommandInput,
16
+ DescribeRescoreExecutionPlanCommandOutput,
17
+ } from "../commands/DescribeRescoreExecutionPlanCommand";
18
+ import {
19
+ ListRescoreExecutionPlansCommandInput,
20
+ ListRescoreExecutionPlansCommandOutput,
21
+ } from "../commands/ListRescoreExecutionPlansCommand";
22
+ import {
23
+ ListTagsForResourceCommandInput,
24
+ ListTagsForResourceCommandOutput,
25
+ } from "../commands/ListTagsForResourceCommand";
26
+ import {
27
+ RescoreCommandInput,
28
+ RescoreCommandOutput,
29
+ } from "../commands/RescoreCommand";
30
+ import {
31
+ TagResourceCommandInput,
32
+ TagResourceCommandOutput,
33
+ } from "../commands/TagResourceCommand";
34
+ import {
35
+ UntagResourceCommandInput,
36
+ UntagResourceCommandOutput,
37
+ } from "../commands/UntagResourceCommand";
38
+ import {
39
+ UpdateRescoreExecutionPlanCommandInput,
40
+ UpdateRescoreExecutionPlanCommandOutput,
41
+ } from "../commands/UpdateRescoreExecutionPlanCommand";
42
+ export declare const serializeAws_json1_0CreateRescoreExecutionPlanCommand: (
43
+ input: CreateRescoreExecutionPlanCommandInput,
44
+ context: __SerdeContext
45
+ ) => Promise<__HttpRequest>;
46
+ export declare const serializeAws_json1_0DeleteRescoreExecutionPlanCommand: (
47
+ input: DeleteRescoreExecutionPlanCommandInput,
48
+ context: __SerdeContext
49
+ ) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_json1_0DescribeRescoreExecutionPlanCommand: (
51
+ input: DescribeRescoreExecutionPlanCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const serializeAws_json1_0ListRescoreExecutionPlansCommand: (
55
+ input: ListRescoreExecutionPlansCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
58
+ export declare const serializeAws_json1_0ListTagsForResourceCommand: (
59
+ input: ListTagsForResourceCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
62
+ export declare const serializeAws_json1_0RescoreCommand: (
63
+ input: RescoreCommandInput,
64
+ context: __SerdeContext
65
+ ) => Promise<__HttpRequest>;
66
+ export declare const serializeAws_json1_0TagResourceCommand: (
67
+ input: TagResourceCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const serializeAws_json1_0UntagResourceCommand: (
71
+ input: UntagResourceCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const serializeAws_json1_0UpdateRescoreExecutionPlanCommand: (
75
+ input: UpdateRescoreExecutionPlanCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const deserializeAws_json1_0CreateRescoreExecutionPlanCommand: (
79
+ output: __HttpResponse,
80
+ context: __SerdeContext
81
+ ) => Promise<CreateRescoreExecutionPlanCommandOutput>;
82
+ export declare const deserializeAws_json1_0DeleteRescoreExecutionPlanCommand: (
83
+ output: __HttpResponse,
84
+ context: __SerdeContext
85
+ ) => Promise<DeleteRescoreExecutionPlanCommandOutput>;
86
+ export declare const deserializeAws_json1_0DescribeRescoreExecutionPlanCommand: (
87
+ output: __HttpResponse,
88
+ context: __SerdeContext
89
+ ) => Promise<DescribeRescoreExecutionPlanCommandOutput>;
90
+ export declare const deserializeAws_json1_0ListRescoreExecutionPlansCommand: (
91
+ output: __HttpResponse,
92
+ context: __SerdeContext
93
+ ) => Promise<ListRescoreExecutionPlansCommandOutput>;
94
+ export declare const deserializeAws_json1_0ListTagsForResourceCommand: (
95
+ output: __HttpResponse,
96
+ context: __SerdeContext
97
+ ) => Promise<ListTagsForResourceCommandOutput>;
98
+ export declare const deserializeAws_json1_0RescoreCommand: (
99
+ output: __HttpResponse,
100
+ context: __SerdeContext
101
+ ) => Promise<RescoreCommandOutput>;
102
+ export declare const deserializeAws_json1_0TagResourceCommand: (
103
+ output: __HttpResponse,
104
+ context: __SerdeContext
105
+ ) => Promise<TagResourceCommandOutput>;
106
+ export declare const deserializeAws_json1_0UntagResourceCommand: (
107
+ output: __HttpResponse,
108
+ context: __SerdeContext
109
+ ) => Promise<UntagResourceCommandOutput>;
110
+ export declare const deserializeAws_json1_0UpdateRescoreExecutionPlanCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<UpdateRescoreExecutionPlanCommandOutput>;
@@ -0,0 +1,91 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { KendraRankingClientConfig } from "./KendraRankingClient";
3
+ export declare const getRuntimeConfig: (config: KendraRankingClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@aws-sdk/types").Provider<
6
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
+ import("@aws-sdk/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
+ region: string | import("@aws-sdk/types").Provider<any>;
17
+ requestHandler:
18
+ | (import("@aws-sdk/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@aws-sdk/types").HttpHandlerOptions
22
+ > &
23
+ import("@aws-sdk/protocol-http").HttpHandler)
24
+ | RequestHandler;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ sha256: import("@aws-sdk/types").HashConstructor;
27
+ streamCollector: import("@aws-sdk/types").StreamCollector;
28
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
+ utf8Decoder: import("@aws-sdk/types").Decoder;
31
+ utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ apiVersion: string;
33
+ urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@aws-sdk/types").Decoder;
35
+ base64Encoder: import("@aws-sdk/types").Encoder;
36
+ disableHostPrefix: boolean;
37
+ logger: import("@aws-sdk/types").Logger;
38
+ serviceId: string;
39
+ endpoint?:
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (
48
+ | string
49
+ | import("@aws-sdk/types").Provider<string>
50
+ | import("@aws-sdk/types").Endpoint
51
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@aws-sdk/types").EndpointV2
53
+ | import("@aws-sdk/types").Provider<
54
+ import("@aws-sdk/types").EndpointV2
55
+ >
56
+ ))
57
+ | undefined;
58
+ endpointProvider: (
59
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
+ context?: {
61
+ logger?: import("@aws-sdk/types").Logger | undefined;
62
+ }
63
+ ) => import("@aws-sdk/types").EndpointV2;
64
+ tls?: boolean | undefined;
65
+ retryStrategy?:
66
+ | import("@aws-sdk/types").RetryStrategy
67
+ | import("@aws-sdk/types").RetryStrategyV2
68
+ | undefined;
69
+ credentials?:
70
+ | import("@aws-sdk/types").AwsCredentialIdentity
71
+ | import("@aws-sdk/types").Provider<
72
+ import("@aws-sdk/types").AwsCredentialIdentity
73
+ >
74
+ | undefined;
75
+ signer?:
76
+ | import("@aws-sdk/types").RequestSigner
77
+ | ((
78
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
79
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
80
+ | undefined;
81
+ signingEscapePath?: boolean | undefined;
82
+ systemClockOffset?: number | undefined;
83
+ signingRegion?: string | undefined;
84
+ signerConstructor?:
85
+ | (new (
86
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
87
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
88
+ ) => import("@aws-sdk/types").RequestSigner)
89
+ | undefined;
90
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
91
+ };