@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 +38 -836
- package/dist-cjs/models/S3VectorsServiceException.js +12 -0
- package/dist-cjs/models/errors.js +181 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +566 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +78 -72
- package/dist-types/schemas/schemas_0.d.ts +19 -12
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -12
- package/package.json +13 -13
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutInputVector$ = exports.MetadataConfiguration$ = exports.ListVectorsOutput$ = exports.ListVectorsInput$ = exports.ListVectorBucketsOutput$ = exports.ListVectorBucketsInput$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListOutputVector$ = exports.ListIndexesOutput$ = exports.ListIndexesInput$ = exports.IndexSummary$ = exports.Index$ = exports.GetVectorsOutput$ = exports.GetVectorsInput$ = exports.GetVectorBucketPolicyOutput$ = exports.GetVectorBucketPolicyInput$ = exports.GetVectorBucketOutput$ = exports.GetVectorBucketInput$ = exports.GetOutputVector$ = exports.GetIndexOutput$ = exports.GetIndexInput$ = exports.EncryptionConfiguration$ = exports.DeleteVectorsOutput$ = exports.DeleteVectorsInput$ = exports.DeleteVectorBucketPolicyOutput$ = exports.DeleteVectorBucketPolicyInput$ = exports.DeleteVectorBucketOutput$ = exports.DeleteVectorBucketInput$ = exports.DeleteIndexOutput$ = exports.DeleteIndexInput$ = exports.CreateVectorBucketOutput$ = exports.CreateVectorBucketInput$ = exports.CreateIndexOutput$ = exports.CreateIndexInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsException$ = exports.ServiceUnavailableException$ = exports.ServiceQuotaExceededException$ = exports.RequestTimeoutException$ = exports.NotFoundException$ = exports.KmsNotFoundException$ = exports.KmsInvalidStateException$ = exports.KmsInvalidKeyUsageException$ = exports.KmsDisabledException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.S3VectorsServiceException$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.QueryVectors$ = exports.PutVectors$ = exports.PutVectorBucketPolicy$ = exports.ListVectors$ = exports.ListVectorBuckets$ = exports.ListTagsForResource$ = exports.ListIndexes$ = exports.GetVectors$ = exports.GetVectorBucketPolicy$ = exports.GetVectorBucket$ = exports.GetIndex$ = exports.DeleteVectors$ = exports.DeleteVectorBucketPolicy$ = exports.DeleteVectorBucket$ = exports.DeleteIndex$ = exports.CreateVectorBucket$ = exports.CreateIndex$ = exports.VectorData$ = exports.VectorBucketSummary$ = exports.VectorBucket$ = exports.ValidationExceptionField$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.QueryVectorsOutput$ = exports.QueryVectorsInput$ = exports.QueryOutputVector$ = exports.PutVectorsOutput$ = exports.PutVectorsInput$ = exports.PutVectorBucketPolicyOutput$ = exports.PutVectorBucketPolicyInput$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _CE = "ConflictException";
|
|
7
|
+
const _CI = "CreateIndex";
|
|
8
|
+
const _CII = "CreateIndexInput";
|
|
9
|
+
const _CIO = "CreateIndexOutput";
|
|
10
|
+
const _CVB = "CreateVectorBucket";
|
|
11
|
+
const _CVBI = "CreateVectorBucketInput";
|
|
12
|
+
const _CVBO = "CreateVectorBucketOutput";
|
|
13
|
+
const _DI = "DeleteIndex";
|
|
14
|
+
const _DII = "DeleteIndexInput";
|
|
15
|
+
const _DIO = "DeleteIndexOutput";
|
|
16
|
+
const _DV = "DeleteVectors";
|
|
17
|
+
const _DVB = "DeleteVectorBucket";
|
|
18
|
+
const _DVBI = "DeleteVectorBucketInput";
|
|
19
|
+
const _DVBO = "DeleteVectorBucketOutput";
|
|
20
|
+
const _DVBP = "DeleteVectorBucketPolicy";
|
|
21
|
+
const _DVBPI = "DeleteVectorBucketPolicyInput";
|
|
22
|
+
const _DVBPO = "DeleteVectorBucketPolicyOutput";
|
|
23
|
+
const _DVI = "DeleteVectorsInput";
|
|
24
|
+
const _DVO = "DeleteVectorsOutput";
|
|
25
|
+
const _EC = "EncryptionConfiguration";
|
|
26
|
+
const _GI = "GetIndex";
|
|
27
|
+
const _GII = "GetIndexInput";
|
|
28
|
+
const _GIO = "GetIndexOutput";
|
|
29
|
+
const _GOV = "GetOutputVector";
|
|
30
|
+
const _GV = "GetVectors";
|
|
31
|
+
const _GVB = "GetVectorBucket";
|
|
32
|
+
const _GVBI = "GetVectorBucketInput";
|
|
33
|
+
const _GVBO = "GetVectorBucketOutput";
|
|
34
|
+
const _GVBP = "GetVectorBucketPolicy";
|
|
35
|
+
const _GVBPI = "GetVectorBucketPolicyInput";
|
|
36
|
+
const _GVBPO = "GetVectorBucketPolicyOutput";
|
|
37
|
+
const _GVI = "GetVectorsInput";
|
|
38
|
+
const _GVO = "GetVectorsOutput";
|
|
39
|
+
const _GVOL = "GetVectorsOutputList";
|
|
40
|
+
const _I = "Index";
|
|
41
|
+
const _IS = "IndexSummary";
|
|
42
|
+
const _ISE = "InternalServerException";
|
|
43
|
+
const _KDE = "KmsDisabledException";
|
|
44
|
+
const _KIKUE = "KmsInvalidKeyUsageException";
|
|
45
|
+
const _KISE = "KmsInvalidStateException";
|
|
46
|
+
const _KNFE = "KmsNotFoundException";
|
|
47
|
+
const _LI = "ListIndexes";
|
|
48
|
+
const _LII = "ListIndexesInput";
|
|
49
|
+
const _LIO = "ListIndexesOutput";
|
|
50
|
+
const _LIOL = "ListIndexesOutputList";
|
|
51
|
+
const _LOV = "ListOutputVector";
|
|
52
|
+
const _LTFR = "ListTagsForResource";
|
|
53
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
54
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
55
|
+
const _LV = "ListVectors";
|
|
56
|
+
const _LVB = "ListVectorBuckets";
|
|
57
|
+
const _LVBI = "ListVectorBucketsInput";
|
|
58
|
+
const _LVBO = "ListVectorBucketsOutput";
|
|
59
|
+
const _LVBOL = "ListVectorBucketsOutputList";
|
|
60
|
+
const _LVI = "ListVectorsInput";
|
|
61
|
+
const _LVO = "ListVectorsOutput";
|
|
62
|
+
const _LVOL = "ListVectorsOutputList";
|
|
63
|
+
const _MC = "MetadataConfiguration";
|
|
64
|
+
const _NFE = "NotFoundException";
|
|
65
|
+
const _PIV = "PutInputVector";
|
|
66
|
+
const _PV = "PutVectors";
|
|
67
|
+
const _PVBP = "PutVectorBucketPolicy";
|
|
68
|
+
const _PVBPI = "PutVectorBucketPolicyInput";
|
|
69
|
+
const _PVBPO = "PutVectorBucketPolicyOutput";
|
|
70
|
+
const _PVI = "PutVectorsInput";
|
|
71
|
+
const _PVIL = "PutVectorsInputList";
|
|
72
|
+
const _PVO = "PutVectorsOutput";
|
|
73
|
+
const _QOV = "QueryOutputVector";
|
|
74
|
+
const _QV = "QueryVectors";
|
|
75
|
+
const _QVI = "QueryVectorsInput";
|
|
76
|
+
const _QVO = "QueryVectorsOutput";
|
|
77
|
+
const _QVOL = "QueryVectorsOutputList";
|
|
78
|
+
const _RTE = "RequestTimeoutException";
|
|
79
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
80
|
+
const _SUE = "ServiceUnavailableException";
|
|
81
|
+
const _TMRE = "TooManyRequestsException";
|
|
82
|
+
const _TR = "TagResource";
|
|
83
|
+
const _TRI = "TagResourceInput";
|
|
84
|
+
const _TRO = "TagResourceOutput";
|
|
85
|
+
const _UR = "UntagResource";
|
|
86
|
+
const _URI = "UntagResourceInput";
|
|
87
|
+
const _URO = "UntagResourceOutput";
|
|
88
|
+
const _VB = "VectorBucket";
|
|
89
|
+
const _VBS = "VectorBucketSummary";
|
|
90
|
+
const _VD = "VectorData";
|
|
91
|
+
const _VE = "ValidationException";
|
|
92
|
+
const _VEF = "ValidationExceptionField";
|
|
93
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
94
|
+
const _c = "client";
|
|
95
|
+
const _cT = "creationTime";
|
|
96
|
+
const _d = "dimension";
|
|
97
|
+
const _dM = "distanceMetric";
|
|
98
|
+
const _dT = "dataType";
|
|
99
|
+
const _da = "data";
|
|
100
|
+
const _di = "distance";
|
|
101
|
+
const _e = "error";
|
|
102
|
+
const _eC = "encryptionConfiguration";
|
|
103
|
+
const _f = "filter";
|
|
104
|
+
const _fL = "fieldList";
|
|
105
|
+
const _fl = "float32";
|
|
106
|
+
const _h = "http";
|
|
107
|
+
const _hE = "httpError";
|
|
108
|
+
const _hQ = "httpQuery";
|
|
109
|
+
const _i = "index";
|
|
110
|
+
const _iA = "indexArn";
|
|
111
|
+
const _iN = "indexName";
|
|
112
|
+
const _in = "indexes";
|
|
113
|
+
const _k = "keys";
|
|
114
|
+
const _kKA = "kmsKeyArn";
|
|
115
|
+
const _ke = "key";
|
|
116
|
+
const _m = "message";
|
|
117
|
+
const _mC = "metadataConfiguration";
|
|
118
|
+
const _mR = "maxResults";
|
|
119
|
+
const _me = "metadata";
|
|
120
|
+
const _nFMK = "nonFilterableMetadataKeys";
|
|
121
|
+
const _nT = "nextToken";
|
|
122
|
+
const _p = "policy";
|
|
123
|
+
const _pa = "path";
|
|
124
|
+
const _pr = "prefix";
|
|
125
|
+
const _qV = "queryVector";
|
|
126
|
+
const _rA = "resourceArn";
|
|
127
|
+
const _rD = "returnData";
|
|
128
|
+
const _rDe = "returnDistance";
|
|
129
|
+
const _rM = "returnMetadata";
|
|
130
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
|
|
131
|
+
const _sC = "segmentCount";
|
|
132
|
+
const _sI = "segmentIndex";
|
|
133
|
+
const _sT = "sseType";
|
|
134
|
+
const _se = "server";
|
|
135
|
+
const _t = "tags";
|
|
136
|
+
const _tK = "topK";
|
|
137
|
+
const _tKa = "tagKeys";
|
|
138
|
+
const _v = "vectors";
|
|
139
|
+
const _vB = "vectorBucket";
|
|
140
|
+
const _vBA = "vectorBucketArn";
|
|
141
|
+
const _vBN = "vectorBucketName";
|
|
142
|
+
const _vBe = "vectorBuckets";
|
|
143
|
+
const n0 = "com.amazonaws.s3vectors";
|
|
144
|
+
const schema_1 = require("@smithy/core/schema");
|
|
145
|
+
const errors_1 = require("../models/errors");
|
|
146
|
+
const S3VectorsServiceException_1 = require("../models/S3VectorsServiceException");
|
|
147
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
148
|
+
exports.S3VectorsServiceException$ = [-3, _s, "S3VectorsServiceException", 0, [], []];
|
|
149
|
+
_s_registry.registerError(exports.S3VectorsServiceException$, S3VectorsServiceException_1.S3VectorsServiceException);
|
|
150
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
151
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
152
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
153
|
+
[_m],
|
|
154
|
+
[0], 1
|
|
155
|
+
];
|
|
156
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
157
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
158
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
159
|
+
[_m],
|
|
160
|
+
[0], 1
|
|
161
|
+
];
|
|
162
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
163
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
164
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
165
|
+
[_m],
|
|
166
|
+
[0], 1
|
|
167
|
+
];
|
|
168
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
169
|
+
exports.KmsDisabledException$ = [-3, n0, _KDE,
|
|
170
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
171
|
+
[_m],
|
|
172
|
+
[0], 1
|
|
173
|
+
];
|
|
174
|
+
n0_registry.registerError(exports.KmsDisabledException$, errors_1.KmsDisabledException);
|
|
175
|
+
exports.KmsInvalidKeyUsageException$ = [-3, n0, _KIKUE,
|
|
176
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
177
|
+
[_m],
|
|
178
|
+
[0], 1
|
|
179
|
+
];
|
|
180
|
+
n0_registry.registerError(exports.KmsInvalidKeyUsageException$, errors_1.KmsInvalidKeyUsageException);
|
|
181
|
+
exports.KmsInvalidStateException$ = [-3, n0, _KISE,
|
|
182
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
183
|
+
[_m],
|
|
184
|
+
[0], 1
|
|
185
|
+
];
|
|
186
|
+
n0_registry.registerError(exports.KmsInvalidStateException$, errors_1.KmsInvalidStateException);
|
|
187
|
+
exports.KmsNotFoundException$ = [-3, n0, _KNFE,
|
|
188
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
189
|
+
[_m],
|
|
190
|
+
[0], 1
|
|
191
|
+
];
|
|
192
|
+
n0_registry.registerError(exports.KmsNotFoundException$, errors_1.KmsNotFoundException);
|
|
193
|
+
exports.NotFoundException$ = [-3, n0, _NFE,
|
|
194
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
195
|
+
[_m],
|
|
196
|
+
[0], 1
|
|
197
|
+
];
|
|
198
|
+
n0_registry.registerError(exports.NotFoundException$, errors_1.NotFoundException);
|
|
199
|
+
exports.RequestTimeoutException$ = [-3, n0, _RTE,
|
|
200
|
+
{ [_e]: _c, [_hE]: 408 },
|
|
201
|
+
[_m],
|
|
202
|
+
[0], 1
|
|
203
|
+
];
|
|
204
|
+
n0_registry.registerError(exports.RequestTimeoutException$, errors_1.RequestTimeoutException);
|
|
205
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
206
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
207
|
+
[_m],
|
|
208
|
+
[0], 1
|
|
209
|
+
];
|
|
210
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
211
|
+
exports.ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
212
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
213
|
+
[_m],
|
|
214
|
+
[0], 1
|
|
215
|
+
];
|
|
216
|
+
n0_registry.registerError(exports.ServiceUnavailableException$, errors_1.ServiceUnavailableException);
|
|
217
|
+
exports.TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
218
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
219
|
+
[_m],
|
|
220
|
+
[0], 1
|
|
221
|
+
];
|
|
222
|
+
n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
|
|
223
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
224
|
+
{ [_e]: _c },
|
|
225
|
+
[_m, _fL],
|
|
226
|
+
[0, () => ValidationExceptionFieldList], 1
|
|
227
|
+
];
|
|
228
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
229
|
+
exports.errorTypeRegistries = [
|
|
230
|
+
_s_registry,
|
|
231
|
+
n0_registry,
|
|
232
|
+
];
|
|
233
|
+
exports.CreateIndexInput$ = [3, n0, _CII,
|
|
234
|
+
0,
|
|
235
|
+
[_iN, _dT, _d, _dM, _vBN, _vBA, _mC, _eC, _t],
|
|
236
|
+
[0, 0, 1, 0, 0, 0, () => exports.MetadataConfiguration$, () => exports.EncryptionConfiguration$, 128 | 0], 4
|
|
237
|
+
];
|
|
238
|
+
exports.CreateIndexOutput$ = [3, n0, _CIO,
|
|
239
|
+
0,
|
|
240
|
+
[_iA],
|
|
241
|
+
[0], 1
|
|
242
|
+
];
|
|
243
|
+
exports.CreateVectorBucketInput$ = [3, n0, _CVBI,
|
|
244
|
+
0,
|
|
245
|
+
[_vBN, _eC, _t],
|
|
246
|
+
[0, () => exports.EncryptionConfiguration$, 128 | 0], 1
|
|
247
|
+
];
|
|
248
|
+
exports.CreateVectorBucketOutput$ = [3, n0, _CVBO,
|
|
249
|
+
0,
|
|
250
|
+
[_vBA],
|
|
251
|
+
[0], 1
|
|
252
|
+
];
|
|
253
|
+
exports.DeleteIndexInput$ = [3, n0, _DII,
|
|
254
|
+
0,
|
|
255
|
+
[_vBN, _iN, _iA],
|
|
256
|
+
[0, 0, 0]
|
|
257
|
+
];
|
|
258
|
+
exports.DeleteIndexOutput$ = [3, n0, _DIO,
|
|
259
|
+
0,
|
|
260
|
+
[],
|
|
261
|
+
[]
|
|
262
|
+
];
|
|
263
|
+
exports.DeleteVectorBucketInput$ = [3, n0, _DVBI,
|
|
264
|
+
0,
|
|
265
|
+
[_vBN, _vBA],
|
|
266
|
+
[0, 0]
|
|
267
|
+
];
|
|
268
|
+
exports.DeleteVectorBucketOutput$ = [3, n0, _DVBO,
|
|
269
|
+
0,
|
|
270
|
+
[],
|
|
271
|
+
[]
|
|
272
|
+
];
|
|
273
|
+
exports.DeleteVectorBucketPolicyInput$ = [3, n0, _DVBPI,
|
|
274
|
+
0,
|
|
275
|
+
[_vBN, _vBA],
|
|
276
|
+
[0, 0]
|
|
277
|
+
];
|
|
278
|
+
exports.DeleteVectorBucketPolicyOutput$ = [3, n0, _DVBPO,
|
|
279
|
+
0,
|
|
280
|
+
[],
|
|
281
|
+
[]
|
|
282
|
+
];
|
|
283
|
+
exports.DeleteVectorsInput$ = [3, n0, _DVI,
|
|
284
|
+
0,
|
|
285
|
+
[_k, _vBN, _iN, _iA],
|
|
286
|
+
[64 | 0, 0, 0, 0], 1
|
|
287
|
+
];
|
|
288
|
+
exports.DeleteVectorsOutput$ = [3, n0, _DVO,
|
|
289
|
+
0,
|
|
290
|
+
[],
|
|
291
|
+
[]
|
|
292
|
+
];
|
|
293
|
+
exports.EncryptionConfiguration$ = [3, n0, _EC,
|
|
294
|
+
0,
|
|
295
|
+
[_sT, _kKA],
|
|
296
|
+
[0, 0]
|
|
297
|
+
];
|
|
298
|
+
exports.GetIndexInput$ = [3, n0, _GII,
|
|
299
|
+
0,
|
|
300
|
+
[_vBN, _iN, _iA],
|
|
301
|
+
[0, 0, 0]
|
|
302
|
+
];
|
|
303
|
+
exports.GetIndexOutput$ = [3, n0, _GIO,
|
|
304
|
+
0,
|
|
305
|
+
[_i],
|
|
306
|
+
[() => exports.Index$], 1
|
|
307
|
+
];
|
|
308
|
+
exports.GetOutputVector$ = [3, n0, _GOV,
|
|
309
|
+
0,
|
|
310
|
+
[_ke, _da, _me],
|
|
311
|
+
[0, () => exports.VectorData$, 15], 1
|
|
312
|
+
];
|
|
313
|
+
exports.GetVectorBucketInput$ = [3, n0, _GVBI,
|
|
314
|
+
0,
|
|
315
|
+
[_vBN, _vBA],
|
|
316
|
+
[0, 0]
|
|
317
|
+
];
|
|
318
|
+
exports.GetVectorBucketOutput$ = [3, n0, _GVBO,
|
|
319
|
+
0,
|
|
320
|
+
[_vB],
|
|
321
|
+
[() => exports.VectorBucket$], 1
|
|
322
|
+
];
|
|
323
|
+
exports.GetVectorBucketPolicyInput$ = [3, n0, _GVBPI,
|
|
324
|
+
0,
|
|
325
|
+
[_vBN, _vBA],
|
|
326
|
+
[0, 0]
|
|
327
|
+
];
|
|
328
|
+
exports.GetVectorBucketPolicyOutput$ = [3, n0, _GVBPO,
|
|
329
|
+
0,
|
|
330
|
+
[_p],
|
|
331
|
+
[0]
|
|
332
|
+
];
|
|
333
|
+
exports.GetVectorsInput$ = [3, n0, _GVI,
|
|
334
|
+
0,
|
|
335
|
+
[_k, _vBN, _iN, _iA, _rD, _rM],
|
|
336
|
+
[64 | 0, 0, 0, 0, 2, 2], 1
|
|
337
|
+
];
|
|
338
|
+
exports.GetVectorsOutput$ = [3, n0, _GVO,
|
|
339
|
+
0,
|
|
340
|
+
[_v],
|
|
341
|
+
[() => GetVectorsOutputList], 1
|
|
342
|
+
];
|
|
343
|
+
exports.Index$ = [3, n0, _I,
|
|
344
|
+
0,
|
|
345
|
+
[_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC, _eC],
|
|
346
|
+
[0, 0, 0, 4, 0, 1, 0, () => exports.MetadataConfiguration$, () => exports.EncryptionConfiguration$], 7
|
|
347
|
+
];
|
|
348
|
+
exports.IndexSummary$ = [3, n0, _IS,
|
|
349
|
+
0,
|
|
350
|
+
[_vBN, _iN, _iA, _cT],
|
|
351
|
+
[0, 0, 0, 4], 4
|
|
352
|
+
];
|
|
353
|
+
exports.ListIndexesInput$ = [3, n0, _LII,
|
|
354
|
+
0,
|
|
355
|
+
[_vBN, _vBA, _mR, _nT, _pr],
|
|
356
|
+
[0, 0, 1, 0, 0]
|
|
357
|
+
];
|
|
358
|
+
exports.ListIndexesOutput$ = [3, n0, _LIO,
|
|
359
|
+
0,
|
|
360
|
+
[_in, _nT],
|
|
361
|
+
[() => ListIndexesOutputList, 0], 1
|
|
362
|
+
];
|
|
363
|
+
exports.ListOutputVector$ = [3, n0, _LOV,
|
|
364
|
+
0,
|
|
365
|
+
[_ke, _da, _me],
|
|
366
|
+
[0, () => exports.VectorData$, 15], 1
|
|
367
|
+
];
|
|
368
|
+
exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
369
|
+
0,
|
|
370
|
+
[_rA],
|
|
371
|
+
[[0, 1]], 1
|
|
372
|
+
];
|
|
373
|
+
exports.ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
374
|
+
0,
|
|
375
|
+
[_t],
|
|
376
|
+
[128 | 0], 1
|
|
377
|
+
];
|
|
378
|
+
exports.ListVectorBucketsInput$ = [3, n0, _LVBI,
|
|
379
|
+
0,
|
|
380
|
+
[_mR, _nT, _pr],
|
|
381
|
+
[1, 0, 0]
|
|
382
|
+
];
|
|
383
|
+
exports.ListVectorBucketsOutput$ = [3, n0, _LVBO,
|
|
384
|
+
0,
|
|
385
|
+
[_vBe, _nT],
|
|
386
|
+
[() => ListVectorBucketsOutputList, 0], 1
|
|
387
|
+
];
|
|
388
|
+
exports.ListVectorsInput$ = [3, n0, _LVI,
|
|
389
|
+
0,
|
|
390
|
+
[_vBN, _iN, _iA, _mR, _nT, _sC, _sI, _rD, _rM],
|
|
391
|
+
[0, 0, 0, 1, 0, 1, 1, 2, 2]
|
|
392
|
+
];
|
|
393
|
+
exports.ListVectorsOutput$ = [3, n0, _LVO,
|
|
394
|
+
0,
|
|
395
|
+
[_v, _nT],
|
|
396
|
+
[() => ListVectorsOutputList, 0], 1
|
|
397
|
+
];
|
|
398
|
+
exports.MetadataConfiguration$ = [3, n0, _MC,
|
|
399
|
+
0,
|
|
400
|
+
[_nFMK],
|
|
401
|
+
[64 | 0], 1
|
|
402
|
+
];
|
|
403
|
+
exports.PutInputVector$ = [3, n0, _PIV,
|
|
404
|
+
0,
|
|
405
|
+
[_ke, _da, _me],
|
|
406
|
+
[0, () => exports.VectorData$, 15], 2
|
|
407
|
+
];
|
|
408
|
+
exports.PutVectorBucketPolicyInput$ = [3, n0, _PVBPI,
|
|
409
|
+
0,
|
|
410
|
+
[_p, _vBN, _vBA],
|
|
411
|
+
[0, 0, 0], 1
|
|
412
|
+
];
|
|
413
|
+
exports.PutVectorBucketPolicyOutput$ = [3, n0, _PVBPO,
|
|
414
|
+
0,
|
|
415
|
+
[],
|
|
416
|
+
[]
|
|
417
|
+
];
|
|
418
|
+
exports.PutVectorsInput$ = [3, n0, _PVI,
|
|
419
|
+
0,
|
|
420
|
+
[_v, _vBN, _iN, _iA],
|
|
421
|
+
[() => PutVectorsInputList, 0, 0, 0], 1
|
|
422
|
+
];
|
|
423
|
+
exports.PutVectorsOutput$ = [3, n0, _PVO,
|
|
424
|
+
0,
|
|
425
|
+
[],
|
|
426
|
+
[]
|
|
427
|
+
];
|
|
428
|
+
exports.QueryOutputVector$ = [3, n0, _QOV,
|
|
429
|
+
0,
|
|
430
|
+
[_ke, _di, _me],
|
|
431
|
+
[0, 1, 15], 1
|
|
432
|
+
];
|
|
433
|
+
exports.QueryVectorsInput$ = [3, n0, _QVI,
|
|
434
|
+
0,
|
|
435
|
+
[_tK, _qV, _vBN, _iN, _iA, _f, _rM, _rDe],
|
|
436
|
+
[1, () => exports.VectorData$, 0, 0, 0, 15, 2, 2], 2
|
|
437
|
+
];
|
|
438
|
+
exports.QueryVectorsOutput$ = [3, n0, _QVO,
|
|
439
|
+
0,
|
|
440
|
+
[_v, _dM],
|
|
441
|
+
[() => QueryVectorsOutputList, 0], 2
|
|
442
|
+
];
|
|
443
|
+
exports.TagResourceInput$ = [3, n0, _TRI,
|
|
444
|
+
0,
|
|
445
|
+
[_rA, _t],
|
|
446
|
+
[[0, 1], 128 | 0], 2
|
|
447
|
+
];
|
|
448
|
+
exports.TagResourceOutput$ = [3, n0, _TRO,
|
|
449
|
+
0,
|
|
450
|
+
[],
|
|
451
|
+
[]
|
|
452
|
+
];
|
|
453
|
+
exports.UntagResourceInput$ = [3, n0, _URI,
|
|
454
|
+
0,
|
|
455
|
+
[_rA, _tKa],
|
|
456
|
+
[[0, 1], [64 | 0, { [_hQ]: _tKa }]], 2
|
|
457
|
+
];
|
|
458
|
+
exports.UntagResourceOutput$ = [3, n0, _URO,
|
|
459
|
+
0,
|
|
460
|
+
[],
|
|
461
|
+
[]
|
|
462
|
+
];
|
|
463
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
464
|
+
0,
|
|
465
|
+
[_pa, _m],
|
|
466
|
+
[0, 0], 2
|
|
467
|
+
];
|
|
468
|
+
exports.VectorBucket$ = [3, n0, _VB,
|
|
469
|
+
0,
|
|
470
|
+
[_vBN, _vBA, _cT, _eC],
|
|
471
|
+
[0, 0, 4, () => exports.EncryptionConfiguration$], 3
|
|
472
|
+
];
|
|
473
|
+
exports.VectorBucketSummary$ = [3, n0, _VBS,
|
|
474
|
+
0,
|
|
475
|
+
[_vBN, _vBA, _cT],
|
|
476
|
+
[0, 0, 4], 3
|
|
477
|
+
];
|
|
478
|
+
var DeleteVectorsInputList = 64 | 0;
|
|
479
|
+
var Float32VectorData = 64 | 1;
|
|
480
|
+
var GetVectorsInputList = 64 | 0;
|
|
481
|
+
var GetVectorsOutputList = [1, n0, _GVOL,
|
|
482
|
+
0, () => exports.GetOutputVector$
|
|
483
|
+
];
|
|
484
|
+
var ListIndexesOutputList = [1, n0, _LIOL,
|
|
485
|
+
0, () => exports.IndexSummary$
|
|
486
|
+
];
|
|
487
|
+
var ListVectorBucketsOutputList = [1, n0, _LVBOL,
|
|
488
|
+
0, () => exports.VectorBucketSummary$
|
|
489
|
+
];
|
|
490
|
+
var ListVectorsOutputList = [1, n0, _LVOL,
|
|
491
|
+
0, () => exports.ListOutputVector$
|
|
492
|
+
];
|
|
493
|
+
var NonFilterableMetadataKeys = 64 | 0;
|
|
494
|
+
var PutVectorsInputList = [1, n0, _PVIL,
|
|
495
|
+
0, () => exports.PutInputVector$
|
|
496
|
+
];
|
|
497
|
+
var QueryVectorsOutputList = [1, n0, _QVOL,
|
|
498
|
+
0, () => exports.QueryOutputVector$
|
|
499
|
+
];
|
|
500
|
+
var TagKeyList = 64 | 0;
|
|
501
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
502
|
+
0, () => exports.ValidationExceptionField$
|
|
503
|
+
];
|
|
504
|
+
var TagsMap = 128 | 0;
|
|
505
|
+
exports.VectorData$ = [4, n0, _VD,
|
|
506
|
+
0,
|
|
507
|
+
[_fl],
|
|
508
|
+
[64 | 1]
|
|
509
|
+
];
|
|
510
|
+
exports.CreateIndex$ = [9, n0, _CI,
|
|
511
|
+
{ [_h]: ["POST", "/CreateIndex", 200] }, () => exports.CreateIndexInput$, () => exports.CreateIndexOutput$
|
|
512
|
+
];
|
|
513
|
+
exports.CreateVectorBucket$ = [9, n0, _CVB,
|
|
514
|
+
{ [_h]: ["POST", "/CreateVectorBucket", 200] }, () => exports.CreateVectorBucketInput$, () => exports.CreateVectorBucketOutput$
|
|
515
|
+
];
|
|
516
|
+
exports.DeleteIndex$ = [9, n0, _DI,
|
|
517
|
+
{ [_h]: ["POST", "/DeleteIndex", 200] }, () => exports.DeleteIndexInput$, () => exports.DeleteIndexOutput$
|
|
518
|
+
];
|
|
519
|
+
exports.DeleteVectorBucket$ = [9, n0, _DVB,
|
|
520
|
+
{ [_h]: ["POST", "/DeleteVectorBucket", 200] }, () => exports.DeleteVectorBucketInput$, () => exports.DeleteVectorBucketOutput$
|
|
521
|
+
];
|
|
522
|
+
exports.DeleteVectorBucketPolicy$ = [9, n0, _DVBP,
|
|
523
|
+
{ [_h]: ["POST", "/DeleteVectorBucketPolicy", 200] }, () => exports.DeleteVectorBucketPolicyInput$, () => exports.DeleteVectorBucketPolicyOutput$
|
|
524
|
+
];
|
|
525
|
+
exports.DeleteVectors$ = [9, n0, _DV,
|
|
526
|
+
{ [_h]: ["POST", "/DeleteVectors", 200] }, () => exports.DeleteVectorsInput$, () => exports.DeleteVectorsOutput$
|
|
527
|
+
];
|
|
528
|
+
exports.GetIndex$ = [9, n0, _GI,
|
|
529
|
+
{ [_h]: ["POST", "/GetIndex", 200] }, () => exports.GetIndexInput$, () => exports.GetIndexOutput$
|
|
530
|
+
];
|
|
531
|
+
exports.GetVectorBucket$ = [9, n0, _GVB,
|
|
532
|
+
{ [_h]: ["POST", "/GetVectorBucket", 200] }, () => exports.GetVectorBucketInput$, () => exports.GetVectorBucketOutput$
|
|
533
|
+
];
|
|
534
|
+
exports.GetVectorBucketPolicy$ = [9, n0, _GVBP,
|
|
535
|
+
{ [_h]: ["POST", "/GetVectorBucketPolicy", 200] }, () => exports.GetVectorBucketPolicyInput$, () => exports.GetVectorBucketPolicyOutput$
|
|
536
|
+
];
|
|
537
|
+
exports.GetVectors$ = [9, n0, _GV,
|
|
538
|
+
{ [_h]: ["POST", "/GetVectors", 200] }, () => exports.GetVectorsInput$, () => exports.GetVectorsOutput$
|
|
539
|
+
];
|
|
540
|
+
exports.ListIndexes$ = [9, n0, _LI,
|
|
541
|
+
{ [_h]: ["POST", "/ListIndexes", 200] }, () => exports.ListIndexesInput$, () => exports.ListIndexesOutput$
|
|
542
|
+
];
|
|
543
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
544
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceOutput$
|
|
545
|
+
];
|
|
546
|
+
exports.ListVectorBuckets$ = [9, n0, _LVB,
|
|
547
|
+
{ [_h]: ["POST", "/ListVectorBuckets", 200] }, () => exports.ListVectorBucketsInput$, () => exports.ListVectorBucketsOutput$
|
|
548
|
+
];
|
|
549
|
+
exports.ListVectors$ = [9, n0, _LV,
|
|
550
|
+
{ [_h]: ["POST", "/ListVectors", 200] }, () => exports.ListVectorsInput$, () => exports.ListVectorsOutput$
|
|
551
|
+
];
|
|
552
|
+
exports.PutVectorBucketPolicy$ = [9, n0, _PVBP,
|
|
553
|
+
{ [_h]: ["POST", "/PutVectorBucketPolicy", 200] }, () => exports.PutVectorBucketPolicyInput$, () => exports.PutVectorBucketPolicyOutput$
|
|
554
|
+
];
|
|
555
|
+
exports.PutVectors$ = [9, n0, _PV,
|
|
556
|
+
{ [_h]: ["POST", "/PutVectors", 200] }, () => exports.PutVectorsInput$, () => exports.PutVectorsOutput$
|
|
557
|
+
];
|
|
558
|
+
exports.QueryVectors$ = [9, n0, _QV,
|
|
559
|
+
{ [_h]: ["POST", "/QueryVectors", 200] }, () => exports.QueryVectorsInput$, () => exports.QueryVectorsOutput$
|
|
560
|
+
];
|
|
561
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
562
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceInput$, () => exports.TagResourceOutput$
|
|
563
|
+
];
|
|
564
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
565
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceInput$, () => exports.UntagResourceOutput$
|
|
566
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultS3VectorsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2025-07-15",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.s3vectors",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2025-07-15",
|
|
30
32
|
serviceTarget: "S3Vectors",
|
|
31
33
|
},
|