@aws-sdk/client-s3vectors 3.1068.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +100 -120
- package/dist-cjs/models/S3VectorsServiceException.js +4 -8
- package/dist-cjs/models/errors.js +27 -43
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +183 -123
- package/package.json +8 -8
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutInputVector$ = exports.MetadataConfiguration$ = exports.ListVectorsOutput$ = exports.ListVectorsInput$ = exports.ListVectorBucketsOutput$ = exports.ListVectorBucketsInput$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListOutputVector$ = exports.ListIndexesOutput$ = exports.ListIndexesInput$ = exports.IndexSummary$ = exports.Index$ = exports.GetVectorsOutput$ = exports.GetVectorsInput$ = exports.GetVectorBucketPolicyOutput$ = exports.GetVectorBucketPolicyInput$ = exports.GetVectorBucketOutput$ = exports.GetVectorBucketInput$ = exports.GetOutputVector$ = exports.GetIndexOutput$ = exports.GetIndexInput$ = exports.EncryptionConfiguration$ = exports.DeleteVectorsOutput$ = exports.DeleteVectorsInput$ = exports.DeleteVectorBucketPolicyOutput$ = exports.DeleteVectorBucketPolicyInput$ = exports.DeleteVectorBucketOutput$ = exports.DeleteVectorBucketInput$ = exports.DeleteIndexOutput$ = exports.DeleteIndexInput$ = exports.CreateVectorBucketOutput$ = exports.CreateVectorBucketInput$ = exports.CreateIndexOutput$ = exports.CreateIndexInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsException$ = exports.ServiceUnavailableException$ = exports.ServiceQuotaExceededException$ = exports.RequestTimeoutException$ = exports.NotFoundException$ = exports.KmsNotFoundException$ = exports.KmsInvalidStateException$ = exports.KmsInvalidKeyUsageException$ = exports.KmsDisabledException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.S3VectorsServiceException$ = void 0;
|
|
4
|
-
exports.UntagResource$ = exports.TagResource$ = exports.QueryVectors$ = exports.PutVectors$ = exports.PutVectorBucketPolicy$ = exports.ListVectors$ = exports.ListVectorBuckets$ = exports.ListTagsForResource$ = exports.ListIndexes$ = exports.GetVectors$ = exports.GetVectorBucketPolicy$ = exports.GetVectorBucket$ = exports.GetIndex$ = exports.DeleteVectors$ = exports.DeleteVectorBucketPolicy$ = exports.DeleteVectorBucket$ = exports.DeleteIndex$ = exports.CreateVectorBucket$ = exports.CreateIndex$ = exports.VectorData$ = exports.VectorBucketSummary$ = exports.VectorBucket$ = exports.ValidationExceptionField$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.QueryVectorsOutput$ = exports.QueryVectorsInput$ = exports.QueryOutputVector$ = exports.PutVectorsOutput$ = exports.PutVectorsInput$ = exports.PutVectorBucketPolicyOutput$ = exports.PutVectorBucketPolicyInput$ = void 0;
|
|
5
1
|
const _ADE = "AccessDeniedException";
|
|
6
2
|
const _CE = "ConflictException";
|
|
7
3
|
const _CI = "CreateIndex";
|
|
@@ -141,426 +137,490 @@ const _vBA = "vectorBucketArn";
|
|
|
141
137
|
const _vBN = "vectorBucketName";
|
|
142
138
|
const _vBe = "vectorBuckets";
|
|
143
139
|
const n0 = "com.amazonaws.s3vectors";
|
|
144
|
-
const
|
|
145
|
-
const
|
|
146
|
-
const
|
|
147
|
-
const _s_registry =
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
140
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
141
|
+
const { AccessDeniedException, ConflictException, InternalServerException, KmsDisabledException, KmsInvalidKeyUsageException, KmsInvalidStateException, KmsNotFoundException, NotFoundException, RequestTimeoutException, ServiceQuotaExceededException, ServiceUnavailableException, TooManyRequestsException, ValidationException } = require("../models/errors");
|
|
142
|
+
const { S3VectorsServiceException } = require("../models/S3VectorsServiceException");
|
|
143
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
144
|
+
const S3VectorsServiceException$ = [-3, _s, "S3VectorsServiceException", 0, [], []];
|
|
145
|
+
exports.S3VectorsServiceException$ = S3VectorsServiceException$;
|
|
146
|
+
_s_registry.registerError(S3VectorsServiceException$, S3VectorsServiceException);
|
|
147
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
148
|
+
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
152
149
|
{ [_e]: _c, [_hE]: 403 },
|
|
153
150
|
[_m],
|
|
154
151
|
[0], 1
|
|
155
152
|
];
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
154
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
155
|
+
const ConflictException$ = [-3, n0, _CE,
|
|
158
156
|
{ [_e]: _c, [_hE]: 409 },
|
|
159
157
|
[_m],
|
|
160
158
|
[0], 1
|
|
161
159
|
];
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
exports.ConflictException$ = ConflictException$;
|
|
161
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
162
|
+
const InternalServerException$ = [-3, n0, _ISE,
|
|
164
163
|
{ [_e]: _se, [_hE]: 500 },
|
|
165
164
|
[_m],
|
|
166
165
|
[0], 1
|
|
167
166
|
];
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
168
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
169
|
+
const KmsDisabledException$ = [-3, n0, _KDE,
|
|
170
170
|
{ [_e]: _c, [_hE]: 400 },
|
|
171
171
|
[_m],
|
|
172
172
|
[0], 1
|
|
173
173
|
];
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
exports.KmsDisabledException$ = KmsDisabledException$;
|
|
175
|
+
n0_registry.registerError(KmsDisabledException$, KmsDisabledException);
|
|
176
|
+
const KmsInvalidKeyUsageException$ = [-3, n0, _KIKUE,
|
|
176
177
|
{ [_e]: _c, [_hE]: 400 },
|
|
177
178
|
[_m],
|
|
178
179
|
[0], 1
|
|
179
180
|
];
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
exports.KmsInvalidKeyUsageException$ = KmsInvalidKeyUsageException$;
|
|
182
|
+
n0_registry.registerError(KmsInvalidKeyUsageException$, KmsInvalidKeyUsageException);
|
|
183
|
+
const KmsInvalidStateException$ = [-3, n0, _KISE,
|
|
182
184
|
{ [_e]: _c, [_hE]: 400 },
|
|
183
185
|
[_m],
|
|
184
186
|
[0], 1
|
|
185
187
|
];
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
exports.KmsInvalidStateException$ = KmsInvalidStateException$;
|
|
189
|
+
n0_registry.registerError(KmsInvalidStateException$, KmsInvalidStateException);
|
|
190
|
+
const KmsNotFoundException$ = [-3, n0, _KNFE,
|
|
188
191
|
{ [_e]: _c, [_hE]: 400 },
|
|
189
192
|
[_m],
|
|
190
193
|
[0], 1
|
|
191
194
|
];
|
|
192
|
-
|
|
193
|
-
|
|
195
|
+
exports.KmsNotFoundException$ = KmsNotFoundException$;
|
|
196
|
+
n0_registry.registerError(KmsNotFoundException$, KmsNotFoundException);
|
|
197
|
+
const NotFoundException$ = [-3, n0, _NFE,
|
|
194
198
|
{ [_e]: _c, [_hE]: 404 },
|
|
195
199
|
[_m],
|
|
196
200
|
[0], 1
|
|
197
201
|
];
|
|
198
|
-
|
|
199
|
-
|
|
202
|
+
exports.NotFoundException$ = NotFoundException$;
|
|
203
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
204
|
+
const RequestTimeoutException$ = [-3, n0, _RTE,
|
|
200
205
|
{ [_e]: _c, [_hE]: 408 },
|
|
201
206
|
[_m],
|
|
202
207
|
[0], 1
|
|
203
208
|
];
|
|
204
|
-
|
|
205
|
-
|
|
209
|
+
exports.RequestTimeoutException$ = RequestTimeoutException$;
|
|
210
|
+
n0_registry.registerError(RequestTimeoutException$, RequestTimeoutException);
|
|
211
|
+
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
206
212
|
{ [_e]: _c, [_hE]: 402 },
|
|
207
213
|
[_m],
|
|
208
214
|
[0], 1
|
|
209
215
|
];
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
217
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
218
|
+
const ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
212
219
|
{ [_e]: _se, [_hE]: 503 },
|
|
213
220
|
[_m],
|
|
214
221
|
[0], 1
|
|
215
222
|
];
|
|
216
|
-
|
|
217
|
-
|
|
223
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
224
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
225
|
+
const TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
218
226
|
{ [_e]: _c, [_hE]: 429 },
|
|
219
227
|
[_m],
|
|
220
228
|
[0], 1
|
|
221
229
|
];
|
|
222
|
-
|
|
223
|
-
|
|
230
|
+
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
231
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
232
|
+
const ValidationException$ = [-3, n0, _VE,
|
|
224
233
|
{ [_e]: _c },
|
|
225
234
|
[_m, _fL],
|
|
226
235
|
[0, () => ValidationExceptionFieldList], 1
|
|
227
236
|
];
|
|
228
|
-
|
|
237
|
+
exports.ValidationException$ = ValidationException$;
|
|
238
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
229
239
|
exports.errorTypeRegistries = [
|
|
230
240
|
_s_registry,
|
|
231
241
|
n0_registry,
|
|
232
242
|
];
|
|
233
|
-
|
|
243
|
+
const CreateIndexInput$ = [3, n0, _CII,
|
|
234
244
|
0,
|
|
235
245
|
[_iN, _dT, _d, _dM, _vBN, _vBA, _mC, _eC, _t],
|
|
236
|
-
[0, 0, 1, 0, 0, 0, () =>
|
|
246
|
+
[0, 0, 1, 0, 0, 0, () => MetadataConfiguration$, () => EncryptionConfiguration$, 128 | 0], 4
|
|
237
247
|
];
|
|
238
|
-
exports.
|
|
248
|
+
exports.CreateIndexInput$ = CreateIndexInput$;
|
|
249
|
+
const CreateIndexOutput$ = [3, n0, _CIO,
|
|
239
250
|
0,
|
|
240
251
|
[_iA],
|
|
241
252
|
[0], 1
|
|
242
253
|
];
|
|
243
|
-
exports.
|
|
254
|
+
exports.CreateIndexOutput$ = CreateIndexOutput$;
|
|
255
|
+
const CreateVectorBucketInput$ = [3, n0, _CVBI,
|
|
244
256
|
0,
|
|
245
257
|
[_vBN, _eC, _t],
|
|
246
|
-
[0, () =>
|
|
258
|
+
[0, () => EncryptionConfiguration$, 128 | 0], 1
|
|
247
259
|
];
|
|
248
|
-
exports.
|
|
260
|
+
exports.CreateVectorBucketInput$ = CreateVectorBucketInput$;
|
|
261
|
+
const CreateVectorBucketOutput$ = [3, n0, _CVBO,
|
|
249
262
|
0,
|
|
250
263
|
[_vBA],
|
|
251
264
|
[0], 1
|
|
252
265
|
];
|
|
253
|
-
exports.
|
|
266
|
+
exports.CreateVectorBucketOutput$ = CreateVectorBucketOutput$;
|
|
267
|
+
const DeleteIndexInput$ = [3, n0, _DII,
|
|
254
268
|
0,
|
|
255
269
|
[_vBN, _iN, _iA],
|
|
256
270
|
[0, 0, 0]
|
|
257
271
|
];
|
|
258
|
-
exports.
|
|
272
|
+
exports.DeleteIndexInput$ = DeleteIndexInput$;
|
|
273
|
+
const DeleteIndexOutput$ = [3, n0, _DIO,
|
|
259
274
|
0,
|
|
260
275
|
[],
|
|
261
276
|
[]
|
|
262
277
|
];
|
|
263
|
-
exports.
|
|
278
|
+
exports.DeleteIndexOutput$ = DeleteIndexOutput$;
|
|
279
|
+
const DeleteVectorBucketInput$ = [3, n0, _DVBI,
|
|
264
280
|
0,
|
|
265
281
|
[_vBN, _vBA],
|
|
266
282
|
[0, 0]
|
|
267
283
|
];
|
|
268
|
-
exports.
|
|
284
|
+
exports.DeleteVectorBucketInput$ = DeleteVectorBucketInput$;
|
|
285
|
+
const DeleteVectorBucketOutput$ = [3, n0, _DVBO,
|
|
269
286
|
0,
|
|
270
287
|
[],
|
|
271
288
|
[]
|
|
272
289
|
];
|
|
273
|
-
exports.
|
|
290
|
+
exports.DeleteVectorBucketOutput$ = DeleteVectorBucketOutput$;
|
|
291
|
+
const DeleteVectorBucketPolicyInput$ = [3, n0, _DVBPI,
|
|
274
292
|
0,
|
|
275
293
|
[_vBN, _vBA],
|
|
276
294
|
[0, 0]
|
|
277
295
|
];
|
|
278
|
-
exports.
|
|
296
|
+
exports.DeleteVectorBucketPolicyInput$ = DeleteVectorBucketPolicyInput$;
|
|
297
|
+
const DeleteVectorBucketPolicyOutput$ = [3, n0, _DVBPO,
|
|
279
298
|
0,
|
|
280
299
|
[],
|
|
281
300
|
[]
|
|
282
301
|
];
|
|
283
|
-
exports.
|
|
302
|
+
exports.DeleteVectorBucketPolicyOutput$ = DeleteVectorBucketPolicyOutput$;
|
|
303
|
+
const DeleteVectorsInput$ = [3, n0, _DVI,
|
|
284
304
|
0,
|
|
285
305
|
[_k, _vBN, _iN, _iA],
|
|
286
306
|
[64 | 0, 0, 0, 0], 1
|
|
287
307
|
];
|
|
288
|
-
exports.
|
|
308
|
+
exports.DeleteVectorsInput$ = DeleteVectorsInput$;
|
|
309
|
+
const DeleteVectorsOutput$ = [3, n0, _DVO,
|
|
289
310
|
0,
|
|
290
311
|
[],
|
|
291
312
|
[]
|
|
292
313
|
];
|
|
293
|
-
exports.
|
|
314
|
+
exports.DeleteVectorsOutput$ = DeleteVectorsOutput$;
|
|
315
|
+
const EncryptionConfiguration$ = [3, n0, _EC,
|
|
294
316
|
0,
|
|
295
317
|
[_sT, _kKA],
|
|
296
318
|
[0, 0]
|
|
297
319
|
];
|
|
298
|
-
exports.
|
|
320
|
+
exports.EncryptionConfiguration$ = EncryptionConfiguration$;
|
|
321
|
+
const GetIndexInput$ = [3, n0, _GII,
|
|
299
322
|
0,
|
|
300
323
|
[_vBN, _iN, _iA],
|
|
301
324
|
[0, 0, 0]
|
|
302
325
|
];
|
|
303
|
-
exports.
|
|
326
|
+
exports.GetIndexInput$ = GetIndexInput$;
|
|
327
|
+
const GetIndexOutput$ = [3, n0, _GIO,
|
|
304
328
|
0,
|
|
305
329
|
[_i],
|
|
306
|
-
[() =>
|
|
330
|
+
[() => Index$], 1
|
|
307
331
|
];
|
|
308
|
-
exports.
|
|
332
|
+
exports.GetIndexOutput$ = GetIndexOutput$;
|
|
333
|
+
const GetOutputVector$ = [3, n0, _GOV,
|
|
309
334
|
0,
|
|
310
335
|
[_ke, _da, _me],
|
|
311
|
-
[0, () =>
|
|
336
|
+
[0, () => VectorData$, 15], 1
|
|
312
337
|
];
|
|
313
|
-
exports.
|
|
338
|
+
exports.GetOutputVector$ = GetOutputVector$;
|
|
339
|
+
const GetVectorBucketInput$ = [3, n0, _GVBI,
|
|
314
340
|
0,
|
|
315
341
|
[_vBN, _vBA],
|
|
316
342
|
[0, 0]
|
|
317
343
|
];
|
|
318
|
-
exports.
|
|
344
|
+
exports.GetVectorBucketInput$ = GetVectorBucketInput$;
|
|
345
|
+
const GetVectorBucketOutput$ = [3, n0, _GVBO,
|
|
319
346
|
0,
|
|
320
347
|
[_vB],
|
|
321
|
-
[() =>
|
|
348
|
+
[() => VectorBucket$], 1
|
|
322
349
|
];
|
|
323
|
-
exports.
|
|
350
|
+
exports.GetVectorBucketOutput$ = GetVectorBucketOutput$;
|
|
351
|
+
const GetVectorBucketPolicyInput$ = [3, n0, _GVBPI,
|
|
324
352
|
0,
|
|
325
353
|
[_vBN, _vBA],
|
|
326
354
|
[0, 0]
|
|
327
355
|
];
|
|
328
|
-
exports.
|
|
356
|
+
exports.GetVectorBucketPolicyInput$ = GetVectorBucketPolicyInput$;
|
|
357
|
+
const GetVectorBucketPolicyOutput$ = [3, n0, _GVBPO,
|
|
329
358
|
0,
|
|
330
359
|
[_p],
|
|
331
360
|
[0]
|
|
332
361
|
];
|
|
333
|
-
exports.
|
|
362
|
+
exports.GetVectorBucketPolicyOutput$ = GetVectorBucketPolicyOutput$;
|
|
363
|
+
const GetVectorsInput$ = [3, n0, _GVI,
|
|
334
364
|
0,
|
|
335
365
|
[_k, _vBN, _iN, _iA, _rD, _rM],
|
|
336
366
|
[64 | 0, 0, 0, 0, 2, 2], 1
|
|
337
367
|
];
|
|
338
|
-
exports.
|
|
368
|
+
exports.GetVectorsInput$ = GetVectorsInput$;
|
|
369
|
+
const GetVectorsOutput$ = [3, n0, _GVO,
|
|
339
370
|
0,
|
|
340
371
|
[_v],
|
|
341
372
|
[() => GetVectorsOutputList], 1
|
|
342
373
|
];
|
|
343
|
-
exports.
|
|
374
|
+
exports.GetVectorsOutput$ = GetVectorsOutput$;
|
|
375
|
+
const Index$ = [3, n0, _I,
|
|
344
376
|
0,
|
|
345
377
|
[_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC, _eC],
|
|
346
|
-
[0, 0, 0, 4, 0, 1, 0, () =>
|
|
378
|
+
[0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration$, () => EncryptionConfiguration$], 7
|
|
347
379
|
];
|
|
348
|
-
exports.
|
|
380
|
+
exports.Index$ = Index$;
|
|
381
|
+
const IndexSummary$ = [3, n0, _IS,
|
|
349
382
|
0,
|
|
350
383
|
[_vBN, _iN, _iA, _cT],
|
|
351
384
|
[0, 0, 0, 4], 4
|
|
352
385
|
];
|
|
353
|
-
exports.
|
|
386
|
+
exports.IndexSummary$ = IndexSummary$;
|
|
387
|
+
const ListIndexesInput$ = [3, n0, _LII,
|
|
354
388
|
0,
|
|
355
389
|
[_vBN, _vBA, _mR, _nT, _pr],
|
|
356
390
|
[0, 0, 1, 0, 0]
|
|
357
391
|
];
|
|
358
|
-
exports.
|
|
392
|
+
exports.ListIndexesInput$ = ListIndexesInput$;
|
|
393
|
+
const ListIndexesOutput$ = [3, n0, _LIO,
|
|
359
394
|
0,
|
|
360
395
|
[_in, _nT],
|
|
361
396
|
[() => ListIndexesOutputList, 0], 1
|
|
362
397
|
];
|
|
363
|
-
exports.
|
|
398
|
+
exports.ListIndexesOutput$ = ListIndexesOutput$;
|
|
399
|
+
const ListOutputVector$ = [3, n0, _LOV,
|
|
364
400
|
0,
|
|
365
401
|
[_ke, _da, _me],
|
|
366
|
-
[0, () =>
|
|
402
|
+
[0, () => VectorData$, 15], 1
|
|
367
403
|
];
|
|
368
|
-
exports.
|
|
404
|
+
exports.ListOutputVector$ = ListOutputVector$;
|
|
405
|
+
const ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
369
406
|
0,
|
|
370
407
|
[_rA],
|
|
371
408
|
[[0, 1]], 1
|
|
372
409
|
];
|
|
373
|
-
exports.
|
|
410
|
+
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
411
|
+
const ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
374
412
|
0,
|
|
375
413
|
[_t],
|
|
376
414
|
[128 | 0], 1
|
|
377
415
|
];
|
|
378
|
-
exports.
|
|
416
|
+
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
417
|
+
const ListVectorBucketsInput$ = [3, n0, _LVBI,
|
|
379
418
|
0,
|
|
380
419
|
[_mR, _nT, _pr],
|
|
381
420
|
[1, 0, 0]
|
|
382
421
|
];
|
|
383
|
-
exports.
|
|
422
|
+
exports.ListVectorBucketsInput$ = ListVectorBucketsInput$;
|
|
423
|
+
const ListVectorBucketsOutput$ = [3, n0, _LVBO,
|
|
384
424
|
0,
|
|
385
425
|
[_vBe, _nT],
|
|
386
426
|
[() => ListVectorBucketsOutputList, 0], 1
|
|
387
427
|
];
|
|
388
|
-
exports.
|
|
428
|
+
exports.ListVectorBucketsOutput$ = ListVectorBucketsOutput$;
|
|
429
|
+
const ListVectorsInput$ = [3, n0, _LVI,
|
|
389
430
|
0,
|
|
390
431
|
[_vBN, _iN, _iA, _mR, _nT, _sC, _sI, _rD, _rM],
|
|
391
432
|
[0, 0, 0, 1, 0, 1, 1, 2, 2]
|
|
392
433
|
];
|
|
393
|
-
exports.
|
|
434
|
+
exports.ListVectorsInput$ = ListVectorsInput$;
|
|
435
|
+
const ListVectorsOutput$ = [3, n0, _LVO,
|
|
394
436
|
0,
|
|
395
437
|
[_v, _nT],
|
|
396
438
|
[() => ListVectorsOutputList, 0], 1
|
|
397
439
|
];
|
|
398
|
-
exports.
|
|
440
|
+
exports.ListVectorsOutput$ = ListVectorsOutput$;
|
|
441
|
+
const MetadataConfiguration$ = [3, n0, _MC,
|
|
399
442
|
0,
|
|
400
443
|
[_nFMK],
|
|
401
444
|
[64 | 0], 1
|
|
402
445
|
];
|
|
403
|
-
exports.
|
|
446
|
+
exports.MetadataConfiguration$ = MetadataConfiguration$;
|
|
447
|
+
const PutInputVector$ = [3, n0, _PIV,
|
|
404
448
|
0,
|
|
405
449
|
[_ke, _da, _me],
|
|
406
|
-
[0, () =>
|
|
450
|
+
[0, () => VectorData$, 15], 2
|
|
407
451
|
];
|
|
408
|
-
exports.
|
|
452
|
+
exports.PutInputVector$ = PutInputVector$;
|
|
453
|
+
const PutVectorBucketPolicyInput$ = [3, n0, _PVBPI,
|
|
409
454
|
0,
|
|
410
455
|
[_p, _vBN, _vBA],
|
|
411
456
|
[0, 0, 0], 1
|
|
412
457
|
];
|
|
413
|
-
exports.
|
|
458
|
+
exports.PutVectorBucketPolicyInput$ = PutVectorBucketPolicyInput$;
|
|
459
|
+
const PutVectorBucketPolicyOutput$ = [3, n0, _PVBPO,
|
|
414
460
|
0,
|
|
415
461
|
[],
|
|
416
462
|
[]
|
|
417
463
|
];
|
|
418
|
-
exports.
|
|
464
|
+
exports.PutVectorBucketPolicyOutput$ = PutVectorBucketPolicyOutput$;
|
|
465
|
+
const PutVectorsInput$ = [3, n0, _PVI,
|
|
419
466
|
0,
|
|
420
467
|
[_v, _vBN, _iN, _iA],
|
|
421
468
|
[() => PutVectorsInputList, 0, 0, 0], 1
|
|
422
469
|
];
|
|
423
|
-
exports.
|
|
470
|
+
exports.PutVectorsInput$ = PutVectorsInput$;
|
|
471
|
+
const PutVectorsOutput$ = [3, n0, _PVO,
|
|
424
472
|
0,
|
|
425
473
|
[],
|
|
426
474
|
[]
|
|
427
475
|
];
|
|
428
|
-
exports.
|
|
476
|
+
exports.PutVectorsOutput$ = PutVectorsOutput$;
|
|
477
|
+
const QueryOutputVector$ = [3, n0, _QOV,
|
|
429
478
|
0,
|
|
430
479
|
[_ke, _di, _me],
|
|
431
480
|
[0, 1, 15], 1
|
|
432
481
|
];
|
|
433
|
-
exports.
|
|
482
|
+
exports.QueryOutputVector$ = QueryOutputVector$;
|
|
483
|
+
const QueryVectorsInput$ = [3, n0, _QVI,
|
|
434
484
|
0,
|
|
435
485
|
[_tK, _qV, _vBN, _iN, _iA, _f, _rM, _rDe],
|
|
436
|
-
[1, () =>
|
|
486
|
+
[1, () => VectorData$, 0, 0, 0, 15, 2, 2], 2
|
|
437
487
|
];
|
|
438
|
-
exports.
|
|
488
|
+
exports.QueryVectorsInput$ = QueryVectorsInput$;
|
|
489
|
+
const QueryVectorsOutput$ = [3, n0, _QVO,
|
|
439
490
|
0,
|
|
440
491
|
[_v, _dM],
|
|
441
492
|
[() => QueryVectorsOutputList, 0], 2
|
|
442
493
|
];
|
|
443
|
-
exports.
|
|
494
|
+
exports.QueryVectorsOutput$ = QueryVectorsOutput$;
|
|
495
|
+
const TagResourceInput$ = [3, n0, _TRI,
|
|
444
496
|
0,
|
|
445
497
|
[_rA, _t],
|
|
446
498
|
[[0, 1], 128 | 0], 2
|
|
447
499
|
];
|
|
448
|
-
exports.
|
|
500
|
+
exports.TagResourceInput$ = TagResourceInput$;
|
|
501
|
+
const TagResourceOutput$ = [3, n0, _TRO,
|
|
449
502
|
0,
|
|
450
503
|
[],
|
|
451
504
|
[]
|
|
452
505
|
];
|
|
453
|
-
exports.
|
|
506
|
+
exports.TagResourceOutput$ = TagResourceOutput$;
|
|
507
|
+
const UntagResourceInput$ = [3, n0, _URI,
|
|
454
508
|
0,
|
|
455
509
|
[_rA, _tKa],
|
|
456
510
|
[[0, 1], [64 | 0, { [_hQ]: _tKa }]], 2
|
|
457
511
|
];
|
|
458
|
-
exports.
|
|
512
|
+
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
513
|
+
const UntagResourceOutput$ = [3, n0, _URO,
|
|
459
514
|
0,
|
|
460
515
|
[],
|
|
461
516
|
[]
|
|
462
517
|
];
|
|
463
|
-
exports.
|
|
518
|
+
exports.UntagResourceOutput$ = UntagResourceOutput$;
|
|
519
|
+
const ValidationExceptionField$ = [3, n0, _VEF,
|
|
464
520
|
0,
|
|
465
521
|
[_pa, _m],
|
|
466
522
|
[0, 0], 2
|
|
467
523
|
];
|
|
468
|
-
exports.
|
|
524
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
525
|
+
const VectorBucket$ = [3, n0, _VB,
|
|
469
526
|
0,
|
|
470
527
|
[_vBN, _vBA, _cT, _eC],
|
|
471
|
-
[0, 0, 4, () =>
|
|
528
|
+
[0, 0, 4, () => EncryptionConfiguration$], 3
|
|
472
529
|
];
|
|
473
|
-
exports.
|
|
530
|
+
exports.VectorBucket$ = VectorBucket$;
|
|
531
|
+
const VectorBucketSummary$ = [3, n0, _VBS,
|
|
474
532
|
0,
|
|
475
533
|
[_vBN, _vBA, _cT],
|
|
476
534
|
[0, 0, 4], 3
|
|
477
535
|
];
|
|
536
|
+
exports.VectorBucketSummary$ = VectorBucketSummary$;
|
|
478
537
|
var DeleteVectorsInputList = 64 | 0;
|
|
479
538
|
var Float32VectorData = 64 | 1;
|
|
480
539
|
var GetVectorsInputList = 64 | 0;
|
|
481
540
|
var GetVectorsOutputList = [1, n0, _GVOL,
|
|
482
|
-
0, () =>
|
|
541
|
+
0, () => GetOutputVector$
|
|
483
542
|
];
|
|
484
543
|
var ListIndexesOutputList = [1, n0, _LIOL,
|
|
485
|
-
0, () =>
|
|
544
|
+
0, () => IndexSummary$
|
|
486
545
|
];
|
|
487
546
|
var ListVectorBucketsOutputList = [1, n0, _LVBOL,
|
|
488
|
-
0, () =>
|
|
547
|
+
0, () => VectorBucketSummary$
|
|
489
548
|
];
|
|
490
549
|
var ListVectorsOutputList = [1, n0, _LVOL,
|
|
491
|
-
0, () =>
|
|
550
|
+
0, () => ListOutputVector$
|
|
492
551
|
];
|
|
493
552
|
var NonFilterableMetadataKeys = 64 | 0;
|
|
494
553
|
var PutVectorsInputList = [1, n0, _PVIL,
|
|
495
|
-
0, () =>
|
|
554
|
+
0, () => PutInputVector$
|
|
496
555
|
];
|
|
497
556
|
var QueryVectorsOutputList = [1, n0, _QVOL,
|
|
498
|
-
0, () =>
|
|
557
|
+
0, () => QueryOutputVector$
|
|
499
558
|
];
|
|
500
559
|
var TagKeyList = 64 | 0;
|
|
501
560
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
502
|
-
0, () =>
|
|
561
|
+
0, () => ValidationExceptionField$
|
|
503
562
|
];
|
|
504
563
|
var TagsMap = 128 | 0;
|
|
505
|
-
|
|
564
|
+
const VectorData$ = [4, n0, _VD,
|
|
506
565
|
0,
|
|
507
566
|
[_fl],
|
|
508
567
|
[64 | 1]
|
|
509
568
|
];
|
|
569
|
+
exports.VectorData$ = VectorData$;
|
|
510
570
|
exports.CreateIndex$ = [9, n0, _CI,
|
|
511
|
-
{ [_h]: ["POST", "/CreateIndex", 200] }, () =>
|
|
571
|
+
{ [_h]: ["POST", "/CreateIndex", 200] }, () => CreateIndexInput$, () => CreateIndexOutput$
|
|
512
572
|
];
|
|
513
573
|
exports.CreateVectorBucket$ = [9, n0, _CVB,
|
|
514
|
-
{ [_h]: ["POST", "/CreateVectorBucket", 200] }, () =>
|
|
574
|
+
{ [_h]: ["POST", "/CreateVectorBucket", 200] }, () => CreateVectorBucketInput$, () => CreateVectorBucketOutput$
|
|
515
575
|
];
|
|
516
576
|
exports.DeleteIndex$ = [9, n0, _DI,
|
|
517
|
-
{ [_h]: ["POST", "/DeleteIndex", 200] }, () =>
|
|
577
|
+
{ [_h]: ["POST", "/DeleteIndex", 200] }, () => DeleteIndexInput$, () => DeleteIndexOutput$
|
|
518
578
|
];
|
|
519
579
|
exports.DeleteVectorBucket$ = [9, n0, _DVB,
|
|
520
|
-
{ [_h]: ["POST", "/DeleteVectorBucket", 200] }, () =>
|
|
580
|
+
{ [_h]: ["POST", "/DeleteVectorBucket", 200] }, () => DeleteVectorBucketInput$, () => DeleteVectorBucketOutput$
|
|
521
581
|
];
|
|
522
582
|
exports.DeleteVectorBucketPolicy$ = [9, n0, _DVBP,
|
|
523
|
-
{ [_h]: ["POST", "/DeleteVectorBucketPolicy", 200] }, () =>
|
|
583
|
+
{ [_h]: ["POST", "/DeleteVectorBucketPolicy", 200] }, () => DeleteVectorBucketPolicyInput$, () => DeleteVectorBucketPolicyOutput$
|
|
524
584
|
];
|
|
525
585
|
exports.DeleteVectors$ = [9, n0, _DV,
|
|
526
|
-
{ [_h]: ["POST", "/DeleteVectors", 200] }, () =>
|
|
586
|
+
{ [_h]: ["POST", "/DeleteVectors", 200] }, () => DeleteVectorsInput$, () => DeleteVectorsOutput$
|
|
527
587
|
];
|
|
528
588
|
exports.GetIndex$ = [9, n0, _GI,
|
|
529
|
-
{ [_h]: ["POST", "/GetIndex", 200] }, () =>
|
|
589
|
+
{ [_h]: ["POST", "/GetIndex", 200] }, () => GetIndexInput$, () => GetIndexOutput$
|
|
530
590
|
];
|
|
531
591
|
exports.GetVectorBucket$ = [9, n0, _GVB,
|
|
532
|
-
{ [_h]: ["POST", "/GetVectorBucket", 200] }, () =>
|
|
592
|
+
{ [_h]: ["POST", "/GetVectorBucket", 200] }, () => GetVectorBucketInput$, () => GetVectorBucketOutput$
|
|
533
593
|
];
|
|
534
594
|
exports.GetVectorBucketPolicy$ = [9, n0, _GVBP,
|
|
535
|
-
{ [_h]: ["POST", "/GetVectorBucketPolicy", 200] }, () =>
|
|
595
|
+
{ [_h]: ["POST", "/GetVectorBucketPolicy", 200] }, () => GetVectorBucketPolicyInput$, () => GetVectorBucketPolicyOutput$
|
|
536
596
|
];
|
|
537
597
|
exports.GetVectors$ = [9, n0, _GV,
|
|
538
|
-
{ [_h]: ["POST", "/GetVectors", 200] }, () =>
|
|
598
|
+
{ [_h]: ["POST", "/GetVectors", 200] }, () => GetVectorsInput$, () => GetVectorsOutput$
|
|
539
599
|
];
|
|
540
600
|
exports.ListIndexes$ = [9, n0, _LI,
|
|
541
|
-
{ [_h]: ["POST", "/ListIndexes", 200] }, () =>
|
|
601
|
+
{ [_h]: ["POST", "/ListIndexes", 200] }, () => ListIndexesInput$, () => ListIndexesOutput$
|
|
542
602
|
];
|
|
543
603
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
544
|
-
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () =>
|
|
604
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
545
605
|
];
|
|
546
606
|
exports.ListVectorBuckets$ = [9, n0, _LVB,
|
|
547
|
-
{ [_h]: ["POST", "/ListVectorBuckets", 200] }, () =>
|
|
607
|
+
{ [_h]: ["POST", "/ListVectorBuckets", 200] }, () => ListVectorBucketsInput$, () => ListVectorBucketsOutput$
|
|
548
608
|
];
|
|
549
609
|
exports.ListVectors$ = [9, n0, _LV,
|
|
550
|
-
{ [_h]: ["POST", "/ListVectors", 200] }, () =>
|
|
610
|
+
{ [_h]: ["POST", "/ListVectors", 200] }, () => ListVectorsInput$, () => ListVectorsOutput$
|
|
551
611
|
];
|
|
552
612
|
exports.PutVectorBucketPolicy$ = [9, n0, _PVBP,
|
|
553
|
-
{ [_h]: ["POST", "/PutVectorBucketPolicy", 200] }, () =>
|
|
613
|
+
{ [_h]: ["POST", "/PutVectorBucketPolicy", 200] }, () => PutVectorBucketPolicyInput$, () => PutVectorBucketPolicyOutput$
|
|
554
614
|
];
|
|
555
615
|
exports.PutVectors$ = [9, n0, _PV,
|
|
556
|
-
{ [_h]: ["POST", "/PutVectors", 200] }, () =>
|
|
616
|
+
{ [_h]: ["POST", "/PutVectors", 200] }, () => PutVectorsInput$, () => PutVectorsOutput$
|
|
557
617
|
];
|
|
558
618
|
exports.QueryVectors$ = [9, n0, _QV,
|
|
559
|
-
{ [_h]: ["POST", "/QueryVectors", 200] }, () =>
|
|
619
|
+
{ [_h]: ["POST", "/QueryVectors", 200] }, () => QueryVectorsInput$, () => QueryVectorsOutput$
|
|
560
620
|
];
|
|
561
621
|
exports.TagResource$ = [9, n0, _TR,
|
|
562
|
-
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () =>
|
|
622
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
|
|
563
623
|
];
|
|
564
624
|
exports.UntagResource$ = [9, n0, _UR,
|
|
565
|
-
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () =>
|
|
625
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
|
|
566
626
|
];
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3vectors",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3vectors Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1069.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
|
|
16
16
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
17
17
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.974.21",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
28
|
+
"@aws-sdk/types": "^3.973.13",
|
|
29
29
|
"@smithy/core": "^3.24.6",
|
|
30
30
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
31
31
|
"@smithy/node-http-handler": "^4.7.6",
|