@aws-sdk/client-s3vectors 3.940.0 → 3.943.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 (41) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +113 -14
  3. package/dist-es/S3Vectors.js +6 -0
  4. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  5. package/dist-es/commands/TagResourceCommand.js +16 -0
  6. package/dist-es/commands/UntagResourceCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/schemas/schemas_0.js +73 -14
  9. package/dist-types/S3Vectors.d.ts +21 -0
  10. package/dist-types/S3VectorsClient.d.ts +5 -2
  11. package/dist-types/commands/CreateIndexCommand.d.ts +8 -1
  12. package/dist-types/commands/CreateVectorBucketCommand.d.ts +4 -1
  13. package/dist-types/commands/DeleteIndexCommand.d.ts +4 -1
  14. package/dist-types/commands/DeleteVectorBucketCommand.d.ts +4 -1
  15. package/dist-types/commands/DeleteVectorBucketPolicyCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteVectorsCommand.d.ts +1 -1
  17. package/dist-types/commands/GetIndexCommand.d.ts +5 -1
  18. package/dist-types/commands/GetVectorBucketCommand.d.ts +1 -1
  19. package/dist-types/commands/GetVectorBucketPolicyCommand.d.ts +1 -1
  20. package/dist-types/commands/GetVectorsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListIndexesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
  23. package/dist-types/commands/ListVectorBucketsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListVectorsCommand.d.ts +1 -1
  25. package/dist-types/commands/PutVectorBucketPolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/PutVectorsCommand.d.ts +1 -1
  27. package/dist-types/commands/QueryVectorsCommand.d.ts +2 -7
  28. package/dist-types/commands/TagResourceCommand.d.ts +99 -0
  29. package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
  30. package/dist-types/commands/index.d.ts +3 -0
  31. package/dist-types/models/models_0.d.ts +110 -35
  32. package/dist-types/schemas/schemas_0.d.ts +11 -0
  33. package/dist-types/ts3.4/S3Vectors.d.ts +51 -0
  34. package/dist-types/ts3.4/S3VectorsClient.d.ts +20 -2
  35. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  37. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +25 -6
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  41. package/package.json +5 -5
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,7 +410,9 @@ 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";
@@ -435,8 +448,8 @@ var CreateIndexInput = [
435
448
  n0,
436
449
  _CII,
437
450
  0,
438
- [_vBN, _vBA, _iN, _dT, _d, _dM, _mC],
439
- [0, 0, 0, 0, 1, 0, () => MetadataConfiguration],
451
+ [_vBN, _vBA, _iN, _dT, _d, _dM, _mC, _eC, _t],
452
+ [0, 0, 0, 0, 1, 0, () => MetadataConfiguration, () => EncryptionConfiguration, 128 | 0],
440
453
  ];
441
454
  var CreateIndexOutput = [3, n0, _CIO, 0, [_iA], [0]];
442
455
  var CreateVectorBucketInput = [
@@ -444,8 +457,8 @@ var CreateVectorBucketInput = [
444
457
  n0,
445
458
  _CVBI,
446
459
  0,
447
- [_vBN, _eC],
448
- [0, () => EncryptionConfiguration],
460
+ [_vBN, _eC, _t],
461
+ [0, () => EncryptionConfiguration, 128 | 0],
449
462
  ];
450
463
  var CreateVectorBucketOutput = [3, n0, _CVBO, 0, [_vBA], [0]];
451
464
  var DeleteIndexInput = [3, n0, _DII, 0, [_vBN, _iN, _iA], [0, 0, 0]];
@@ -478,8 +491,8 @@ var Index = [
478
491
  n0,
479
492
  _I,
480
493
  0,
481
- [_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC],
482
- [0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration],
494
+ [_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC, _eC],
495
+ [0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration, () => EncryptionConfiguration],
483
496
  ];
484
497
  var IndexSummary = [3, n0, _IS, 0, [_vBN, _iN, _iA, _cT], [0, 0, 0, 4]];
485
498
  var InternalServerException = [
@@ -545,6 +558,8 @@ schema.TypeRegistry.for(n0).registerError(KmsNotFoundException, KmsNotFoundExcep
545
558
  var ListIndexesInput = [3, n0, _LII, 0, [_vBN, _vBA, _mR, _nT, _pr], [0, 0, 1, 0, 0]];
546
559
  var ListIndexesOutput = [3, n0, _LIO, 0, [_nT, _in], [0, () => ListIndexesOutputList]];
547
560
  var ListOutputVector = [3, n0, _LOV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
561
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
562
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
548
563
  var ListVectorBucketsInput = [3, n0, _LVBI, 0, [_mR, _nT, _pr], [1, 0, 0]];
549
564
  var ListVectorBucketsOutput = [
550
565
  3,
@@ -588,14 +603,7 @@ var PutVectorsInput = [
588
603
  [0, 0, 0, () => PutVectorsInputList],
589
604
  ];
590
605
  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
- ];
606
+ var QueryOutputVector = [3, n0, _QOV, 0, [_di, _ke, _me], [1, 0, 15]];
599
607
  var QueryVectorsInput = [
600
608
  3,
601
609
  n0,
@@ -641,6 +649,8 @@ var ServiceUnavailableException = [
641
649
  [0],
642
650
  ];
643
651
  schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
652
+ var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
653
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
644
654
  var TooManyRequestsException = [
645
655
  -3,
646
656
  n0,
@@ -653,6 +663,23 @@ var TooManyRequestsException = [
653
663
  [0],
654
664
  ];
655
665
  schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
666
+ var UntagResourceInput = [
667
+ 3,
668
+ n0,
669
+ _URI,
670
+ 0,
671
+ [_rA, _tKa],
672
+ [
673
+ [0, 1],
674
+ [
675
+ 64 | 0,
676
+ {
677
+ [_hQ]: _tKa,
678
+ },
679
+ ],
680
+ ],
681
+ ];
682
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
656
683
  var ValidationException = [
657
684
  -3,
658
685
  n0,
@@ -794,6 +821,16 @@ var ListIndexes = [
794
821
  () => ListIndexesInput,
795
822
  () => ListIndexesOutput,
796
823
  ];
824
+ var ListTagsForResource = [
825
+ 9,
826
+ n0,
827
+ _LTFR,
828
+ {
829
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
830
+ },
831
+ () => ListTagsForResourceInput,
832
+ () => ListTagsForResourceOutput,
833
+ ];
797
834
  var ListVectorBuckets = [
798
835
  9,
799
836
  n0,
@@ -844,6 +881,26 @@ var QueryVectors = [
844
881
  () => QueryVectorsInput,
845
882
  () => QueryVectorsOutput,
846
883
  ];
884
+ var TagResource = [
885
+ 9,
886
+ n0,
887
+ _TR,
888
+ {
889
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
890
+ },
891
+ () => TagResourceInput,
892
+ () => TagResourceOutput,
893
+ ];
894
+ var UntagResource = [
895
+ 9,
896
+ n0,
897
+ _UR,
898
+ {
899
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
900
+ },
901
+ () => UntagResourceInput,
902
+ () => UntagResourceOutput,
903
+ ];
847
904
 
848
905
  class CreateIndexCommand extends smithyClient.Command
849
906
  .classBuilder()
@@ -977,6 +1034,18 @@ class ListIndexesCommand extends smithyClient.Command
977
1034
  .build() {
978
1035
  }
979
1036
 
1037
+ class ListTagsForResourceCommand extends smithyClient.Command
1038
+ .classBuilder()
1039
+ .ep(commonParams)
1040
+ .m(function (Command, cs, config, o) {
1041
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1042
+ })
1043
+ .s("S3Vectors", "ListTagsForResource", {})
1044
+ .n("S3VectorsClient", "ListTagsForResourceCommand")
1045
+ .sc(ListTagsForResource)
1046
+ .build() {
1047
+ }
1048
+
980
1049
  class ListVectorBucketsCommand extends smithyClient.Command
981
1050
  .classBuilder()
982
1051
  .ep(commonParams)
@@ -1037,6 +1106,30 @@ class QueryVectorsCommand extends smithyClient.Command
1037
1106
  .build() {
1038
1107
  }
1039
1108
 
1109
+ class TagResourceCommand extends smithyClient.Command
1110
+ .classBuilder()
1111
+ .ep(commonParams)
1112
+ .m(function (Command, cs, config, o) {
1113
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
+ })
1115
+ .s("S3Vectors", "TagResource", {})
1116
+ .n("S3VectorsClient", "TagResourceCommand")
1117
+ .sc(TagResource)
1118
+ .build() {
1119
+ }
1120
+
1121
+ class UntagResourceCommand extends smithyClient.Command
1122
+ .classBuilder()
1123
+ .ep(commonParams)
1124
+ .m(function (Command, cs, config, o) {
1125
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
+ })
1127
+ .s("S3Vectors", "UntagResource", {})
1128
+ .n("S3VectorsClient", "UntagResourceCommand")
1129
+ .sc(UntagResource)
1130
+ .build() {
1131
+ }
1132
+
1040
1133
  const commands = {
1041
1134
  CreateIndexCommand,
1042
1135
  CreateVectorBucketCommand,
@@ -1049,11 +1142,14 @@ const commands = {
1049
1142
  GetVectorBucketPolicyCommand,
1050
1143
  GetVectorsCommand,
1051
1144
  ListIndexesCommand,
1145
+ ListTagsForResourceCommand,
1052
1146
  ListVectorBucketsCommand,
1053
1147
  ListVectorsCommand,
1054
1148
  PutVectorBucketPolicyCommand,
1055
1149
  PutVectorsCommand,
1056
1150
  QueryVectorsCommand,
1151
+ TagResourceCommand,
1152
+ UntagResourceCommand,
1057
1153
  };
1058
1154
  class S3Vectors extends S3VectorsClient {
1059
1155
  }
@@ -1105,6 +1201,7 @@ exports.KmsInvalidKeyUsageException = KmsInvalidKeyUsageException$1;
1105
1201
  exports.KmsInvalidStateException = KmsInvalidStateException$1;
1106
1202
  exports.KmsNotFoundException = KmsNotFoundException$1;
1107
1203
  exports.ListIndexesCommand = ListIndexesCommand;
1204
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1108
1205
  exports.ListVectorBucketsCommand = ListVectorBucketsCommand;
1109
1206
  exports.ListVectorsCommand = ListVectorsCommand;
1110
1207
  exports.NotFoundException = NotFoundException$1;
@@ -1118,7 +1215,9 @@ exports.S3VectorsServiceException = S3VectorsServiceException$1;
1118
1215
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1119
1216
  exports.ServiceUnavailableException = ServiceUnavailableException$1;
1120
1217
  exports.SseType = SseType;
1218
+ exports.TagResourceCommand = TagResourceCommand;
1121
1219
  exports.TooManyRequestsException = TooManyRequestsException$1;
1220
+ exports.UntagResourceCommand = UntagResourceCommand;
1122
1221
  exports.ValidationException = ValidationException$1;
1123
1222
  exports.paginateListIndexes = paginateListIndexes;
1124
1223
  exports.paginateListVectorBuckets = paginateListVectorBuckets;
@@ -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
  }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListTagsForResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("S3Vectors", "ListTagsForResource", {})
13
+ .n("S3VectorsClient", "ListTagsForResourceCommand")
14
+ .sc(ListTagsForResource)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { TagResource } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class TagResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("S3Vectors", "TagResource", {})
13
+ .n("S3VectorsClient", "TagResourceCommand")
14
+ .sc(TagResource)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UntagResource } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UntagResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("S3Vectors", "UntagResource", {})
13
+ .n("S3VectorsClient", "UntagResourceCommand")
14
+ .sc(UntagResource)
15
+ .build() {
16
+ }
@@ -9,8 +9,11 @@ export * from "./GetVectorBucketCommand";
9
9
  export * from "./GetVectorBucketPolicyCommand";
10
10
  export * from "./GetVectorsCommand";
11
11
  export * from "./ListIndexesCommand";
12
+ export * from "./ListTagsForResourceCommand";
12
13
  export * from "./ListVectorBucketsCommand";
13
14
  export * from "./ListVectorsCommand";
14
15
  export * from "./PutVectorBucketPolicyCommand";
15
16
  export * from "./PutVectorsCommand";
16
17
  export * from "./QueryVectorsCommand";
18
+ export * from "./TagResourceCommand";
19
+ export * from "./UntagResourceCommand";
@@ -45,6 +45,9 @@ const _LII = "ListIndexesInput";
45
45
  const _LIO = "ListIndexesOutput";
46
46
  const _LIOL = "ListIndexesOutputList";
47
47
  const _LOV = "ListOutputVector";
48
+ const _LTFR = "ListTagsForResource";
49
+ const _LTFRI = "ListTagsForResourceInput";
50
+ const _LTFRO = "ListTagsForResourceOutput";
48
51
  const _LV = "ListVectors";
49
52
  const _LVB = "ListVectorBuckets";
50
53
  const _LVBI = "ListVectorBucketsInput";
@@ -72,6 +75,12 @@ const _RTE = "RequestTimeoutException";
72
75
  const _SQEE = "ServiceQuotaExceededException";
73
76
  const _SUE = "ServiceUnavailableException";
74
77
  const _TMRE = "TooManyRequestsException";
78
+ const _TR = "TagResource";
79
+ const _TRI = "TagResourceInput";
80
+ const _TRO = "TagResourceOutput";
81
+ const _UR = "UntagResource";
82
+ const _URI = "UntagResourceInput";
83
+ const _URO = "UntagResourceOutput";
75
84
  const _VB = "VectorBucket";
76
85
  const _VBS = "VectorBucketSummary";
77
86
  const _VD = "VectorData";
@@ -92,6 +101,7 @@ const _fL = "fieldList";
92
101
  const _fl = "float32";
93
102
  const _h = "http";
94
103
  const _hE = "httpError";
104
+ const _hQ = "httpQuery";
95
105
  const _i = "index";
96
106
  const _iA = "indexArn";
97
107
  const _iN = "indexName";
@@ -109,6 +119,7 @@ const _p = "policy";
109
119
  const _pa = "path";
110
120
  const _pr = "prefix";
111
121
  const _qV = "queryVector";
122
+ const _rA = "resourceArn";
112
123
  const _rD = "returnData";
113
124
  const _rDe = "returnDistance";
114
125
  const _rM = "returnMetadata";
@@ -117,7 +128,9 @@ const _sC = "segmentCount";
117
128
  const _sI = "segmentIndex";
118
129
  const _sT = "sseType";
119
130
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
131
+ const _t = "tags";
120
132
  const _tK = "topK";
133
+ const _tKa = "tagKeys";
121
134
  const _v = "vectors";
122
135
  const _vB = "vectorBucket";
123
136
  const _vBA = "vectorBucketArn";
@@ -156,8 +169,8 @@ export var CreateIndexInput = [
156
169
  n0,
157
170
  _CII,
158
171
  0,
159
- [_vBN, _vBA, _iN, _dT, _d, _dM, _mC],
160
- [0, 0, 0, 0, 1, 0, () => MetadataConfiguration],
172
+ [_vBN, _vBA, _iN, _dT, _d, _dM, _mC, _eC, _t],
173
+ [0, 0, 0, 0, 1, 0, () => MetadataConfiguration, () => EncryptionConfiguration, 128 | 0],
161
174
  ];
162
175
  export var CreateIndexOutput = [3, n0, _CIO, 0, [_iA], [0]];
163
176
  export var CreateVectorBucketInput = [
@@ -165,8 +178,8 @@ export var CreateVectorBucketInput = [
165
178
  n0,
166
179
  _CVBI,
167
180
  0,
168
- [_vBN, _eC],
169
- [0, () => EncryptionConfiguration],
181
+ [_vBN, _eC, _t],
182
+ [0, () => EncryptionConfiguration, 128 | 0],
170
183
  ];
171
184
  export var CreateVectorBucketOutput = [3, n0, _CVBO, 0, [_vBA], [0]];
172
185
  export var DeleteIndexInput = [3, n0, _DII, 0, [_vBN, _iN, _iA], [0, 0, 0]];
@@ -199,8 +212,8 @@ export var Index = [
199
212
  n0,
200
213
  _I,
201
214
  0,
202
- [_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC],
203
- [0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration],
215
+ [_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC, _eC],
216
+ [0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration, () => EncryptionConfiguration],
204
217
  ];
205
218
  export var IndexSummary = [3, n0, _IS, 0, [_vBN, _iN, _iA, _cT], [0, 0, 0, 4]];
206
219
  export var InternalServerException = [
@@ -266,6 +279,8 @@ TypeRegistry.for(n0).registerError(KmsNotFoundException, __KmsNotFoundException)
266
279
  export var ListIndexesInput = [3, n0, _LII, 0, [_vBN, _vBA, _mR, _nT, _pr], [0, 0, 1, 0, 0]];
267
280
  export var ListIndexesOutput = [3, n0, _LIO, 0, [_nT, _in], [0, () => ListIndexesOutputList]];
268
281
  export var ListOutputVector = [3, n0, _LOV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
282
+ export var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
283
+ export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
269
284
  export var ListVectorBucketsInput = [3, n0, _LVBI, 0, [_mR, _nT, _pr], [1, 0, 0]];
270
285
  export var ListVectorBucketsOutput = [
271
286
  3,
@@ -309,14 +324,7 @@ export var PutVectorsInput = [
309
324
  [0, 0, 0, () => PutVectorsInputList],
310
325
  ];
311
326
  export var PutVectorsOutput = [3, n0, _PVO, 0, [], []];
312
- export var QueryOutputVector = [
313
- 3,
314
- n0,
315
- _QOV,
316
- 0,
317
- [_ke, _da, _me, _di],
318
- [0, () => VectorData, 15, 1],
319
- ];
327
+ export var QueryOutputVector = [3, n0, _QOV, 0, [_di, _ke, _me], [1, 0, 15]];
320
328
  export var QueryVectorsInput = [
321
329
  3,
322
330
  n0,
@@ -362,6 +370,8 @@ export var ServiceUnavailableException = [
362
370
  [0],
363
371
  ];
364
372
  TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
373
+ export var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
374
+ export var TagResourceOutput = [3, n0, _TRO, 0, [], []];
365
375
  export var TooManyRequestsException = [
366
376
  -3,
367
377
  n0,
@@ -374,6 +384,23 @@ export var TooManyRequestsException = [
374
384
  [0],
375
385
  ];
376
386
  TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException);
387
+ export var UntagResourceInput = [
388
+ 3,
389
+ n0,
390
+ _URI,
391
+ 0,
392
+ [_rA, _tKa],
393
+ [
394
+ [0, 1],
395
+ [
396
+ 64 | 0,
397
+ {
398
+ [_hQ]: _tKa,
399
+ },
400
+ ],
401
+ ],
402
+ ];
403
+ export var UntagResourceOutput = [3, n0, _URO, 0, [], []];
377
404
  export var ValidationException = [
378
405
  -3,
379
406
  n0,
@@ -408,7 +435,9 @@ export var ListVectorsOutputList = [1, n0, _LVOL, 0, () => ListOutputVector];
408
435
  export var NonFilterableMetadataKeys = 64 | 0;
409
436
  export var PutVectorsInputList = [1, n0, _PVIL, 0, () => PutInputVector];
410
437
  export var QueryVectorsOutputList = [1, n0, _QVOL, 0, () => QueryOutputVector];
438
+ export var TagKeyList = 64 | 0;
411
439
  export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
440
+ export var TagsMap = 128 | 0;
412
441
  export var VectorData = [3, n0, _VD, 0, [_fl], [64 | 1]];
413
442
  export var CreateIndex = [
414
443
  9,
@@ -520,6 +549,16 @@ export var ListIndexes = [
520
549
  () => ListIndexesInput,
521
550
  () => ListIndexesOutput,
522
551
  ];
552
+ export var ListTagsForResource = [
553
+ 9,
554
+ n0,
555
+ _LTFR,
556
+ {
557
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
558
+ },
559
+ () => ListTagsForResourceInput,
560
+ () => ListTagsForResourceOutput,
561
+ ];
523
562
  export var ListVectorBuckets = [
524
563
  9,
525
564
  n0,
@@ -570,3 +609,23 @@ export var QueryVectors = [
570
609
  () => QueryVectorsInput,
571
610
  () => QueryVectorsOutput,
572
611
  ];
612
+ export var TagResource = [
613
+ 9,
614
+ n0,
615
+ _TR,
616
+ {
617
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
618
+ },
619
+ () => TagResourceInput,
620
+ () => TagResourceOutput,
621
+ ];
622
+ export var UntagResource = [
623
+ 9,
624
+ n0,
625
+ _UR,
626
+ {
627
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
628
+ },
629
+ () => UntagResourceInput,
630
+ () => UntagResourceOutput,
631
+ ];
@@ -10,11 +10,14 @@ import { GetVectorBucketCommandInput, GetVectorBucketCommandOutput } from "./com
10
10
  import { GetVectorBucketPolicyCommandInput, GetVectorBucketPolicyCommandOutput } from "./commands/GetVectorBucketPolicyCommand";
11
11
  import { GetVectorsCommandInput, GetVectorsCommandOutput } from "./commands/GetVectorsCommand";
12
12
  import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
13
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
13
14
  import { ListVectorBucketsCommandInput, ListVectorBucketsCommandOutput } from "./commands/ListVectorBucketsCommand";
14
15
  import { ListVectorsCommandInput, ListVectorsCommandOutput } from "./commands/ListVectorsCommand";
15
16
  import { PutVectorBucketPolicyCommandInput, PutVectorBucketPolicyCommandOutput } from "./commands/PutVectorBucketPolicyCommand";
16
17
  import { PutVectorsCommandInput, PutVectorsCommandOutput } from "./commands/PutVectorsCommand";
17
18
  import { QueryVectorsCommandInput, QueryVectorsCommandOutput } from "./commands/QueryVectorsCommand";
19
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
18
21
  import { S3VectorsClient } from "./S3VectorsClient";
19
22
  export interface S3Vectors {
20
23
  /**
@@ -90,6 +93,12 @@ export interface S3Vectors {
90
93
  listIndexes(args: ListIndexesCommandInput, options?: __HttpHandlerOptions): Promise<ListIndexesCommandOutput>;
91
94
  listIndexes(args: ListIndexesCommandInput, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
92
95
  listIndexes(args: ListIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
96
+ /**
97
+ * @see {@link ListTagsForResourceCommand}
98
+ */
99
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
100
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
101
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
93
102
  /**
94
103
  * @see {@link ListVectorBucketsCommand}
95
104
  */
@@ -122,6 +131,18 @@ export interface S3Vectors {
122
131
  queryVectors(args: QueryVectorsCommandInput, options?: __HttpHandlerOptions): Promise<QueryVectorsCommandOutput>;
123
132
  queryVectors(args: QueryVectorsCommandInput, cb: (err: any, data?: QueryVectorsCommandOutput) => void): void;
124
133
  queryVectors(args: QueryVectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryVectorsCommandOutput) => void): void;
134
+ /**
135
+ * @see {@link TagResourceCommand}
136
+ */
137
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
138
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
139
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
140
+ /**
141
+ * @see {@link UntagResourceCommand}
142
+ */
143
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
144
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
145
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
125
146
  }
126
147
  /**
127
148
  * <p>Amazon S3 vector buckets are a bucket type to store and search vectors with sub-second search times. They are designed to provide dedicated API operations for you to interact with vectors to do similarity search. Within a vector bucket, you use a vector index to organize and logically group your vector data. When you make a write or read request, you direct it to a single vector index. You store your vector data as vectors. A vector contains a key (a name that you assign), a multi-dimensional vector, and, optionally, metadata that describes a vector. The key uniquely identifies the vector in a vector index.</p>
@@ -18,22 +18,25 @@ import { GetVectorBucketCommandInput, GetVectorBucketCommandOutput } from "./com
18
18
  import { GetVectorBucketPolicyCommandInput, GetVectorBucketPolicyCommandOutput } from "./commands/GetVectorBucketPolicyCommand";
19
19
  import { GetVectorsCommandInput, GetVectorsCommandOutput } from "./commands/GetVectorsCommand";
20
20
  import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
21
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
22
  import { ListVectorBucketsCommandInput, ListVectorBucketsCommandOutput } from "./commands/ListVectorBucketsCommand";
22
23
  import { ListVectorsCommandInput, ListVectorsCommandOutput } from "./commands/ListVectorsCommand";
23
24
  import { PutVectorBucketPolicyCommandInput, PutVectorBucketPolicyCommandOutput } from "./commands/PutVectorBucketPolicyCommand";
24
25
  import { PutVectorsCommandInput, PutVectorsCommandOutput } from "./commands/PutVectorsCommand";
25
26
  import { QueryVectorsCommandInput, QueryVectorsCommandOutput } from "./commands/QueryVectorsCommand";
27
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
26
29
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
27
30
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
28
31
  export { __Client };
29
32
  /**
30
33
  * @public
31
34
  */
32
- export type ServiceInputTypes = CreateIndexCommandInput | CreateVectorBucketCommandInput | DeleteIndexCommandInput | DeleteVectorBucketCommandInput | DeleteVectorBucketPolicyCommandInput | DeleteVectorsCommandInput | GetIndexCommandInput | GetVectorBucketCommandInput | GetVectorBucketPolicyCommandInput | GetVectorsCommandInput | ListIndexesCommandInput | ListVectorBucketsCommandInput | ListVectorsCommandInput | PutVectorBucketPolicyCommandInput | PutVectorsCommandInput | QueryVectorsCommandInput;
35
+ export type ServiceInputTypes = CreateIndexCommandInput | CreateVectorBucketCommandInput | DeleteIndexCommandInput | DeleteVectorBucketCommandInput | DeleteVectorBucketPolicyCommandInput | DeleteVectorsCommandInput | GetIndexCommandInput | GetVectorBucketCommandInput | GetVectorBucketPolicyCommandInput | GetVectorsCommandInput | ListIndexesCommandInput | ListTagsForResourceCommandInput | ListVectorBucketsCommandInput | ListVectorsCommandInput | PutVectorBucketPolicyCommandInput | PutVectorsCommandInput | QueryVectorsCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
33
36
  /**
34
37
  * @public
35
38
  */
36
- export type ServiceOutputTypes = CreateIndexCommandOutput | CreateVectorBucketCommandOutput | DeleteIndexCommandOutput | DeleteVectorBucketCommandOutput | DeleteVectorBucketPolicyCommandOutput | DeleteVectorsCommandOutput | GetIndexCommandOutput | GetVectorBucketCommandOutput | GetVectorBucketPolicyCommandOutput | GetVectorsCommandOutput | ListIndexesCommandOutput | ListVectorBucketsCommandOutput | ListVectorsCommandOutput | PutVectorBucketPolicyCommandOutput | PutVectorsCommandOutput | QueryVectorsCommandOutput;
39
+ export type ServiceOutputTypes = CreateIndexCommandOutput | CreateVectorBucketCommandOutput | DeleteIndexCommandOutput | DeleteVectorBucketCommandOutput | DeleteVectorBucketPolicyCommandOutput | DeleteVectorsCommandOutput | GetIndexCommandOutput | GetVectorBucketCommandOutput | GetVectorBucketPolicyCommandOutput | GetVectorsCommandOutput | ListIndexesCommandOutput | ListTagsForResourceCommandOutput | ListVectorBucketsCommandOutput | ListVectorsCommandOutput | PutVectorBucketPolicyCommandOutput | PutVectorsCommandOutput | QueryVectorsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
37
40
  /**
38
41
  * @public
39
42
  */