@aws-sdk/client-kendra-ranking 3.1075.0 → 3.1076.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/index.js +627 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -38
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/KendraRankingServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -113
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -322
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
const _A = "Arn";
|
|
2
|
-
const _ADE = "AccessDeniedException";
|
|
3
|
-
const _B = "Body";
|
|
4
|
-
const _CA = "CreatedAt";
|
|
5
|
-
const _CE = "ConflictException";
|
|
6
|
-
const _CREP = "CreateRescoreExecutionPlan";
|
|
7
|
-
const _CREPR = "CreateRescoreExecutionPlanRequest";
|
|
8
|
-
const _CREPRr = "CreateRescoreExecutionPlanResponse";
|
|
9
|
-
const _CT = "ClientToken";
|
|
10
|
-
const _CU = "CapacityUnits";
|
|
11
|
-
const _CUC = "CapacityUnitsConfiguration";
|
|
12
|
-
const _D = "Description";
|
|
13
|
-
const _DI = "DocumentId";
|
|
14
|
-
const _DL = "DocumentList";
|
|
15
|
-
const _DREP = "DeleteRescoreExecutionPlan";
|
|
16
|
-
const _DREPR = "DeleteRescoreExecutionPlanRequest";
|
|
17
|
-
const _DREPRe = "DescribeRescoreExecutionPlanRequest";
|
|
18
|
-
const _DREPRes = "DescribeRescoreExecutionPlanResponse";
|
|
19
|
-
const _DREPe = "DescribeRescoreExecutionPlan";
|
|
20
|
-
const _Do = "Document";
|
|
21
|
-
const _Doc = "Documents";
|
|
22
|
-
const _EM = "ErrorMessage";
|
|
23
|
-
const _GI = "GroupId";
|
|
24
|
-
const _I = "Id";
|
|
25
|
-
const _ISE = "InternalServerException";
|
|
26
|
-
const _K = "Key";
|
|
27
|
-
const _LREP = "ListRescoreExecutionPlans";
|
|
28
|
-
const _LREPR = "ListRescoreExecutionPlansRequest";
|
|
29
|
-
const _LREPRi = "ListRescoreExecutionPlansResponse";
|
|
30
|
-
const _LTFR = "ListTagsForResource";
|
|
31
|
-
const _LTFRR = "ListTagsForResourceRequest";
|
|
32
|
-
const _LTFRRi = "ListTagsForResourceResponse";
|
|
33
|
-
const _M = "Message";
|
|
34
|
-
const _MR = "MaxResults";
|
|
35
|
-
const _N = "Name";
|
|
36
|
-
const _NT = "NextToken";
|
|
37
|
-
const _OS = "OriginalScore";
|
|
38
|
-
const _R = "Rescore";
|
|
39
|
-
const _RARN = "ResourceARN";
|
|
40
|
-
const _RCU = "RescoreCapacityUnits";
|
|
41
|
-
const _REPI = "RescoreExecutionPlanId";
|
|
42
|
-
const _REPS = "RescoreExecutionPlanSummary";
|
|
43
|
-
const _REPSL = "RescoreExecutionPlanSummaryList";
|
|
44
|
-
const _RI = "RescoreId";
|
|
45
|
-
const _RIe = "ResultItems";
|
|
46
|
-
const _RNFE = "ResourceNotFoundException";
|
|
47
|
-
const _RR = "RescoreRequest";
|
|
48
|
-
const _RRI = "RescoreResultItem";
|
|
49
|
-
const _RRIL = "RescoreResultItemList";
|
|
50
|
-
const _RRe = "RescoreResult";
|
|
51
|
-
const _RUE = "ResourceUnavailableException";
|
|
52
|
-
const _S = "Status";
|
|
53
|
-
const _SI = "SummaryItems";
|
|
54
|
-
const _SQ = "SearchQuery";
|
|
55
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
56
|
-
const _Sc = "Score";
|
|
57
|
-
const _T = "Tags";
|
|
58
|
-
const _TB = "TokenizedBody";
|
|
59
|
-
const _TE = "ThrottlingException";
|
|
60
|
-
const _TK = "TagKeys";
|
|
61
|
-
const _TL = "TagList";
|
|
62
|
-
const _TR = "TagResource";
|
|
63
|
-
const _TRR = "TagResourceRequest";
|
|
64
|
-
const _TRRa = "TagResourceResponse";
|
|
65
|
-
const _TT = "TokenizedTitle";
|
|
66
|
-
const _Ta = "Tag";
|
|
67
|
-
const _Ti = "Title";
|
|
68
|
-
const _UA = "UpdatedAt";
|
|
69
|
-
const _UR = "UntagResource";
|
|
70
|
-
const _UREP = "UpdateRescoreExecutionPlan";
|
|
71
|
-
const _UREPR = "UpdateRescoreExecutionPlanRequest";
|
|
72
|
-
const _URR = "UntagResourceRequest";
|
|
73
|
-
const _URRn = "UntagResourceResponse";
|
|
74
|
-
const _V = "Value";
|
|
75
|
-
const _VE = "ValidationException";
|
|
76
|
-
const _c = "client";
|
|
77
|
-
const _e = "error";
|
|
78
|
-
const _h = "http";
|
|
79
|
-
const _hE = "httpError";
|
|
80
|
-
const _hQ = "httpQuery";
|
|
81
|
-
const _mR = "maxResults";
|
|
82
|
-
const _nT = "nextToken";
|
|
83
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kendraranking";
|
|
84
|
-
const _se = "server";
|
|
85
|
-
const n0 = "com.amazonaws.kendraranking";
|
|
86
|
-
const { TypeRegistry } = require("@smithy/core/schema");
|
|
87
|
-
const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ResourceUnavailableException, ServiceQuotaExceededException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
88
|
-
const { KendraRankingServiceException } = require("../models/KendraRankingServiceException");
|
|
89
|
-
const _s_registry = TypeRegistry.for(_s);
|
|
90
|
-
const KendraRankingServiceException$ = [-3, _s, "KendraRankingServiceException", 0, [], []];
|
|
91
|
-
exports.KendraRankingServiceException$ = KendraRankingServiceException$;
|
|
92
|
-
_s_registry.registerError(KendraRankingServiceException$, KendraRankingServiceException);
|
|
93
|
-
const n0_registry = TypeRegistry.for(n0);
|
|
94
|
-
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
95
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
96
|
-
[_M],
|
|
97
|
-
[0]
|
|
98
|
-
];
|
|
99
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
100
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
101
|
-
const ConflictException$ = [-3, n0, _CE,
|
|
102
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
103
|
-
[_M],
|
|
104
|
-
[0]
|
|
105
|
-
];
|
|
106
|
-
exports.ConflictException$ = ConflictException$;
|
|
107
|
-
n0_registry.registerError(ConflictException$, ConflictException);
|
|
108
|
-
const InternalServerException$ = [-3, n0, _ISE,
|
|
109
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
110
|
-
[_M],
|
|
111
|
-
[0]
|
|
112
|
-
];
|
|
113
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
114
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
115
|
-
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
116
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
117
|
-
[_M],
|
|
118
|
-
[0]
|
|
119
|
-
];
|
|
120
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
121
|
-
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
122
|
-
const ResourceUnavailableException$ = [-3, n0, _RUE,
|
|
123
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
124
|
-
[_M],
|
|
125
|
-
[0]
|
|
126
|
-
];
|
|
127
|
-
exports.ResourceUnavailableException$ = ResourceUnavailableException$;
|
|
128
|
-
n0_registry.registerError(ResourceUnavailableException$, ResourceUnavailableException);
|
|
129
|
-
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
130
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
131
|
-
[_M],
|
|
132
|
-
[0]
|
|
133
|
-
];
|
|
134
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
135
|
-
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
136
|
-
const ThrottlingException$ = [-3, n0, _TE,
|
|
137
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
138
|
-
[_M],
|
|
139
|
-
[0]
|
|
140
|
-
];
|
|
141
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
142
|
-
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
143
|
-
const ValidationException$ = [-3, n0, _VE,
|
|
144
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
145
|
-
[_M],
|
|
146
|
-
[0]
|
|
147
|
-
];
|
|
148
|
-
exports.ValidationException$ = ValidationException$;
|
|
149
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
150
|
-
exports.errorTypeRegistries = [
|
|
151
|
-
_s_registry,
|
|
152
|
-
n0_registry,
|
|
153
|
-
];
|
|
154
|
-
const CapacityUnitsConfiguration$ = [3, n0, _CUC,
|
|
155
|
-
0,
|
|
156
|
-
[_RCU],
|
|
157
|
-
[1], 1
|
|
158
|
-
];
|
|
159
|
-
exports.CapacityUnitsConfiguration$ = CapacityUnitsConfiguration$;
|
|
160
|
-
const CreateRescoreExecutionPlanRequest$ = [3, n0, _CREPR,
|
|
161
|
-
0,
|
|
162
|
-
[_N, _D, _CU, _T, _CT],
|
|
163
|
-
[0, 0, () => CapacityUnitsConfiguration$, () => TagList, [0, 4]], 1
|
|
164
|
-
];
|
|
165
|
-
exports.CreateRescoreExecutionPlanRequest$ = CreateRescoreExecutionPlanRequest$;
|
|
166
|
-
const CreateRescoreExecutionPlanResponse$ = [3, n0, _CREPRr,
|
|
167
|
-
0,
|
|
168
|
-
[_I, _A],
|
|
169
|
-
[0, 0], 2
|
|
170
|
-
];
|
|
171
|
-
exports.CreateRescoreExecutionPlanResponse$ = CreateRescoreExecutionPlanResponse$;
|
|
172
|
-
const DeleteRescoreExecutionPlanRequest$ = [3, n0, _DREPR,
|
|
173
|
-
0,
|
|
174
|
-
[_I],
|
|
175
|
-
[[0, 1]], 1
|
|
176
|
-
];
|
|
177
|
-
exports.DeleteRescoreExecutionPlanRequest$ = DeleteRescoreExecutionPlanRequest$;
|
|
178
|
-
const DescribeRescoreExecutionPlanRequest$ = [3, n0, _DREPRe,
|
|
179
|
-
0,
|
|
180
|
-
[_I],
|
|
181
|
-
[[0, 1]], 1
|
|
182
|
-
];
|
|
183
|
-
exports.DescribeRescoreExecutionPlanRequest$ = DescribeRescoreExecutionPlanRequest$;
|
|
184
|
-
const DescribeRescoreExecutionPlanResponse$ = [3, n0, _DREPRes,
|
|
185
|
-
0,
|
|
186
|
-
[_I, _A, _N, _D, _CU, _CA, _UA, _S, _EM],
|
|
187
|
-
[0, 0, 0, 0, () => CapacityUnitsConfiguration$, 4, 4, 0, 0]
|
|
188
|
-
];
|
|
189
|
-
exports.DescribeRescoreExecutionPlanResponse$ = DescribeRescoreExecutionPlanResponse$;
|
|
190
|
-
const Document$ = [3, n0, _Do,
|
|
191
|
-
0,
|
|
192
|
-
[_I, _OS, _GI, _Ti, _B, _TT, _TB],
|
|
193
|
-
[0, 1, 0, 0, 0, 64 | 0, 64 | 0], 2
|
|
194
|
-
];
|
|
195
|
-
exports.Document$ = Document$;
|
|
196
|
-
const ListRescoreExecutionPlansRequest$ = [3, n0, _LREPR,
|
|
197
|
-
0,
|
|
198
|
-
[_NT, _MR],
|
|
199
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
200
|
-
];
|
|
201
|
-
exports.ListRescoreExecutionPlansRequest$ = ListRescoreExecutionPlansRequest$;
|
|
202
|
-
const ListRescoreExecutionPlansResponse$ = [3, n0, _LREPRi,
|
|
203
|
-
0,
|
|
204
|
-
[_SI, _NT],
|
|
205
|
-
[() => RescoreExecutionPlanSummaryList, 0]
|
|
206
|
-
];
|
|
207
|
-
exports.ListRescoreExecutionPlansResponse$ = ListRescoreExecutionPlansResponse$;
|
|
208
|
-
const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
209
|
-
0,
|
|
210
|
-
[_RARN],
|
|
211
|
-
[0], 1
|
|
212
|
-
];
|
|
213
|
-
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
214
|
-
const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
215
|
-
0,
|
|
216
|
-
[_T],
|
|
217
|
-
[() => TagList]
|
|
218
|
-
];
|
|
219
|
-
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
220
|
-
const RescoreExecutionPlanSummary$ = [3, n0, _REPS,
|
|
221
|
-
0,
|
|
222
|
-
[_N, _I, _CA, _UA, _S],
|
|
223
|
-
[0, 0, 4, 4, 0]
|
|
224
|
-
];
|
|
225
|
-
exports.RescoreExecutionPlanSummary$ = RescoreExecutionPlanSummary$;
|
|
226
|
-
const RescoreRequest$ = [3, n0, _RR,
|
|
227
|
-
0,
|
|
228
|
-
[_REPI, _SQ, _Doc],
|
|
229
|
-
[[0, 1], 0, () => DocumentList], 3
|
|
230
|
-
];
|
|
231
|
-
exports.RescoreRequest$ = RescoreRequest$;
|
|
232
|
-
const RescoreResult$ = [3, n0, _RRe,
|
|
233
|
-
0,
|
|
234
|
-
[_RI, _RIe],
|
|
235
|
-
[0, () => RescoreResultItemList]
|
|
236
|
-
];
|
|
237
|
-
exports.RescoreResult$ = RescoreResult$;
|
|
238
|
-
const RescoreResultItem$ = [3, n0, _RRI,
|
|
239
|
-
0,
|
|
240
|
-
[_DI, _Sc],
|
|
241
|
-
[0, 1]
|
|
242
|
-
];
|
|
243
|
-
exports.RescoreResultItem$ = RescoreResultItem$;
|
|
244
|
-
const Tag$ = [3, n0, _Ta,
|
|
245
|
-
0,
|
|
246
|
-
[_K, _V],
|
|
247
|
-
[0, 0], 2
|
|
248
|
-
];
|
|
249
|
-
exports.Tag$ = Tag$;
|
|
250
|
-
const TagResourceRequest$ = [3, n0, _TRR,
|
|
251
|
-
0,
|
|
252
|
-
[_RARN, _T],
|
|
253
|
-
[0, () => TagList], 2
|
|
254
|
-
];
|
|
255
|
-
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
256
|
-
const TagResourceResponse$ = [3, n0, _TRRa,
|
|
257
|
-
0,
|
|
258
|
-
[],
|
|
259
|
-
[]
|
|
260
|
-
];
|
|
261
|
-
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
262
|
-
const UntagResourceRequest$ = [3, n0, _URR,
|
|
263
|
-
0,
|
|
264
|
-
[_RARN, _TK],
|
|
265
|
-
[0, 64 | 0], 2
|
|
266
|
-
];
|
|
267
|
-
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
268
|
-
const UntagResourceResponse$ = [3, n0, _URRn,
|
|
269
|
-
0,
|
|
270
|
-
[],
|
|
271
|
-
[]
|
|
272
|
-
];
|
|
273
|
-
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
274
|
-
const UpdateRescoreExecutionPlanRequest$ = [3, n0, _UREPR,
|
|
275
|
-
0,
|
|
276
|
-
[_I, _N, _D, _CU],
|
|
277
|
-
[[0, 1], 0, 0, () => CapacityUnitsConfiguration$], 1
|
|
278
|
-
];
|
|
279
|
-
exports.UpdateRescoreExecutionPlanRequest$ = UpdateRescoreExecutionPlanRequest$;
|
|
280
|
-
var __Unit = "unit";
|
|
281
|
-
var BodyTokensList = 64 | 0;
|
|
282
|
-
var DocumentList = [1, n0, _DL,
|
|
283
|
-
0, () => Document$
|
|
284
|
-
];
|
|
285
|
-
var RescoreExecutionPlanSummaryList = [1, n0, _REPSL,
|
|
286
|
-
0, () => RescoreExecutionPlanSummary$
|
|
287
|
-
];
|
|
288
|
-
var RescoreResultItemList = [1, n0, _RRIL,
|
|
289
|
-
0, () => RescoreResultItem$
|
|
290
|
-
];
|
|
291
|
-
var TagKeyList = 64 | 0;
|
|
292
|
-
var TagList = [1, n0, _TL,
|
|
293
|
-
0, () => Tag$
|
|
294
|
-
];
|
|
295
|
-
var TitleTokensList = 64 | 0;
|
|
296
|
-
exports.CreateRescoreExecutionPlan$ = [9, n0, _CREP,
|
|
297
|
-
{ [_h]: ["POST", "/rescore-execution-plans", 200] }, () => CreateRescoreExecutionPlanRequest$, () => CreateRescoreExecutionPlanResponse$
|
|
298
|
-
];
|
|
299
|
-
exports.DeleteRescoreExecutionPlan$ = [9, n0, _DREP,
|
|
300
|
-
{ [_h]: ["DELETE", "/rescore-execution-plans/{Id}", 200] }, () => DeleteRescoreExecutionPlanRequest$, () => __Unit
|
|
301
|
-
];
|
|
302
|
-
exports.DescribeRescoreExecutionPlan$ = [9, n0, _DREPe,
|
|
303
|
-
{ [_h]: ["GET", "/rescore-execution-plans/{Id}", 200] }, () => DescribeRescoreExecutionPlanRequest$, () => DescribeRescoreExecutionPlanResponse$
|
|
304
|
-
];
|
|
305
|
-
exports.ListRescoreExecutionPlans$ = [9, n0, _LREP,
|
|
306
|
-
{ [_h]: ["GET", "/rescore-execution-plans", 200] }, () => ListRescoreExecutionPlansRequest$, () => ListRescoreExecutionPlansResponse$
|
|
307
|
-
];
|
|
308
|
-
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
309
|
-
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
310
|
-
];
|
|
311
|
-
exports.Rescore$ = [9, n0, _R,
|
|
312
|
-
{ [_h]: ["POST", "/rescore-execution-plans/{RescoreExecutionPlanId}/rescore", 200] }, () => RescoreRequest$, () => RescoreResult$
|
|
313
|
-
];
|
|
314
|
-
exports.TagResource$ = [9, n0, _TR,
|
|
315
|
-
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
316
|
-
];
|
|
317
|
-
exports.UntagResource$ = [9, n0, _UR,
|
|
318
|
-
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
319
|
-
];
|
|
320
|
-
exports.UpdateRescoreExecutionPlan$ = [9, n0, _UREP,
|
|
321
|
-
{ [_h]: ["PUT", "/rescore-execution-plans/{Id}", 200] }, () => UpdateRescoreExecutionPlanRequest$, () => __Unit
|
|
322
|
-
];
|