@aws-sdk/client-s3vectors 3.987.0 → 3.989.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var S3VectorsServiceException = require('./models/S3VectorsServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -108,726 +111,6 @@ class S3VectorsClient extends smithyClient.Client {
108
111
  }
109
112
  }
110
113
 
111
- class S3VectorsServiceException extends smithyClient.ServiceException {
112
- constructor(options) {
113
- super(options);
114
- Object.setPrototypeOf(this, S3VectorsServiceException.prototype);
115
- }
116
- }
117
-
118
- class AccessDeniedException extends S3VectorsServiceException {
119
- name = "AccessDeniedException";
120
- $fault = "client";
121
- constructor(opts) {
122
- super({
123
- name: "AccessDeniedException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
- }
129
- }
130
- class ConflictException extends S3VectorsServiceException {
131
- name = "ConflictException";
132
- $fault = "client";
133
- constructor(opts) {
134
- super({
135
- name: "ConflictException",
136
- $fault: "client",
137
- ...opts,
138
- });
139
- Object.setPrototypeOf(this, ConflictException.prototype);
140
- }
141
- }
142
- class InternalServerException extends S3VectorsServiceException {
143
- name = "InternalServerException";
144
- $fault = "server";
145
- $retryable = {};
146
- constructor(opts) {
147
- super({
148
- name: "InternalServerException",
149
- $fault: "server",
150
- ...opts,
151
- });
152
- Object.setPrototypeOf(this, InternalServerException.prototype);
153
- }
154
- }
155
- class NotFoundException extends S3VectorsServiceException {
156
- name = "NotFoundException";
157
- $fault = "client";
158
- constructor(opts) {
159
- super({
160
- name: "NotFoundException",
161
- $fault: "client",
162
- ...opts,
163
- });
164
- Object.setPrototypeOf(this, NotFoundException.prototype);
165
- }
166
- }
167
- class RequestTimeoutException extends S3VectorsServiceException {
168
- name = "RequestTimeoutException";
169
- $fault = "client";
170
- $retryable = {};
171
- constructor(opts) {
172
- super({
173
- name: "RequestTimeoutException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- Object.setPrototypeOf(this, RequestTimeoutException.prototype);
178
- }
179
- }
180
- class ServiceQuotaExceededException extends S3VectorsServiceException {
181
- name = "ServiceQuotaExceededException";
182
- $fault = "client";
183
- constructor(opts) {
184
- super({
185
- name: "ServiceQuotaExceededException",
186
- $fault: "client",
187
- ...opts,
188
- });
189
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
190
- }
191
- }
192
- class ServiceUnavailableException extends S3VectorsServiceException {
193
- name = "ServiceUnavailableException";
194
- $fault = "server";
195
- $retryable = {};
196
- constructor(opts) {
197
- super({
198
- name: "ServiceUnavailableException",
199
- $fault: "server",
200
- ...opts,
201
- });
202
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
203
- }
204
- }
205
- class TooManyRequestsException extends S3VectorsServiceException {
206
- name = "TooManyRequestsException";
207
- $fault = "client";
208
- $retryable = {
209
- throttling: true,
210
- };
211
- constructor(opts) {
212
- super({
213
- name: "TooManyRequestsException",
214
- $fault: "client",
215
- ...opts,
216
- });
217
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
218
- }
219
- }
220
- class ValidationException extends S3VectorsServiceException {
221
- name = "ValidationException";
222
- $fault = "client";
223
- fieldList;
224
- constructor(opts) {
225
- super({
226
- name: "ValidationException",
227
- $fault: "client",
228
- ...opts,
229
- });
230
- Object.setPrototypeOf(this, ValidationException.prototype);
231
- this.fieldList = opts.fieldList;
232
- }
233
- }
234
- class KmsDisabledException extends S3VectorsServiceException {
235
- name = "KmsDisabledException";
236
- $fault = "client";
237
- constructor(opts) {
238
- super({
239
- name: "KmsDisabledException",
240
- $fault: "client",
241
- ...opts,
242
- });
243
- Object.setPrototypeOf(this, KmsDisabledException.prototype);
244
- }
245
- }
246
- class KmsInvalidKeyUsageException extends S3VectorsServiceException {
247
- name = "KmsInvalidKeyUsageException";
248
- $fault = "client";
249
- constructor(opts) {
250
- super({
251
- name: "KmsInvalidKeyUsageException",
252
- $fault: "client",
253
- ...opts,
254
- });
255
- Object.setPrototypeOf(this, KmsInvalidKeyUsageException.prototype);
256
- }
257
- }
258
- class KmsInvalidStateException extends S3VectorsServiceException {
259
- name = "KmsInvalidStateException";
260
- $fault = "client";
261
- constructor(opts) {
262
- super({
263
- name: "KmsInvalidStateException",
264
- $fault: "client",
265
- ...opts,
266
- });
267
- Object.setPrototypeOf(this, KmsInvalidStateException.prototype);
268
- }
269
- }
270
- class KmsNotFoundException extends S3VectorsServiceException {
271
- name = "KmsNotFoundException";
272
- $fault = "client";
273
- constructor(opts) {
274
- super({
275
- name: "KmsNotFoundException",
276
- $fault: "client",
277
- ...opts,
278
- });
279
- Object.setPrototypeOf(this, KmsNotFoundException.prototype);
280
- }
281
- }
282
-
283
- const _ADE = "AccessDeniedException";
284
- const _CE = "ConflictException";
285
- const _CI = "CreateIndex";
286
- const _CII = "CreateIndexInput";
287
- const _CIO = "CreateIndexOutput";
288
- const _CVB = "CreateVectorBucket";
289
- const _CVBI = "CreateVectorBucketInput";
290
- const _CVBO = "CreateVectorBucketOutput";
291
- const _DI = "DeleteIndex";
292
- const _DII = "DeleteIndexInput";
293
- const _DIO = "DeleteIndexOutput";
294
- const _DV = "DeleteVectors";
295
- const _DVB = "DeleteVectorBucket";
296
- const _DVBI = "DeleteVectorBucketInput";
297
- const _DVBO = "DeleteVectorBucketOutput";
298
- const _DVBP = "DeleteVectorBucketPolicy";
299
- const _DVBPI = "DeleteVectorBucketPolicyInput";
300
- const _DVBPO = "DeleteVectorBucketPolicyOutput";
301
- const _DVI = "DeleteVectorsInput";
302
- const _DVO = "DeleteVectorsOutput";
303
- const _EC = "EncryptionConfiguration";
304
- const _GI = "GetIndex";
305
- const _GII = "GetIndexInput";
306
- const _GIO = "GetIndexOutput";
307
- const _GOV = "GetOutputVector";
308
- const _GV = "GetVectors";
309
- const _GVB = "GetVectorBucket";
310
- const _GVBI = "GetVectorBucketInput";
311
- const _GVBO = "GetVectorBucketOutput";
312
- const _GVBP = "GetVectorBucketPolicy";
313
- const _GVBPI = "GetVectorBucketPolicyInput";
314
- const _GVBPO = "GetVectorBucketPolicyOutput";
315
- const _GVI = "GetVectorsInput";
316
- const _GVO = "GetVectorsOutput";
317
- const _GVOL = "GetVectorsOutputList";
318
- const _I = "Index";
319
- const _IS = "IndexSummary";
320
- const _ISE = "InternalServerException";
321
- const _KDE = "KmsDisabledException";
322
- const _KIKUE = "KmsInvalidKeyUsageException";
323
- const _KISE = "KmsInvalidStateException";
324
- const _KNFE = "KmsNotFoundException";
325
- const _LI = "ListIndexes";
326
- const _LII = "ListIndexesInput";
327
- const _LIO = "ListIndexesOutput";
328
- const _LIOL = "ListIndexesOutputList";
329
- const _LOV = "ListOutputVector";
330
- const _LTFR = "ListTagsForResource";
331
- const _LTFRI = "ListTagsForResourceInput";
332
- const _LTFRO = "ListTagsForResourceOutput";
333
- const _LV = "ListVectors";
334
- const _LVB = "ListVectorBuckets";
335
- const _LVBI = "ListVectorBucketsInput";
336
- const _LVBO = "ListVectorBucketsOutput";
337
- const _LVBOL = "ListVectorBucketsOutputList";
338
- const _LVI = "ListVectorsInput";
339
- const _LVO = "ListVectorsOutput";
340
- const _LVOL = "ListVectorsOutputList";
341
- const _MC = "MetadataConfiguration";
342
- const _NFE = "NotFoundException";
343
- const _PIV = "PutInputVector";
344
- const _PV = "PutVectors";
345
- const _PVBP = "PutVectorBucketPolicy";
346
- const _PVBPI = "PutVectorBucketPolicyInput";
347
- const _PVBPO = "PutVectorBucketPolicyOutput";
348
- const _PVI = "PutVectorsInput";
349
- const _PVIL = "PutVectorsInputList";
350
- const _PVO = "PutVectorsOutput";
351
- const _QOV = "QueryOutputVector";
352
- const _QV = "QueryVectors";
353
- const _QVI = "QueryVectorsInput";
354
- const _QVO = "QueryVectorsOutput";
355
- const _QVOL = "QueryVectorsOutputList";
356
- const _RTE = "RequestTimeoutException";
357
- const _SQEE = "ServiceQuotaExceededException";
358
- const _SUE = "ServiceUnavailableException";
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";
366
- const _VB = "VectorBucket";
367
- const _VBS = "VectorBucketSummary";
368
- const _VD = "VectorData";
369
- const _VE = "ValidationException";
370
- const _VEF = "ValidationExceptionField";
371
- const _VEFL = "ValidationExceptionFieldList";
372
- const _c = "client";
373
- const _cT = "creationTime";
374
- const _d = "dimension";
375
- const _dM = "distanceMetric";
376
- const _dT = "dataType";
377
- const _da = "data";
378
- const _di = "distance";
379
- const _e = "error";
380
- const _eC = "encryptionConfiguration";
381
- const _f = "filter";
382
- const _fL = "fieldList";
383
- const _fl = "float32";
384
- const _h = "http";
385
- const _hE = "httpError";
386
- const _hQ = "httpQuery";
387
- const _i = "index";
388
- const _iA = "indexArn";
389
- const _iN = "indexName";
390
- const _in = "indexes";
391
- const _k = "keys";
392
- const _kKA = "kmsKeyArn";
393
- const _ke = "key";
394
- const _m = "message";
395
- const _mC = "metadataConfiguration";
396
- const _mR = "maxResults";
397
- const _me = "metadata";
398
- const _nFMK = "nonFilterableMetadataKeys";
399
- const _nT = "nextToken";
400
- const _p = "policy";
401
- const _pa = "path";
402
- const _pr = "prefix";
403
- const _qV = "queryVector";
404
- const _rA = "resourceArn";
405
- const _rD = "returnData";
406
- const _rDe = "returnDistance";
407
- const _rM = "returnMetadata";
408
- const _s = "server";
409
- const _sC = "segmentCount";
410
- const _sI = "segmentIndex";
411
- const _sT = "sseType";
412
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
413
- const _t = "tags";
414
- const _tK = "topK";
415
- const _tKa = "tagKeys";
416
- const _v = "vectors";
417
- const _vB = "vectorBucket";
418
- const _vBA = "vectorBucketArn";
419
- const _vBN = "vectorBucketName";
420
- const _vBe = "vectorBuckets";
421
- const n0 = "com.amazonaws.s3vectors";
422
- var AccessDeniedException$ = [-3, n0, _ADE,
423
- { [_e]: _c, [_hE]: 403 },
424
- [_m],
425
- [0], 1
426
- ];
427
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
428
- var ConflictException$ = [-3, n0, _CE,
429
- { [_e]: _c, [_hE]: 409 },
430
- [_m],
431
- [0], 1
432
- ];
433
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
434
- var CreateIndexInput$ = [3, n0, _CII,
435
- 0,
436
- [_iN, _dT, _d, _dM, _vBN, _vBA, _mC, _eC, _t],
437
- [0, 0, 1, 0, 0, 0, () => MetadataConfiguration$, () => EncryptionConfiguration$, 128 | 0], 4
438
- ];
439
- var CreateIndexOutput$ = [3, n0, _CIO,
440
- 0,
441
- [_iA],
442
- [0], 1
443
- ];
444
- var CreateVectorBucketInput$ = [3, n0, _CVBI,
445
- 0,
446
- [_vBN, _eC, _t],
447
- [0, () => EncryptionConfiguration$, 128 | 0], 1
448
- ];
449
- var CreateVectorBucketOutput$ = [3, n0, _CVBO,
450
- 0,
451
- [_vBA],
452
- [0], 1
453
- ];
454
- var DeleteIndexInput$ = [3, n0, _DII,
455
- 0,
456
- [_vBN, _iN, _iA],
457
- [0, 0, 0]
458
- ];
459
- var DeleteIndexOutput$ = [3, n0, _DIO,
460
- 0,
461
- [],
462
- []
463
- ];
464
- var DeleteVectorBucketInput$ = [3, n0, _DVBI,
465
- 0,
466
- [_vBN, _vBA],
467
- [0, 0]
468
- ];
469
- var DeleteVectorBucketOutput$ = [3, n0, _DVBO,
470
- 0,
471
- [],
472
- []
473
- ];
474
- var DeleteVectorBucketPolicyInput$ = [3, n0, _DVBPI,
475
- 0,
476
- [_vBN, _vBA],
477
- [0, 0]
478
- ];
479
- var DeleteVectorBucketPolicyOutput$ = [3, n0, _DVBPO,
480
- 0,
481
- [],
482
- []
483
- ];
484
- var DeleteVectorsInput$ = [3, n0, _DVI,
485
- 0,
486
- [_k, _vBN, _iN, _iA],
487
- [64 | 0, 0, 0, 0], 1
488
- ];
489
- var DeleteVectorsOutput$ = [3, n0, _DVO,
490
- 0,
491
- [],
492
- []
493
- ];
494
- var EncryptionConfiguration$ = [3, n0, _EC,
495
- 0,
496
- [_sT, _kKA],
497
- [0, 0]
498
- ];
499
- var GetIndexInput$ = [3, n0, _GII,
500
- 0,
501
- [_vBN, _iN, _iA],
502
- [0, 0, 0]
503
- ];
504
- var GetIndexOutput$ = [3, n0, _GIO,
505
- 0,
506
- [_i],
507
- [() => Index$], 1
508
- ];
509
- var GetOutputVector$ = [3, n0, _GOV,
510
- 0,
511
- [_ke, _da, _me],
512
- [0, () => VectorData$, 15], 1
513
- ];
514
- var GetVectorBucketInput$ = [3, n0, _GVBI,
515
- 0,
516
- [_vBN, _vBA],
517
- [0, 0]
518
- ];
519
- var GetVectorBucketOutput$ = [3, n0, _GVBO,
520
- 0,
521
- [_vB],
522
- [() => VectorBucket$], 1
523
- ];
524
- var GetVectorBucketPolicyInput$ = [3, n0, _GVBPI,
525
- 0,
526
- [_vBN, _vBA],
527
- [0, 0]
528
- ];
529
- var GetVectorBucketPolicyOutput$ = [3, n0, _GVBPO,
530
- 0,
531
- [_p],
532
- [0]
533
- ];
534
- var GetVectorsInput$ = [3, n0, _GVI,
535
- 0,
536
- [_k, _vBN, _iN, _iA, _rD, _rM],
537
- [64 | 0, 0, 0, 0, 2, 2], 1
538
- ];
539
- var GetVectorsOutput$ = [3, n0, _GVO,
540
- 0,
541
- [_v],
542
- [() => GetVectorsOutputList], 1
543
- ];
544
- var Index$ = [3, n0, _I,
545
- 0,
546
- [_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC, _eC],
547
- [0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration$, () => EncryptionConfiguration$], 7
548
- ];
549
- var IndexSummary$ = [3, n0, _IS,
550
- 0,
551
- [_vBN, _iN, _iA, _cT],
552
- [0, 0, 0, 4], 4
553
- ];
554
- var InternalServerException$ = [-3, n0, _ISE,
555
- { [_e]: _s, [_hE]: 500 },
556
- [_m],
557
- [0], 1
558
- ];
559
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
560
- var KmsDisabledException$ = [-3, n0, _KDE,
561
- { [_e]: _c, [_hE]: 400 },
562
- [_m],
563
- [0], 1
564
- ];
565
- schema.TypeRegistry.for(n0).registerError(KmsDisabledException$, KmsDisabledException);
566
- var KmsInvalidKeyUsageException$ = [-3, n0, _KIKUE,
567
- { [_e]: _c, [_hE]: 400 },
568
- [_m],
569
- [0], 1
570
- ];
571
- schema.TypeRegistry.for(n0).registerError(KmsInvalidKeyUsageException$, KmsInvalidKeyUsageException);
572
- var KmsInvalidStateException$ = [-3, n0, _KISE,
573
- { [_e]: _c, [_hE]: 400 },
574
- [_m],
575
- [0], 1
576
- ];
577
- schema.TypeRegistry.for(n0).registerError(KmsInvalidStateException$, KmsInvalidStateException);
578
- var KmsNotFoundException$ = [-3, n0, _KNFE,
579
- { [_e]: _c, [_hE]: 400 },
580
- [_m],
581
- [0], 1
582
- ];
583
- schema.TypeRegistry.for(n0).registerError(KmsNotFoundException$, KmsNotFoundException);
584
- var ListIndexesInput$ = [3, n0, _LII,
585
- 0,
586
- [_vBN, _vBA, _mR, _nT, _pr],
587
- [0, 0, 1, 0, 0]
588
- ];
589
- var ListIndexesOutput$ = [3, n0, _LIO,
590
- 0,
591
- [_in, _nT],
592
- [() => ListIndexesOutputList, 0], 1
593
- ];
594
- var ListOutputVector$ = [3, n0, _LOV,
595
- 0,
596
- [_ke, _da, _me],
597
- [0, () => VectorData$, 15], 1
598
- ];
599
- var ListTagsForResourceInput$ = [3, n0, _LTFRI,
600
- 0,
601
- [_rA],
602
- [[0, 1]], 1
603
- ];
604
- var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
605
- 0,
606
- [_t],
607
- [128 | 0], 1
608
- ];
609
- var ListVectorBucketsInput$ = [3, n0, _LVBI,
610
- 0,
611
- [_mR, _nT, _pr],
612
- [1, 0, 0]
613
- ];
614
- var ListVectorBucketsOutput$ = [3, n0, _LVBO,
615
- 0,
616
- [_vBe, _nT],
617
- [() => ListVectorBucketsOutputList, 0], 1
618
- ];
619
- var ListVectorsInput$ = [3, n0, _LVI,
620
- 0,
621
- [_vBN, _iN, _iA, _mR, _nT, _sC, _sI, _rD, _rM],
622
- [0, 0, 0, 1, 0, 1, 1, 2, 2]
623
- ];
624
- var ListVectorsOutput$ = [3, n0, _LVO,
625
- 0,
626
- [_v, _nT],
627
- [() => ListVectorsOutputList, 0], 1
628
- ];
629
- var MetadataConfiguration$ = [3, n0, _MC,
630
- 0,
631
- [_nFMK],
632
- [64 | 0], 1
633
- ];
634
- var NotFoundException$ = [-3, n0, _NFE,
635
- { [_e]: _c, [_hE]: 404 },
636
- [_m],
637
- [0], 1
638
- ];
639
- schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
640
- var PutInputVector$ = [3, n0, _PIV,
641
- 0,
642
- [_ke, _da, _me],
643
- [0, () => VectorData$, 15], 2
644
- ];
645
- var PutVectorBucketPolicyInput$ = [3, n0, _PVBPI,
646
- 0,
647
- [_p, _vBN, _vBA],
648
- [0, 0, 0], 1
649
- ];
650
- var PutVectorBucketPolicyOutput$ = [3, n0, _PVBPO,
651
- 0,
652
- [],
653
- []
654
- ];
655
- var PutVectorsInput$ = [3, n0, _PVI,
656
- 0,
657
- [_v, _vBN, _iN, _iA],
658
- [() => PutVectorsInputList, 0, 0, 0], 1
659
- ];
660
- var PutVectorsOutput$ = [3, n0, _PVO,
661
- 0,
662
- [],
663
- []
664
- ];
665
- var QueryOutputVector$ = [3, n0, _QOV,
666
- 0,
667
- [_ke, _di, _me],
668
- [0, 1, 15], 1
669
- ];
670
- var QueryVectorsInput$ = [3, n0, _QVI,
671
- 0,
672
- [_tK, _qV, _vBN, _iN, _iA, _f, _rM, _rDe],
673
- [1, () => VectorData$, 0, 0, 0, 15, 2, 2], 2
674
- ];
675
- var QueryVectorsOutput$ = [3, n0, _QVO,
676
- 0,
677
- [_v, _dM],
678
- [() => QueryVectorsOutputList, 0], 2
679
- ];
680
- var RequestTimeoutException$ = [-3, n0, _RTE,
681
- { [_e]: _c, [_hE]: 408 },
682
- [_m],
683
- [0], 1
684
- ];
685
- schema.TypeRegistry.for(n0).registerError(RequestTimeoutException$, RequestTimeoutException);
686
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
687
- { [_e]: _c, [_hE]: 402 },
688
- [_m],
689
- [0], 1
690
- ];
691
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
692
- var ServiceUnavailableException$ = [-3, n0, _SUE,
693
- { [_e]: _s, [_hE]: 503 },
694
- [_m],
695
- [0], 1
696
- ];
697
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
698
- var TagResourceInput$ = [3, n0, _TRI,
699
- 0,
700
- [_rA, _t],
701
- [[0, 1], 128 | 0], 2
702
- ];
703
- var TagResourceOutput$ = [3, n0, _TRO,
704
- 0,
705
- [],
706
- []
707
- ];
708
- var TooManyRequestsException$ = [-3, n0, _TMRE,
709
- { [_e]: _c, [_hE]: 429 },
710
- [_m],
711
- [0], 1
712
- ];
713
- schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
714
- var UntagResourceInput$ = [3, n0, _URI,
715
- 0,
716
- [_rA, _tKa],
717
- [[0, 1], [64 | 0, { [_hQ]: _tKa }]], 2
718
- ];
719
- var UntagResourceOutput$ = [3, n0, _URO,
720
- 0,
721
- [],
722
- []
723
- ];
724
- var ValidationException$ = [-3, n0, _VE,
725
- { [_e]: _c },
726
- [_m, _fL],
727
- [0, () => ValidationExceptionFieldList], 1
728
- ];
729
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
730
- var ValidationExceptionField$ = [3, n0, _VEF,
731
- 0,
732
- [_pa, _m],
733
- [0, 0], 2
734
- ];
735
- var VectorBucket$ = [3, n0, _VB,
736
- 0,
737
- [_vBN, _vBA, _cT, _eC],
738
- [0, 0, 4, () => EncryptionConfiguration$], 3
739
- ];
740
- var VectorBucketSummary$ = [3, n0, _VBS,
741
- 0,
742
- [_vBN, _vBA, _cT],
743
- [0, 0, 4], 3
744
- ];
745
- var S3VectorsServiceException$ = [-3, _sm, "S3VectorsServiceException", 0, [], []];
746
- schema.TypeRegistry.for(_sm).registerError(S3VectorsServiceException$, S3VectorsServiceException);
747
- var GetVectorsOutputList = [1, n0, _GVOL,
748
- 0, () => GetOutputVector$
749
- ];
750
- var ListIndexesOutputList = [1, n0, _LIOL,
751
- 0, () => IndexSummary$
752
- ];
753
- var ListVectorBucketsOutputList = [1, n0, _LVBOL,
754
- 0, () => VectorBucketSummary$
755
- ];
756
- var ListVectorsOutputList = [1, n0, _LVOL,
757
- 0, () => ListOutputVector$
758
- ];
759
- var PutVectorsInputList = [1, n0, _PVIL,
760
- 0, () => PutInputVector$
761
- ];
762
- var QueryVectorsOutputList = [1, n0, _QVOL,
763
- 0, () => QueryOutputVector$
764
- ];
765
- var ValidationExceptionFieldList = [1, n0, _VEFL,
766
- 0, () => ValidationExceptionField$
767
- ];
768
- var VectorData$ = [4, n0, _VD,
769
- 0,
770
- [_fl],
771
- [64 | 1]
772
- ];
773
- var CreateIndex$ = [9, n0, _CI,
774
- { [_h]: ["POST", "/CreateIndex", 200] }, () => CreateIndexInput$, () => CreateIndexOutput$
775
- ];
776
- var CreateVectorBucket$ = [9, n0, _CVB,
777
- { [_h]: ["POST", "/CreateVectorBucket", 200] }, () => CreateVectorBucketInput$, () => CreateVectorBucketOutput$
778
- ];
779
- var DeleteIndex$ = [9, n0, _DI,
780
- { [_h]: ["POST", "/DeleteIndex", 200] }, () => DeleteIndexInput$, () => DeleteIndexOutput$
781
- ];
782
- var DeleteVectorBucket$ = [9, n0, _DVB,
783
- { [_h]: ["POST", "/DeleteVectorBucket", 200] }, () => DeleteVectorBucketInput$, () => DeleteVectorBucketOutput$
784
- ];
785
- var DeleteVectorBucketPolicy$ = [9, n0, _DVBP,
786
- { [_h]: ["POST", "/DeleteVectorBucketPolicy", 200] }, () => DeleteVectorBucketPolicyInput$, () => DeleteVectorBucketPolicyOutput$
787
- ];
788
- var DeleteVectors$ = [9, n0, _DV,
789
- { [_h]: ["POST", "/DeleteVectors", 200] }, () => DeleteVectorsInput$, () => DeleteVectorsOutput$
790
- ];
791
- var GetIndex$ = [9, n0, _GI,
792
- { [_h]: ["POST", "/GetIndex", 200] }, () => GetIndexInput$, () => GetIndexOutput$
793
- ];
794
- var GetVectorBucket$ = [9, n0, _GVB,
795
- { [_h]: ["POST", "/GetVectorBucket", 200] }, () => GetVectorBucketInput$, () => GetVectorBucketOutput$
796
- ];
797
- var GetVectorBucketPolicy$ = [9, n0, _GVBP,
798
- { [_h]: ["POST", "/GetVectorBucketPolicy", 200] }, () => GetVectorBucketPolicyInput$, () => GetVectorBucketPolicyOutput$
799
- ];
800
- var GetVectors$ = [9, n0, _GV,
801
- { [_h]: ["POST", "/GetVectors", 200] }, () => GetVectorsInput$, () => GetVectorsOutput$
802
- ];
803
- var ListIndexes$ = [9, n0, _LI,
804
- { [_h]: ["POST", "/ListIndexes", 200] }, () => ListIndexesInput$, () => ListIndexesOutput$
805
- ];
806
- var ListTagsForResource$ = [9, n0, _LTFR,
807
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
808
- ];
809
- var ListVectorBuckets$ = [9, n0, _LVB,
810
- { [_h]: ["POST", "/ListVectorBuckets", 200] }, () => ListVectorBucketsInput$, () => ListVectorBucketsOutput$
811
- ];
812
- var ListVectors$ = [9, n0, _LV,
813
- { [_h]: ["POST", "/ListVectors", 200] }, () => ListVectorsInput$, () => ListVectorsOutput$
814
- ];
815
- var PutVectorBucketPolicy$ = [9, n0, _PVBP,
816
- { [_h]: ["POST", "/PutVectorBucketPolicy", 200] }, () => PutVectorBucketPolicyInput$, () => PutVectorBucketPolicyOutput$
817
- ];
818
- var PutVectors$ = [9, n0, _PV,
819
- { [_h]: ["POST", "/PutVectors", 200] }, () => PutVectorsInput$, () => PutVectorsOutput$
820
- ];
821
- var QueryVectors$ = [9, n0, _QV,
822
- { [_h]: ["POST", "/QueryVectors", 200] }, () => QueryVectorsInput$, () => QueryVectorsOutput$
823
- ];
824
- var TagResource$ = [9, n0, _TR,
825
- { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
826
- ];
827
- var UntagResource$ = [9, n0, _UR,
828
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
829
- ];
830
-
831
114
  class CreateIndexCommand extends smithyClient.Command
832
115
  .classBuilder()
833
116
  .ep(commonParams)
@@ -836,7 +119,7 @@ class CreateIndexCommand extends smithyClient.Command
836
119
  })
837
120
  .s("S3Vectors", "CreateIndex", {})
838
121
  .n("S3VectorsClient", "CreateIndexCommand")
839
- .sc(CreateIndex$)
122
+ .sc(schemas_0.CreateIndex$)
840
123
  .build() {
841
124
  }
842
125
 
@@ -848,7 +131,7 @@ class CreateVectorBucketCommand extends smithyClient.Command
848
131
  })
849
132
  .s("S3Vectors", "CreateVectorBucket", {})
850
133
  .n("S3VectorsClient", "CreateVectorBucketCommand")
851
- .sc(CreateVectorBucket$)
134
+ .sc(schemas_0.CreateVectorBucket$)
852
135
  .build() {
853
136
  }
854
137
 
@@ -860,7 +143,7 @@ class DeleteIndexCommand extends smithyClient.Command
860
143
  })
861
144
  .s("S3Vectors", "DeleteIndex", {})
862
145
  .n("S3VectorsClient", "DeleteIndexCommand")
863
- .sc(DeleteIndex$)
146
+ .sc(schemas_0.DeleteIndex$)
864
147
  .build() {
865
148
  }
866
149
 
@@ -872,7 +155,7 @@ class DeleteVectorBucketCommand extends smithyClient.Command
872
155
  })
873
156
  .s("S3Vectors", "DeleteVectorBucket", {})
874
157
  .n("S3VectorsClient", "DeleteVectorBucketCommand")
875
- .sc(DeleteVectorBucket$)
158
+ .sc(schemas_0.DeleteVectorBucket$)
876
159
  .build() {
877
160
  }
878
161
 
@@ -884,7 +167,7 @@ class DeleteVectorBucketPolicyCommand extends smithyClient.Command
884
167
  })
885
168
  .s("S3Vectors", "DeleteVectorBucketPolicy", {})
886
169
  .n("S3VectorsClient", "DeleteVectorBucketPolicyCommand")
887
- .sc(DeleteVectorBucketPolicy$)
170
+ .sc(schemas_0.DeleteVectorBucketPolicy$)
888
171
  .build() {
889
172
  }
890
173
 
@@ -896,7 +179,7 @@ class DeleteVectorsCommand extends smithyClient.Command
896
179
  })
897
180
  .s("S3Vectors", "DeleteVectors", {})
898
181
  .n("S3VectorsClient", "DeleteVectorsCommand")
899
- .sc(DeleteVectors$)
182
+ .sc(schemas_0.DeleteVectors$)
900
183
  .build() {
901
184
  }
902
185
 
@@ -908,7 +191,7 @@ class GetIndexCommand extends smithyClient.Command
908
191
  })
909
192
  .s("S3Vectors", "GetIndex", {})
910
193
  .n("S3VectorsClient", "GetIndexCommand")
911
- .sc(GetIndex$)
194
+ .sc(schemas_0.GetIndex$)
912
195
  .build() {
913
196
  }
914
197
 
@@ -920,7 +203,7 @@ class GetVectorBucketCommand extends smithyClient.Command
920
203
  })
921
204
  .s("S3Vectors", "GetVectorBucket", {})
922
205
  .n("S3VectorsClient", "GetVectorBucketCommand")
923
- .sc(GetVectorBucket$)
206
+ .sc(schemas_0.GetVectorBucket$)
924
207
  .build() {
925
208
  }
926
209
 
@@ -932,7 +215,7 @@ class GetVectorBucketPolicyCommand extends smithyClient.Command
932
215
  })
933
216
  .s("S3Vectors", "GetVectorBucketPolicy", {})
934
217
  .n("S3VectorsClient", "GetVectorBucketPolicyCommand")
935
- .sc(GetVectorBucketPolicy$)
218
+ .sc(schemas_0.GetVectorBucketPolicy$)
936
219
  .build() {
937
220
  }
938
221
 
@@ -944,7 +227,7 @@ class GetVectorsCommand extends smithyClient.Command
944
227
  })
945
228
  .s("S3Vectors", "GetVectors", {})
946
229
  .n("S3VectorsClient", "GetVectorsCommand")
947
- .sc(GetVectors$)
230
+ .sc(schemas_0.GetVectors$)
948
231
  .build() {
949
232
  }
950
233
 
@@ -956,7 +239,7 @@ class ListIndexesCommand extends smithyClient.Command
956
239
  })
957
240
  .s("S3Vectors", "ListIndexes", {})
958
241
  .n("S3VectorsClient", "ListIndexesCommand")
959
- .sc(ListIndexes$)
242
+ .sc(schemas_0.ListIndexes$)
960
243
  .build() {
961
244
  }
962
245
 
@@ -968,7 +251,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
968
251
  })
969
252
  .s("S3Vectors", "ListTagsForResource", {})
970
253
  .n("S3VectorsClient", "ListTagsForResourceCommand")
971
- .sc(ListTagsForResource$)
254
+ .sc(schemas_0.ListTagsForResource$)
972
255
  .build() {
973
256
  }
974
257
 
@@ -980,7 +263,7 @@ class ListVectorBucketsCommand extends smithyClient.Command
980
263
  })
981
264
  .s("S3Vectors", "ListVectorBuckets", {})
982
265
  .n("S3VectorsClient", "ListVectorBucketsCommand")
983
- .sc(ListVectorBuckets$)
266
+ .sc(schemas_0.ListVectorBuckets$)
984
267
  .build() {
985
268
  }
986
269
 
@@ -992,7 +275,7 @@ class ListVectorsCommand extends smithyClient.Command
992
275
  })
993
276
  .s("S3Vectors", "ListVectors", {})
994
277
  .n("S3VectorsClient", "ListVectorsCommand")
995
- .sc(ListVectors$)
278
+ .sc(schemas_0.ListVectors$)
996
279
  .build() {
997
280
  }
998
281
 
@@ -1004,7 +287,7 @@ class PutVectorBucketPolicyCommand extends smithyClient.Command
1004
287
  })
1005
288
  .s("S3Vectors", "PutVectorBucketPolicy", {})
1006
289
  .n("S3VectorsClient", "PutVectorBucketPolicyCommand")
1007
- .sc(PutVectorBucketPolicy$)
290
+ .sc(schemas_0.PutVectorBucketPolicy$)
1008
291
  .build() {
1009
292
  }
1010
293
 
@@ -1016,7 +299,7 @@ class PutVectorsCommand extends smithyClient.Command
1016
299
  })
1017
300
  .s("S3Vectors", "PutVectors", {})
1018
301
  .n("S3VectorsClient", "PutVectorsCommand")
1019
- .sc(PutVectors$)
302
+ .sc(schemas_0.PutVectors$)
1020
303
  .build() {
1021
304
  }
1022
305
 
@@ -1028,7 +311,7 @@ class QueryVectorsCommand extends smithyClient.Command
1028
311
  })
1029
312
  .s("S3Vectors", "QueryVectors", {})
1030
313
  .n("S3VectorsClient", "QueryVectorsCommand")
1031
- .sc(QueryVectors$)
314
+ .sc(schemas_0.QueryVectors$)
1032
315
  .build() {
1033
316
  }
1034
317
 
@@ -1040,7 +323,7 @@ class TagResourceCommand extends smithyClient.Command
1040
323
  })
1041
324
  .s("S3Vectors", "TagResource", {})
1042
325
  .n("S3VectorsClient", "TagResourceCommand")
1043
- .sc(TagResource$)
326
+ .sc(schemas_0.TagResource$)
1044
327
  .build() {
1045
328
  }
1046
329
 
@@ -1052,7 +335,7 @@ class UntagResourceCommand extends smithyClient.Command
1052
335
  })
1053
336
  .s("S3Vectors", "UntagResource", {})
1054
337
  .n("S3VectorsClient", "UntagResourceCommand")
1055
- .sc(UntagResource$)
338
+ .sc(schemas_0.UntagResource$)
1056
339
  .build() {
1057
340
  }
1058
341
 
@@ -1112,127 +395,46 @@ Object.defineProperty(exports, "__Client", {
1112
395
  enumerable: true,
1113
396
  get: function () { return smithyClient.Client; }
1114
397
  });
1115
- exports.AccessDeniedException = AccessDeniedException;
1116
- exports.AccessDeniedException$ = AccessDeniedException$;
1117
- exports.ConflictException = ConflictException;
1118
- exports.ConflictException$ = ConflictException$;
1119
- exports.CreateIndex$ = CreateIndex$;
398
+ Object.defineProperty(exports, "S3VectorsServiceException", {
399
+ enumerable: true,
400
+ get: function () { return S3VectorsServiceException.S3VectorsServiceException; }
401
+ });
1120
402
  exports.CreateIndexCommand = CreateIndexCommand;
1121
- exports.CreateIndexInput$ = CreateIndexInput$;
1122
- exports.CreateIndexOutput$ = CreateIndexOutput$;
1123
- exports.CreateVectorBucket$ = CreateVectorBucket$;
1124
403
  exports.CreateVectorBucketCommand = CreateVectorBucketCommand;
1125
- exports.CreateVectorBucketInput$ = CreateVectorBucketInput$;
1126
- exports.CreateVectorBucketOutput$ = CreateVectorBucketOutput$;
1127
404
  exports.DataType = DataType;
1128
- exports.DeleteIndex$ = DeleteIndex$;
1129
405
  exports.DeleteIndexCommand = DeleteIndexCommand;
1130
- exports.DeleteIndexInput$ = DeleteIndexInput$;
1131
- exports.DeleteIndexOutput$ = DeleteIndexOutput$;
1132
- exports.DeleteVectorBucket$ = DeleteVectorBucket$;
1133
406
  exports.DeleteVectorBucketCommand = DeleteVectorBucketCommand;
1134
- exports.DeleteVectorBucketInput$ = DeleteVectorBucketInput$;
1135
- exports.DeleteVectorBucketOutput$ = DeleteVectorBucketOutput$;
1136
- exports.DeleteVectorBucketPolicy$ = DeleteVectorBucketPolicy$;
1137
407
  exports.DeleteVectorBucketPolicyCommand = DeleteVectorBucketPolicyCommand;
1138
- exports.DeleteVectorBucketPolicyInput$ = DeleteVectorBucketPolicyInput$;
1139
- exports.DeleteVectorBucketPolicyOutput$ = DeleteVectorBucketPolicyOutput$;
1140
- exports.DeleteVectors$ = DeleteVectors$;
1141
408
  exports.DeleteVectorsCommand = DeleteVectorsCommand;
1142
- exports.DeleteVectorsInput$ = DeleteVectorsInput$;
1143
- exports.DeleteVectorsOutput$ = DeleteVectorsOutput$;
1144
409
  exports.DistanceMetric = DistanceMetric;
1145
- exports.EncryptionConfiguration$ = EncryptionConfiguration$;
1146
- exports.GetIndex$ = GetIndex$;
1147
410
  exports.GetIndexCommand = GetIndexCommand;
1148
- exports.GetIndexInput$ = GetIndexInput$;
1149
- exports.GetIndexOutput$ = GetIndexOutput$;
1150
- exports.GetOutputVector$ = GetOutputVector$;
1151
- exports.GetVectorBucket$ = GetVectorBucket$;
1152
411
  exports.GetVectorBucketCommand = GetVectorBucketCommand;
1153
- exports.GetVectorBucketInput$ = GetVectorBucketInput$;
1154
- exports.GetVectorBucketOutput$ = GetVectorBucketOutput$;
1155
- exports.GetVectorBucketPolicy$ = GetVectorBucketPolicy$;
1156
412
  exports.GetVectorBucketPolicyCommand = GetVectorBucketPolicyCommand;
1157
- exports.GetVectorBucketPolicyInput$ = GetVectorBucketPolicyInput$;
1158
- exports.GetVectorBucketPolicyOutput$ = GetVectorBucketPolicyOutput$;
1159
- exports.GetVectors$ = GetVectors$;
1160
413
  exports.GetVectorsCommand = GetVectorsCommand;
1161
- exports.GetVectorsInput$ = GetVectorsInput$;
1162
- exports.GetVectorsOutput$ = GetVectorsOutput$;
1163
- exports.Index$ = Index$;
1164
- exports.IndexSummary$ = IndexSummary$;
1165
- exports.InternalServerException = InternalServerException;
1166
- exports.InternalServerException$ = InternalServerException$;
1167
- exports.KmsDisabledException = KmsDisabledException;
1168
- exports.KmsDisabledException$ = KmsDisabledException$;
1169
- exports.KmsInvalidKeyUsageException = KmsInvalidKeyUsageException;
1170
- exports.KmsInvalidKeyUsageException$ = KmsInvalidKeyUsageException$;
1171
- exports.KmsInvalidStateException = KmsInvalidStateException;
1172
- exports.KmsInvalidStateException$ = KmsInvalidStateException$;
1173
- exports.KmsNotFoundException = KmsNotFoundException;
1174
- exports.KmsNotFoundException$ = KmsNotFoundException$;
1175
- exports.ListIndexes$ = ListIndexes$;
1176
414
  exports.ListIndexesCommand = ListIndexesCommand;
1177
- exports.ListIndexesInput$ = ListIndexesInput$;
1178
- exports.ListIndexesOutput$ = ListIndexesOutput$;
1179
- exports.ListOutputVector$ = ListOutputVector$;
1180
- exports.ListTagsForResource$ = ListTagsForResource$;
1181
415
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1182
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1183
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1184
- exports.ListVectorBuckets$ = ListVectorBuckets$;
1185
416
  exports.ListVectorBucketsCommand = ListVectorBucketsCommand;
1186
- exports.ListVectorBucketsInput$ = ListVectorBucketsInput$;
1187
- exports.ListVectorBucketsOutput$ = ListVectorBucketsOutput$;
1188
- exports.ListVectors$ = ListVectors$;
1189
417
  exports.ListVectorsCommand = ListVectorsCommand;
1190
- exports.ListVectorsInput$ = ListVectorsInput$;
1191
- exports.ListVectorsOutput$ = ListVectorsOutput$;
1192
- exports.MetadataConfiguration$ = MetadataConfiguration$;
1193
- exports.NotFoundException = NotFoundException;
1194
- exports.NotFoundException$ = NotFoundException$;
1195
- exports.PutInputVector$ = PutInputVector$;
1196
- exports.PutVectorBucketPolicy$ = PutVectorBucketPolicy$;
1197
418
  exports.PutVectorBucketPolicyCommand = PutVectorBucketPolicyCommand;
1198
- exports.PutVectorBucketPolicyInput$ = PutVectorBucketPolicyInput$;
1199
- exports.PutVectorBucketPolicyOutput$ = PutVectorBucketPolicyOutput$;
1200
- exports.PutVectors$ = PutVectors$;
1201
419
  exports.PutVectorsCommand = PutVectorsCommand;
1202
- exports.PutVectorsInput$ = PutVectorsInput$;
1203
- exports.PutVectorsOutput$ = PutVectorsOutput$;
1204
- exports.QueryOutputVector$ = QueryOutputVector$;
1205
- exports.QueryVectors$ = QueryVectors$;
1206
420
  exports.QueryVectorsCommand = QueryVectorsCommand;
1207
- exports.QueryVectorsInput$ = QueryVectorsInput$;
1208
- exports.QueryVectorsOutput$ = QueryVectorsOutput$;
1209
- exports.RequestTimeoutException = RequestTimeoutException;
1210
- exports.RequestTimeoutException$ = RequestTimeoutException$;
1211
421
  exports.S3Vectors = S3Vectors;
1212
422
  exports.S3VectorsClient = S3VectorsClient;
1213
- exports.S3VectorsServiceException = S3VectorsServiceException;
1214
- exports.S3VectorsServiceException$ = S3VectorsServiceException$;
1215
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1216
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1217
- exports.ServiceUnavailableException = ServiceUnavailableException;
1218
- exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1219
423
  exports.SseType = SseType;
1220
- exports.TagResource$ = TagResource$;
1221
424
  exports.TagResourceCommand = TagResourceCommand;
1222
- exports.TagResourceInput$ = TagResourceInput$;
1223
- exports.TagResourceOutput$ = TagResourceOutput$;
1224
- exports.TooManyRequestsException = TooManyRequestsException;
1225
- exports.TooManyRequestsException$ = TooManyRequestsException$;
1226
- exports.UntagResource$ = UntagResource$;
1227
425
  exports.UntagResourceCommand = UntagResourceCommand;
1228
- exports.UntagResourceInput$ = UntagResourceInput$;
1229
- exports.UntagResourceOutput$ = UntagResourceOutput$;
1230
- exports.ValidationException = ValidationException;
1231
- exports.ValidationException$ = ValidationException$;
1232
- exports.ValidationExceptionField$ = ValidationExceptionField$;
1233
- exports.VectorBucket$ = VectorBucket$;
1234
- exports.VectorBucketSummary$ = VectorBucketSummary$;
1235
- exports.VectorData$ = VectorData$;
1236
426
  exports.paginateListIndexes = paginateListIndexes;
1237
427
  exports.paginateListVectorBuckets = paginateListVectorBuckets;
1238
428
  exports.paginateListVectors = paginateListVectors;
429
+ Object.keys(schemas_0).forEach(function (k) {
430
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
431
+ enumerable: true,
432
+ get: function () { return schemas_0[k]; }
433
+ });
434
+ });
435
+ Object.keys(errors).forEach(function (k) {
436
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
437
+ enumerable: true,
438
+ get: function () { return errors[k]; }
439
+ });
440
+ });