@aws-sdk/client-s3vectors 3.941.0 → 3.946.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/README.md +24 -0
- package/dist-cjs/index.js +130 -196
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/S3Vectors.js +6 -0
- package/dist-es/S3VectorsClient.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +90 -196
- package/dist-types/S3Vectors.d.ts +22 -1
- package/dist-types/S3VectorsClient.d.ts +15 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateIndexCommand.d.ts +11 -4
- package/dist-types/commands/CreateVectorBucketCommand.d.ts +7 -4
- package/dist-types/commands/DeleteIndexCommand.d.ts +7 -4
- package/dist-types/commands/DeleteVectorBucketCommand.d.ts +7 -4
- package/dist-types/commands/DeleteVectorBucketPolicyCommand.d.ts +4 -4
- package/dist-types/commands/DeleteVectorsCommand.d.ts +4 -4
- package/dist-types/commands/GetIndexCommand.d.ts +8 -4
- package/dist-types/commands/GetVectorBucketCommand.d.ts +4 -4
- package/dist-types/commands/GetVectorBucketPolicyCommand.d.ts +4 -4
- package/dist-types/commands/GetVectorsCommand.d.ts +4 -4
- package/dist-types/commands/ListIndexesCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/ListVectorBucketsCommand.d.ts +4 -4
- package/dist-types/commands/ListVectorsCommand.d.ts +4 -4
- package/dist-types/commands/PutVectorBucketPolicyCommand.d.ts +4 -4
- package/dist-types/commands/PutVectorsCommand.d.ts +4 -4
- package/dist-types/commands/QueryVectorsCommand.d.ts +5 -10
- package/dist-types/commands/TagResourceCommand.d.ts +99 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/S3VectorsServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +110 -35
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListIndexesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVectorBucketsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVectorsPaginator.d.ts +1 -1
- 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/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +12 -1
- package/dist-types/ts3.4/S3Vectors.d.ts +51 -0
- package/dist-types/ts3.4/S3VectorsClient.d.ts +23 -5
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/S3VectorsServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +25 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -290,6 +290,14 @@ ListIndexes
|
|
|
290
290
|
|
|
291
291
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3vectors/command/ListIndexesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/ListIndexesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/ListIndexesCommandOutput/)
|
|
292
292
|
|
|
293
|
+
</details>
|
|
294
|
+
<details>
|
|
295
|
+
<summary>
|
|
296
|
+
ListTagsForResource
|
|
297
|
+
</summary>
|
|
298
|
+
|
|
299
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3vectors/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/ListTagsForResourceCommandOutput/)
|
|
300
|
+
|
|
293
301
|
</details>
|
|
294
302
|
<details>
|
|
295
303
|
<summary>
|
|
@@ -331,3 +339,19 @@ QueryVectors
|
|
|
331
339
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3vectors/command/QueryVectorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/QueryVectorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/QueryVectorsCommandOutput/)
|
|
332
340
|
|
|
333
341
|
</details>
|
|
342
|
+
<details>
|
|
343
|
+
<summary>
|
|
344
|
+
TagResource
|
|
345
|
+
</summary>
|
|
346
|
+
|
|
347
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3vectors/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/TagResourceCommandOutput/)
|
|
348
|
+
|
|
349
|
+
</details>
|
|
350
|
+
<details>
|
|
351
|
+
<summary>
|
|
352
|
+
UntagResource
|
|
353
|
+
</summary>
|
|
354
|
+
|
|
355
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3vectors/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3vectors/Interface/UntagResourceCommandOutput/)
|
|
356
|
+
|
|
357
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -327,6 +327,9 @@ const _LII = "ListIndexesInput";
|
|
|
327
327
|
const _LIO = "ListIndexesOutput";
|
|
328
328
|
const _LIOL = "ListIndexesOutputList";
|
|
329
329
|
const _LOV = "ListOutputVector";
|
|
330
|
+
const _LTFR = "ListTagsForResource";
|
|
331
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
332
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
330
333
|
const _LV = "ListVectors";
|
|
331
334
|
const _LVB = "ListVectorBuckets";
|
|
332
335
|
const _LVBI = "ListVectorBucketsInput";
|
|
@@ -354,6 +357,12 @@ const _RTE = "RequestTimeoutException";
|
|
|
354
357
|
const _SQEE = "ServiceQuotaExceededException";
|
|
355
358
|
const _SUE = "ServiceUnavailableException";
|
|
356
359
|
const _TMRE = "TooManyRequestsException";
|
|
360
|
+
const _TR = "TagResource";
|
|
361
|
+
const _TRI = "TagResourceInput";
|
|
362
|
+
const _TRO = "TagResourceOutput";
|
|
363
|
+
const _UR = "UntagResource";
|
|
364
|
+
const _URI = "UntagResourceInput";
|
|
365
|
+
const _URO = "UntagResourceOutput";
|
|
357
366
|
const _VB = "VectorBucket";
|
|
358
367
|
const _VBS = "VectorBucketSummary";
|
|
359
368
|
const _VD = "VectorData";
|
|
@@ -374,6 +383,7 @@ const _fL = "fieldList";
|
|
|
374
383
|
const _fl = "float32";
|
|
375
384
|
const _h = "http";
|
|
376
385
|
const _hE = "httpError";
|
|
386
|
+
const _hQ = "httpQuery";
|
|
377
387
|
const _i = "index";
|
|
378
388
|
const _iA = "indexArn";
|
|
379
389
|
const _iN = "indexName";
|
|
@@ -391,6 +401,7 @@ const _p = "policy";
|
|
|
391
401
|
const _pa = "path";
|
|
392
402
|
const _pr = "prefix";
|
|
393
403
|
const _qV = "queryVector";
|
|
404
|
+
const _rA = "resourceArn";
|
|
394
405
|
const _rD = "returnData";
|
|
395
406
|
const _rDe = "returnDistance";
|
|
396
407
|
const _rM = "returnMetadata";
|
|
@@ -399,44 +410,26 @@ const _sC = "segmentCount";
|
|
|
399
410
|
const _sI = "segmentIndex";
|
|
400
411
|
const _sT = "sseType";
|
|
401
412
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
|
|
413
|
+
const _t = "tags";
|
|
402
414
|
const _tK = "topK";
|
|
415
|
+
const _tKa = "tagKeys";
|
|
403
416
|
const _v = "vectors";
|
|
404
417
|
const _vB = "vectorBucket";
|
|
405
418
|
const _vBA = "vectorBucketArn";
|
|
406
419
|
const _vBN = "vectorBucketName";
|
|
407
420
|
const _vBe = "vectorBuckets";
|
|
408
421
|
const n0 = "com.amazonaws.s3vectors";
|
|
409
|
-
var AccessDeniedException = [
|
|
410
|
-
-3,
|
|
411
|
-
n0,
|
|
412
|
-
_ADE,
|
|
413
|
-
{
|
|
414
|
-
[_e]: _c,
|
|
415
|
-
[_hE]: 403,
|
|
416
|
-
},
|
|
417
|
-
[_m],
|
|
418
|
-
[0],
|
|
419
|
-
];
|
|
422
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
420
423
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
421
|
-
var ConflictException = [
|
|
422
|
-
-3,
|
|
423
|
-
n0,
|
|
424
|
-
_CE,
|
|
425
|
-
{
|
|
426
|
-
[_e]: _c,
|
|
427
|
-
[_hE]: 409,
|
|
428
|
-
},
|
|
429
|
-
[_m],
|
|
430
|
-
[0],
|
|
431
|
-
];
|
|
424
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
432
425
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
433
426
|
var CreateIndexInput = [
|
|
434
427
|
3,
|
|
435
428
|
n0,
|
|
436
429
|
_CII,
|
|
437
430
|
0,
|
|
438
|
-
[_vBN, _vBA, _iN, _dT, _d, _dM, _mC],
|
|
439
|
-
[0, 0, 0, 0, 1, 0, () => MetadataConfiguration],
|
|
431
|
+
[_vBN, _vBA, _iN, _dT, _d, _dM, _mC, _eC, _t],
|
|
432
|
+
[0, 0, 0, 0, 1, 0, () => MetadataConfiguration, () => EncryptionConfiguration, 128 | 0],
|
|
440
433
|
];
|
|
441
434
|
var CreateIndexOutput = [3, n0, _CIO, 0, [_iA], [0]];
|
|
442
435
|
var CreateVectorBucketInput = [
|
|
@@ -444,8 +437,8 @@ var CreateVectorBucketInput = [
|
|
|
444
437
|
n0,
|
|
445
438
|
_CVBI,
|
|
446
439
|
0,
|
|
447
|
-
[_vBN, _eC],
|
|
448
|
-
[0, () => EncryptionConfiguration],
|
|
440
|
+
[_vBN, _eC, _t],
|
|
441
|
+
[0, () => EncryptionConfiguration, 128 | 0],
|
|
449
442
|
];
|
|
450
443
|
var CreateVectorBucketOutput = [3, n0, _CVBO, 0, [_vBA], [0]];
|
|
451
444
|
var DeleteIndexInput = [3, n0, _DII, 0, [_vBN, _iN, _iA], [0, 0, 0]];
|
|
@@ -478,73 +471,25 @@ var Index = [
|
|
|
478
471
|
n0,
|
|
479
472
|
_I,
|
|
480
473
|
0,
|
|
481
|
-
[_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC],
|
|
482
|
-
[0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration],
|
|
474
|
+
[_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC, _eC],
|
|
475
|
+
[0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration, () => EncryptionConfiguration],
|
|
483
476
|
];
|
|
484
477
|
var IndexSummary = [3, n0, _IS, 0, [_vBN, _iN, _iA, _cT], [0, 0, 0, 4]];
|
|
485
|
-
var InternalServerException = [
|
|
486
|
-
-3,
|
|
487
|
-
n0,
|
|
488
|
-
_ISE,
|
|
489
|
-
{
|
|
490
|
-
[_e]: _s,
|
|
491
|
-
[_hE]: 500,
|
|
492
|
-
},
|
|
493
|
-
[_m],
|
|
494
|
-
[0],
|
|
495
|
-
];
|
|
478
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
496
479
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
497
|
-
var KmsDisabledException = [
|
|
498
|
-
-3,
|
|
499
|
-
n0,
|
|
500
|
-
_KDE,
|
|
501
|
-
{
|
|
502
|
-
[_e]: _c,
|
|
503
|
-
[_hE]: 400,
|
|
504
|
-
},
|
|
505
|
-
[_m],
|
|
506
|
-
[0],
|
|
507
|
-
];
|
|
480
|
+
var KmsDisabledException = [-3, n0, _KDE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
508
481
|
schema.TypeRegistry.for(n0).registerError(KmsDisabledException, KmsDisabledException$1);
|
|
509
|
-
var KmsInvalidKeyUsageException = [
|
|
510
|
-
-3,
|
|
511
|
-
n0,
|
|
512
|
-
_KIKUE,
|
|
513
|
-
{
|
|
514
|
-
[_e]: _c,
|
|
515
|
-
[_hE]: 400,
|
|
516
|
-
},
|
|
517
|
-
[_m],
|
|
518
|
-
[0],
|
|
519
|
-
];
|
|
482
|
+
var KmsInvalidKeyUsageException = [-3, n0, _KIKUE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
520
483
|
schema.TypeRegistry.for(n0).registerError(KmsInvalidKeyUsageException, KmsInvalidKeyUsageException$1);
|
|
521
|
-
var KmsInvalidStateException = [
|
|
522
|
-
-3,
|
|
523
|
-
n0,
|
|
524
|
-
_KISE,
|
|
525
|
-
{
|
|
526
|
-
[_e]: _c,
|
|
527
|
-
[_hE]: 400,
|
|
528
|
-
},
|
|
529
|
-
[_m],
|
|
530
|
-
[0],
|
|
531
|
-
];
|
|
484
|
+
var KmsInvalidStateException = [-3, n0, _KISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
532
485
|
schema.TypeRegistry.for(n0).registerError(KmsInvalidStateException, KmsInvalidStateException$1);
|
|
533
|
-
var KmsNotFoundException = [
|
|
534
|
-
-3,
|
|
535
|
-
n0,
|
|
536
|
-
_KNFE,
|
|
537
|
-
{
|
|
538
|
-
[_e]: _c,
|
|
539
|
-
[_hE]: 400,
|
|
540
|
-
},
|
|
541
|
-
[_m],
|
|
542
|
-
[0],
|
|
543
|
-
];
|
|
486
|
+
var KmsNotFoundException = [-3, n0, _KNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
544
487
|
schema.TypeRegistry.for(n0).registerError(KmsNotFoundException, KmsNotFoundException$1);
|
|
545
488
|
var ListIndexesInput = [3, n0, _LII, 0, [_vBN, _vBA, _mR, _nT, _pr], [0, 0, 1, 0, 0]];
|
|
546
489
|
var ListIndexesOutput = [3, n0, _LIO, 0, [_nT, _in], [0, () => ListIndexesOutputList]];
|
|
547
490
|
var ListOutputVector = [3, n0, _LOV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
|
|
491
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
|
|
492
|
+
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
|
|
548
493
|
var ListVectorBucketsInput = [3, n0, _LVBI, 0, [_mR, _nT, _pr], [1, 0, 0]];
|
|
549
494
|
var ListVectorBucketsOutput = [
|
|
550
495
|
3,
|
|
@@ -564,17 +509,7 @@ var ListVectorsInput = [
|
|
|
564
509
|
];
|
|
565
510
|
var ListVectorsOutput = [3, n0, _LVO, 0, [_nT, _v], [0, () => ListVectorsOutputList]];
|
|
566
511
|
var MetadataConfiguration = [3, n0, _MC, 0, [_nFMK], [64 | 0]];
|
|
567
|
-
var NotFoundException = [
|
|
568
|
-
-3,
|
|
569
|
-
n0,
|
|
570
|
-
_NFE,
|
|
571
|
-
{
|
|
572
|
-
[_e]: _c,
|
|
573
|
-
[_hE]: 404,
|
|
574
|
-
},
|
|
575
|
-
[_m],
|
|
576
|
-
[0],
|
|
577
|
-
];
|
|
512
|
+
var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
578
513
|
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
579
514
|
var PutInputVector = [3, n0, _PIV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
|
|
580
515
|
var PutVectorBucketPolicyInput = [3, n0, _PVBPI, 0, [_vBN, _vBA, _p], [0, 0, 0]];
|
|
@@ -588,14 +523,7 @@ var PutVectorsInput = [
|
|
|
588
523
|
[0, 0, 0, () => PutVectorsInputList],
|
|
589
524
|
];
|
|
590
525
|
var PutVectorsOutput = [3, n0, _PVO, 0, [], []];
|
|
591
|
-
var QueryOutputVector = [
|
|
592
|
-
3,
|
|
593
|
-
n0,
|
|
594
|
-
_QOV,
|
|
595
|
-
0,
|
|
596
|
-
[_ke, _da, _me, _di],
|
|
597
|
-
[0, () => VectorData, 15, 1],
|
|
598
|
-
];
|
|
526
|
+
var QueryOutputVector = [3, n0, _QOV, 0, [_di, _ke, _me], [1, 0, 15]];
|
|
599
527
|
var QueryVectorsInput = [
|
|
600
528
|
3,
|
|
601
529
|
n0,
|
|
@@ -605,61 +533,33 @@ var QueryVectorsInput = [
|
|
|
605
533
|
[0, 0, 0, 1, () => VectorData, 15, 2, 2],
|
|
606
534
|
];
|
|
607
535
|
var QueryVectorsOutput = [3, n0, _QVO, 0, [_v, _dM], [() => QueryVectorsOutputList, 0]];
|
|
608
|
-
var RequestTimeoutException = [
|
|
609
|
-
-3,
|
|
610
|
-
n0,
|
|
611
|
-
_RTE,
|
|
612
|
-
{
|
|
613
|
-
[_e]: _c,
|
|
614
|
-
[_hE]: 408,
|
|
615
|
-
},
|
|
616
|
-
[_m],
|
|
617
|
-
[0],
|
|
618
|
-
];
|
|
536
|
+
var RequestTimeoutException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
|
|
619
537
|
schema.TypeRegistry.for(n0).registerError(RequestTimeoutException, RequestTimeoutException$1);
|
|
620
|
-
var ServiceQuotaExceededException = [
|
|
621
|
-
-3,
|
|
622
|
-
n0,
|
|
623
|
-
_SQEE,
|
|
624
|
-
{
|
|
625
|
-
[_e]: _c,
|
|
626
|
-
[_hE]: 402,
|
|
627
|
-
},
|
|
628
|
-
[_m],
|
|
629
|
-
[0],
|
|
630
|
-
];
|
|
538
|
+
var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
631
539
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
632
|
-
var ServiceUnavailableException = [
|
|
633
|
-
-3,
|
|
634
|
-
n0,
|
|
635
|
-
_SUE,
|
|
636
|
-
{
|
|
637
|
-
[_e]: _s,
|
|
638
|
-
[_hE]: 503,
|
|
639
|
-
},
|
|
640
|
-
[_m],
|
|
641
|
-
[0],
|
|
642
|
-
];
|
|
540
|
+
var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_m], [0]];
|
|
643
541
|
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
644
|
-
var
|
|
645
|
-
|
|
542
|
+
var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
543
|
+
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
544
|
+
var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
545
|
+
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
546
|
+
var UntagResourceInput = [
|
|
547
|
+
3,
|
|
646
548
|
n0,
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
549
|
+
_URI,
|
|
550
|
+
0,
|
|
551
|
+
[_rA, _tKa],
|
|
552
|
+
[
|
|
553
|
+
[0, 1],
|
|
554
|
+
[64 | 0, { [_hQ]: _tKa }],
|
|
555
|
+
],
|
|
654
556
|
];
|
|
655
|
-
|
|
557
|
+
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
656
558
|
var ValidationException = [
|
|
657
559
|
-3,
|
|
658
560
|
n0,
|
|
659
561
|
_VE,
|
|
660
|
-
{
|
|
661
|
-
[_e]: _c,
|
|
662
|
-
},
|
|
562
|
+
{ [_e]: _c },
|
|
663
563
|
[_m, _fL],
|
|
664
564
|
[0, () => ValidationExceptionFieldList],
|
|
665
565
|
];
|
|
@@ -688,9 +588,7 @@ var CreateIndex = [
|
|
|
688
588
|
9,
|
|
689
589
|
n0,
|
|
690
590
|
_CI,
|
|
691
|
-
{
|
|
692
|
-
[_h]: ["POST", "/CreateIndex", 200],
|
|
693
|
-
},
|
|
591
|
+
{ [_h]: ["POST", "/CreateIndex", 200] },
|
|
694
592
|
() => CreateIndexInput,
|
|
695
593
|
() => CreateIndexOutput,
|
|
696
594
|
];
|
|
@@ -698,9 +596,7 @@ var CreateVectorBucket = [
|
|
|
698
596
|
9,
|
|
699
597
|
n0,
|
|
700
598
|
_CVB,
|
|
701
|
-
{
|
|
702
|
-
[_h]: ["POST", "/CreateVectorBucket", 200],
|
|
703
|
-
},
|
|
599
|
+
{ [_h]: ["POST", "/CreateVectorBucket", 200] },
|
|
704
600
|
() => CreateVectorBucketInput,
|
|
705
601
|
() => CreateVectorBucketOutput,
|
|
706
602
|
];
|
|
@@ -708,9 +604,7 @@ var DeleteIndex = [
|
|
|
708
604
|
9,
|
|
709
605
|
n0,
|
|
710
606
|
_DI,
|
|
711
|
-
{
|
|
712
|
-
[_h]: ["POST", "/DeleteIndex", 200],
|
|
713
|
-
},
|
|
607
|
+
{ [_h]: ["POST", "/DeleteIndex", 200] },
|
|
714
608
|
() => DeleteIndexInput,
|
|
715
609
|
() => DeleteIndexOutput,
|
|
716
610
|
];
|
|
@@ -718,9 +612,7 @@ var DeleteVectorBucket = [
|
|
|
718
612
|
9,
|
|
719
613
|
n0,
|
|
720
614
|
_DVB,
|
|
721
|
-
{
|
|
722
|
-
[_h]: ["POST", "/DeleteVectorBucket", 200],
|
|
723
|
-
},
|
|
615
|
+
{ [_h]: ["POST", "/DeleteVectorBucket", 200] },
|
|
724
616
|
() => DeleteVectorBucketInput,
|
|
725
617
|
() => DeleteVectorBucketOutput,
|
|
726
618
|
];
|
|
@@ -728,9 +620,7 @@ var DeleteVectorBucketPolicy = [
|
|
|
728
620
|
9,
|
|
729
621
|
n0,
|
|
730
622
|
_DVBP,
|
|
731
|
-
{
|
|
732
|
-
[_h]: ["POST", "/DeleteVectorBucketPolicy", 200],
|
|
733
|
-
},
|
|
623
|
+
{ [_h]: ["POST", "/DeleteVectorBucketPolicy", 200] },
|
|
734
624
|
() => DeleteVectorBucketPolicyInput,
|
|
735
625
|
() => DeleteVectorBucketPolicyOutput,
|
|
736
626
|
];
|
|
@@ -738,9 +628,7 @@ var DeleteVectors = [
|
|
|
738
628
|
9,
|
|
739
629
|
n0,
|
|
740
630
|
_DV,
|
|
741
|
-
{
|
|
742
|
-
[_h]: ["POST", "/DeleteVectors", 200],
|
|
743
|
-
},
|
|
631
|
+
{ [_h]: ["POST", "/DeleteVectors", 200] },
|
|
744
632
|
() => DeleteVectorsInput,
|
|
745
633
|
() => DeleteVectorsOutput,
|
|
746
634
|
];
|
|
@@ -748,9 +636,7 @@ var GetIndex = [
|
|
|
748
636
|
9,
|
|
749
637
|
n0,
|
|
750
638
|
_GI,
|
|
751
|
-
{
|
|
752
|
-
[_h]: ["POST", "/GetIndex", 200],
|
|
753
|
-
},
|
|
639
|
+
{ [_h]: ["POST", "/GetIndex", 200] },
|
|
754
640
|
() => GetIndexInput,
|
|
755
641
|
() => GetIndexOutput,
|
|
756
642
|
];
|
|
@@ -758,9 +644,7 @@ var GetVectorBucket = [
|
|
|
758
644
|
9,
|
|
759
645
|
n0,
|
|
760
646
|
_GVB,
|
|
761
|
-
{
|
|
762
|
-
[_h]: ["POST", "/GetVectorBucket", 200],
|
|
763
|
-
},
|
|
647
|
+
{ [_h]: ["POST", "/GetVectorBucket", 200] },
|
|
764
648
|
() => GetVectorBucketInput,
|
|
765
649
|
() => GetVectorBucketOutput,
|
|
766
650
|
];
|
|
@@ -768,9 +652,7 @@ var GetVectorBucketPolicy = [
|
|
|
768
652
|
9,
|
|
769
653
|
n0,
|
|
770
654
|
_GVBP,
|
|
771
|
-
{
|
|
772
|
-
[_h]: ["POST", "/GetVectorBucketPolicy", 200],
|
|
773
|
-
},
|
|
655
|
+
{ [_h]: ["POST", "/GetVectorBucketPolicy", 200] },
|
|
774
656
|
() => GetVectorBucketPolicyInput,
|
|
775
657
|
() => GetVectorBucketPolicyOutput,
|
|
776
658
|
];
|
|
@@ -778,9 +660,7 @@ var GetVectors = [
|
|
|
778
660
|
9,
|
|
779
661
|
n0,
|
|
780
662
|
_GV,
|
|
781
|
-
{
|
|
782
|
-
[_h]: ["POST", "/GetVectors", 200],
|
|
783
|
-
},
|
|
663
|
+
{ [_h]: ["POST", "/GetVectors", 200] },
|
|
784
664
|
() => GetVectorsInput,
|
|
785
665
|
() => GetVectorsOutput,
|
|
786
666
|
];
|
|
@@ -788,19 +668,23 @@ var ListIndexes = [
|
|
|
788
668
|
9,
|
|
789
669
|
n0,
|
|
790
670
|
_LI,
|
|
791
|
-
{
|
|
792
|
-
[_h]: ["POST", "/ListIndexes", 200],
|
|
793
|
-
},
|
|
671
|
+
{ [_h]: ["POST", "/ListIndexes", 200] },
|
|
794
672
|
() => ListIndexesInput,
|
|
795
673
|
() => ListIndexesOutput,
|
|
796
674
|
];
|
|
675
|
+
var ListTagsForResource = [
|
|
676
|
+
9,
|
|
677
|
+
n0,
|
|
678
|
+
_LTFR,
|
|
679
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] },
|
|
680
|
+
() => ListTagsForResourceInput,
|
|
681
|
+
() => ListTagsForResourceOutput,
|
|
682
|
+
];
|
|
797
683
|
var ListVectorBuckets = [
|
|
798
684
|
9,
|
|
799
685
|
n0,
|
|
800
686
|
_LVB,
|
|
801
|
-
{
|
|
802
|
-
[_h]: ["POST", "/ListVectorBuckets", 200],
|
|
803
|
-
},
|
|
687
|
+
{ [_h]: ["POST", "/ListVectorBuckets", 200] },
|
|
804
688
|
() => ListVectorBucketsInput,
|
|
805
689
|
() => ListVectorBucketsOutput,
|
|
806
690
|
];
|
|
@@ -808,9 +692,7 @@ var ListVectors = [
|
|
|
808
692
|
9,
|
|
809
693
|
n0,
|
|
810
694
|
_LV,
|
|
811
|
-
{
|
|
812
|
-
[_h]: ["POST", "/ListVectors", 200],
|
|
813
|
-
},
|
|
695
|
+
{ [_h]: ["POST", "/ListVectors", 200] },
|
|
814
696
|
() => ListVectorsInput,
|
|
815
697
|
() => ListVectorsOutput,
|
|
816
698
|
];
|
|
@@ -818,9 +700,7 @@ var PutVectorBucketPolicy = [
|
|
|
818
700
|
9,
|
|
819
701
|
n0,
|
|
820
702
|
_PVBP,
|
|
821
|
-
{
|
|
822
|
-
[_h]: ["POST", "/PutVectorBucketPolicy", 200],
|
|
823
|
-
},
|
|
703
|
+
{ [_h]: ["POST", "/PutVectorBucketPolicy", 200] },
|
|
824
704
|
() => PutVectorBucketPolicyInput,
|
|
825
705
|
() => PutVectorBucketPolicyOutput,
|
|
826
706
|
];
|
|
@@ -828,9 +708,7 @@ var PutVectors = [
|
|
|
828
708
|
9,
|
|
829
709
|
n0,
|
|
830
710
|
_PV,
|
|
831
|
-
{
|
|
832
|
-
[_h]: ["POST", "/PutVectors", 200],
|
|
833
|
-
},
|
|
711
|
+
{ [_h]: ["POST", "/PutVectors", 200] },
|
|
834
712
|
() => PutVectorsInput,
|
|
835
713
|
() => PutVectorsOutput,
|
|
836
714
|
];
|
|
@@ -838,12 +716,26 @@ var QueryVectors = [
|
|
|
838
716
|
9,
|
|
839
717
|
n0,
|
|
840
718
|
_QV,
|
|
841
|
-
{
|
|
842
|
-
[_h]: ["POST", "/QueryVectors", 200],
|
|
843
|
-
},
|
|
719
|
+
{ [_h]: ["POST", "/QueryVectors", 200] },
|
|
844
720
|
() => QueryVectorsInput,
|
|
845
721
|
() => QueryVectorsOutput,
|
|
846
722
|
];
|
|
723
|
+
var TagResource = [
|
|
724
|
+
9,
|
|
725
|
+
n0,
|
|
726
|
+
_TR,
|
|
727
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] },
|
|
728
|
+
() => TagResourceInput,
|
|
729
|
+
() => TagResourceOutput,
|
|
730
|
+
];
|
|
731
|
+
var UntagResource = [
|
|
732
|
+
9,
|
|
733
|
+
n0,
|
|
734
|
+
_UR,
|
|
735
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
|
|
736
|
+
() => UntagResourceInput,
|
|
737
|
+
() => UntagResourceOutput,
|
|
738
|
+
];
|
|
847
739
|
|
|
848
740
|
class CreateIndexCommand extends smithyClient.Command
|
|
849
741
|
.classBuilder()
|
|
@@ -977,6 +869,18 @@ class ListIndexesCommand extends smithyClient.Command
|
|
|
977
869
|
.build() {
|
|
978
870
|
}
|
|
979
871
|
|
|
872
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
873
|
+
.classBuilder()
|
|
874
|
+
.ep(commonParams)
|
|
875
|
+
.m(function (Command, cs, config, o) {
|
|
876
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
877
|
+
})
|
|
878
|
+
.s("S3Vectors", "ListTagsForResource", {})
|
|
879
|
+
.n("S3VectorsClient", "ListTagsForResourceCommand")
|
|
880
|
+
.sc(ListTagsForResource)
|
|
881
|
+
.build() {
|
|
882
|
+
}
|
|
883
|
+
|
|
980
884
|
class ListVectorBucketsCommand extends smithyClient.Command
|
|
981
885
|
.classBuilder()
|
|
982
886
|
.ep(commonParams)
|
|
@@ -1037,6 +941,30 @@ class QueryVectorsCommand extends smithyClient.Command
|
|
|
1037
941
|
.build() {
|
|
1038
942
|
}
|
|
1039
943
|
|
|
944
|
+
class TagResourceCommand extends smithyClient.Command
|
|
945
|
+
.classBuilder()
|
|
946
|
+
.ep(commonParams)
|
|
947
|
+
.m(function (Command, cs, config, o) {
|
|
948
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
949
|
+
})
|
|
950
|
+
.s("S3Vectors", "TagResource", {})
|
|
951
|
+
.n("S3VectorsClient", "TagResourceCommand")
|
|
952
|
+
.sc(TagResource)
|
|
953
|
+
.build() {
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
957
|
+
.classBuilder()
|
|
958
|
+
.ep(commonParams)
|
|
959
|
+
.m(function (Command, cs, config, o) {
|
|
960
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
961
|
+
})
|
|
962
|
+
.s("S3Vectors", "UntagResource", {})
|
|
963
|
+
.n("S3VectorsClient", "UntagResourceCommand")
|
|
964
|
+
.sc(UntagResource)
|
|
965
|
+
.build() {
|
|
966
|
+
}
|
|
967
|
+
|
|
1040
968
|
const commands = {
|
|
1041
969
|
CreateIndexCommand,
|
|
1042
970
|
CreateVectorBucketCommand,
|
|
@@ -1049,11 +977,14 @@ const commands = {
|
|
|
1049
977
|
GetVectorBucketPolicyCommand,
|
|
1050
978
|
GetVectorsCommand,
|
|
1051
979
|
ListIndexesCommand,
|
|
980
|
+
ListTagsForResourceCommand,
|
|
1052
981
|
ListVectorBucketsCommand,
|
|
1053
982
|
ListVectorsCommand,
|
|
1054
983
|
PutVectorBucketPolicyCommand,
|
|
1055
984
|
PutVectorsCommand,
|
|
1056
985
|
QueryVectorsCommand,
|
|
986
|
+
TagResourceCommand,
|
|
987
|
+
UntagResourceCommand,
|
|
1057
988
|
};
|
|
1058
989
|
class S3Vectors extends S3VectorsClient {
|
|
1059
990
|
}
|
|
@@ -1105,6 +1036,7 @@ exports.KmsInvalidKeyUsageException = KmsInvalidKeyUsageException$1;
|
|
|
1105
1036
|
exports.KmsInvalidStateException = KmsInvalidStateException$1;
|
|
1106
1037
|
exports.KmsNotFoundException = KmsNotFoundException$1;
|
|
1107
1038
|
exports.ListIndexesCommand = ListIndexesCommand;
|
|
1039
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1108
1040
|
exports.ListVectorBucketsCommand = ListVectorBucketsCommand;
|
|
1109
1041
|
exports.ListVectorsCommand = ListVectorsCommand;
|
|
1110
1042
|
exports.NotFoundException = NotFoundException$1;
|
|
@@ -1118,7 +1050,9 @@ exports.S3VectorsServiceException = S3VectorsServiceException$1;
|
|
|
1118
1050
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1119
1051
|
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
1120
1052
|
exports.SseType = SseType;
|
|
1053
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1121
1054
|
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
1055
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1122
1056
|
exports.ValidationException = ValidationException$1;
|
|
1123
1057
|
exports.paginateListIndexes = paginateListIndexes;
|
|
1124
1058
|
exports.paginateListVectorBuckets = paginateListVectorBuckets;
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/S3Vectors.js
CHANGED
|
@@ -10,11 +10,14 @@ import { GetVectorBucketCommand, } from "./commands/GetVectorBucketCommand";
|
|
|
10
10
|
import { GetVectorBucketPolicyCommand, } from "./commands/GetVectorBucketPolicyCommand";
|
|
11
11
|
import { GetVectorsCommand } from "./commands/GetVectorsCommand";
|
|
12
12
|
import { ListIndexesCommand } from "./commands/ListIndexesCommand";
|
|
13
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
13
14
|
import { ListVectorBucketsCommand, } from "./commands/ListVectorBucketsCommand";
|
|
14
15
|
import { ListVectorsCommand } from "./commands/ListVectorsCommand";
|
|
15
16
|
import { PutVectorBucketPolicyCommand, } from "./commands/PutVectorBucketPolicyCommand";
|
|
16
17
|
import { PutVectorsCommand } from "./commands/PutVectorsCommand";
|
|
17
18
|
import { QueryVectorsCommand, } from "./commands/QueryVectorsCommand";
|
|
19
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
20
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
18
21
|
import { S3VectorsClient } from "./S3VectorsClient";
|
|
19
22
|
const commands = {
|
|
20
23
|
CreateIndexCommand,
|
|
@@ -28,11 +31,14 @@ const commands = {
|
|
|
28
31
|
GetVectorBucketPolicyCommand,
|
|
29
32
|
GetVectorsCommand,
|
|
30
33
|
ListIndexesCommand,
|
|
34
|
+
ListTagsForResourceCommand,
|
|
31
35
|
ListVectorBucketsCommand,
|
|
32
36
|
ListVectorsCommand,
|
|
33
37
|
PutVectorBucketPolicyCommand,
|
|
34
38
|
PutVectorsCommand,
|
|
35
39
|
QueryVectorsCommand,
|
|
40
|
+
TagResourceCommand,
|
|
41
|
+
UntagResourceCommand,
|
|
36
42
|
};
|
|
37
43
|
export class S3Vectors extends S3VectorsClient {
|
|
38
44
|
}
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultS3VectorsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|