@aws-sdk/client-s3vectors 3.927.0 → 3.929.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 +640 -998
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/S3VectorsClient.js +2 -0
- package/dist-es/commands/CreateIndexCommand.js +3 -9
- package/dist-es/commands/CreateVectorBucketCommand.js +3 -9
- package/dist-es/commands/DeleteIndexCommand.js +3 -9
- package/dist-es/commands/DeleteVectorBucketCommand.js +3 -9
- package/dist-es/commands/DeleteVectorBucketPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteVectorsCommand.js +3 -9
- package/dist-es/commands/GetIndexCommand.js +3 -9
- package/dist-es/commands/GetVectorBucketCommand.js +3 -9
- package/dist-es/commands/GetVectorBucketPolicyCommand.js +3 -9
- package/dist-es/commands/GetVectorsCommand.js +3 -9
- package/dist-es/commands/ListIndexesCommand.js +3 -9
- package/dist-es/commands/ListVectorBucketsCommand.js +3 -9
- package/dist-es/commands/ListVectorsCommand.js +3 -9
- package/dist-es/commands/PutVectorBucketPolicyCommand.js +3 -9
- package/dist-es/commands/PutVectorsCommand.js +3 -9
- package/dist-es/commands/QueryVectorsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +572 -0
- package/dist-types/S3VectorsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +87 -0
- package/dist-types/ts3.4/S3VectorsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -0
- package/package.json +8 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -848
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _CE = "ConflictException";
|
|
3
|
+
const _CI = "CreateIndex";
|
|
4
|
+
const _CII = "CreateIndexInput";
|
|
5
|
+
const _CIO = "CreateIndexOutput";
|
|
6
|
+
const _CVB = "CreateVectorBucket";
|
|
7
|
+
const _CVBI = "CreateVectorBucketInput";
|
|
8
|
+
const _CVBO = "CreateVectorBucketOutput";
|
|
9
|
+
const _DI = "DeleteIndex";
|
|
10
|
+
const _DII = "DeleteIndexInput";
|
|
11
|
+
const _DIO = "DeleteIndexOutput";
|
|
12
|
+
const _DV = "DeleteVectors";
|
|
13
|
+
const _DVB = "DeleteVectorBucket";
|
|
14
|
+
const _DVBI = "DeleteVectorBucketInput";
|
|
15
|
+
const _DVBO = "DeleteVectorBucketOutput";
|
|
16
|
+
const _DVBP = "DeleteVectorBucketPolicy";
|
|
17
|
+
const _DVBPI = "DeleteVectorBucketPolicyInput";
|
|
18
|
+
const _DVBPO = "DeleteVectorBucketPolicyOutput";
|
|
19
|
+
const _DVI = "DeleteVectorsInput";
|
|
20
|
+
const _DVO = "DeleteVectorsOutput";
|
|
21
|
+
const _EC = "EncryptionConfiguration";
|
|
22
|
+
const _GI = "GetIndex";
|
|
23
|
+
const _GII = "GetIndexInput";
|
|
24
|
+
const _GIO = "GetIndexOutput";
|
|
25
|
+
const _GOV = "GetOutputVector";
|
|
26
|
+
const _GV = "GetVectors";
|
|
27
|
+
const _GVB = "GetVectorBucket";
|
|
28
|
+
const _GVBI = "GetVectorBucketInput";
|
|
29
|
+
const _GVBO = "GetVectorBucketOutput";
|
|
30
|
+
const _GVBP = "GetVectorBucketPolicy";
|
|
31
|
+
const _GVBPI = "GetVectorBucketPolicyInput";
|
|
32
|
+
const _GVBPO = "GetVectorBucketPolicyOutput";
|
|
33
|
+
const _GVI = "GetVectorsInput";
|
|
34
|
+
const _GVO = "GetVectorsOutput";
|
|
35
|
+
const _GVOL = "GetVectorsOutputList";
|
|
36
|
+
const _I = "Index";
|
|
37
|
+
const _IS = "IndexSummary";
|
|
38
|
+
const _ISE = "InternalServerException";
|
|
39
|
+
const _KDE = "KmsDisabledException";
|
|
40
|
+
const _KIKUE = "KmsInvalidKeyUsageException";
|
|
41
|
+
const _KISE = "KmsInvalidStateException";
|
|
42
|
+
const _KNFE = "KmsNotFoundException";
|
|
43
|
+
const _LI = "ListIndexes";
|
|
44
|
+
const _LII = "ListIndexesInput";
|
|
45
|
+
const _LIO = "ListIndexesOutput";
|
|
46
|
+
const _LIOL = "ListIndexesOutputList";
|
|
47
|
+
const _LOV = "ListOutputVector";
|
|
48
|
+
const _LV = "ListVectors";
|
|
49
|
+
const _LVB = "ListVectorBuckets";
|
|
50
|
+
const _LVBI = "ListVectorBucketsInput";
|
|
51
|
+
const _LVBO = "ListVectorBucketsOutput";
|
|
52
|
+
const _LVBOL = "ListVectorBucketsOutputList";
|
|
53
|
+
const _LVI = "ListVectorsInput";
|
|
54
|
+
const _LVO = "ListVectorsOutput";
|
|
55
|
+
const _LVOL = "ListVectorsOutputList";
|
|
56
|
+
const _MC = "MetadataConfiguration";
|
|
57
|
+
const _NFE = "NotFoundException";
|
|
58
|
+
const _PIV = "PutInputVector";
|
|
59
|
+
const _PV = "PutVectors";
|
|
60
|
+
const _PVBP = "PutVectorBucketPolicy";
|
|
61
|
+
const _PVBPI = "PutVectorBucketPolicyInput";
|
|
62
|
+
const _PVBPO = "PutVectorBucketPolicyOutput";
|
|
63
|
+
const _PVI = "PutVectorsInput";
|
|
64
|
+
const _PVIL = "PutVectorsInputList";
|
|
65
|
+
const _PVO = "PutVectorsOutput";
|
|
66
|
+
const _QOV = "QueryOutputVector";
|
|
67
|
+
const _QV = "QueryVectors";
|
|
68
|
+
const _QVI = "QueryVectorsInput";
|
|
69
|
+
const _QVO = "QueryVectorsOutput";
|
|
70
|
+
const _QVOL = "QueryVectorsOutputList";
|
|
71
|
+
const _RTE = "RequestTimeoutException";
|
|
72
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
73
|
+
const _SUE = "ServiceUnavailableException";
|
|
74
|
+
const _TMRE = "TooManyRequestsException";
|
|
75
|
+
const _VB = "VectorBucket";
|
|
76
|
+
const _VBS = "VectorBucketSummary";
|
|
77
|
+
const _VD = "VectorData";
|
|
78
|
+
const _VE = "ValidationException";
|
|
79
|
+
const _VEF = "ValidationExceptionField";
|
|
80
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
81
|
+
const _c = "client";
|
|
82
|
+
const _cT = "creationTime";
|
|
83
|
+
const _d = "dimension";
|
|
84
|
+
const _dM = "distanceMetric";
|
|
85
|
+
const _dT = "dataType";
|
|
86
|
+
const _da = "data";
|
|
87
|
+
const _di = "distance";
|
|
88
|
+
const _e = "error";
|
|
89
|
+
const _eC = "encryptionConfiguration";
|
|
90
|
+
const _f = "filter";
|
|
91
|
+
const _fL = "fieldList";
|
|
92
|
+
const _fl = "float32";
|
|
93
|
+
const _h = "http";
|
|
94
|
+
const _hE = "httpError";
|
|
95
|
+
const _i = "index";
|
|
96
|
+
const _iA = "indexArn";
|
|
97
|
+
const _iN = "indexName";
|
|
98
|
+
const _in = "indexes";
|
|
99
|
+
const _k = "keys";
|
|
100
|
+
const _kKA = "kmsKeyArn";
|
|
101
|
+
const _ke = "key";
|
|
102
|
+
const _m = "message";
|
|
103
|
+
const _mC = "metadataConfiguration";
|
|
104
|
+
const _mR = "maxResults";
|
|
105
|
+
const _me = "metadata";
|
|
106
|
+
const _nFMK = "nonFilterableMetadataKeys";
|
|
107
|
+
const _nT = "nextToken";
|
|
108
|
+
const _p = "policy";
|
|
109
|
+
const _pa = "path";
|
|
110
|
+
const _pr = "prefix";
|
|
111
|
+
const _qV = "queryVector";
|
|
112
|
+
const _rD = "returnData";
|
|
113
|
+
const _rDe = "returnDistance";
|
|
114
|
+
const _rM = "returnMetadata";
|
|
115
|
+
const _s = "server";
|
|
116
|
+
const _sC = "segmentCount";
|
|
117
|
+
const _sI = "segmentIndex";
|
|
118
|
+
const _sT = "sseType";
|
|
119
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
|
|
120
|
+
const _tK = "topK";
|
|
121
|
+
const _v = "vectors";
|
|
122
|
+
const _vB = "vectorBucket";
|
|
123
|
+
const _vBA = "vectorBucketArn";
|
|
124
|
+
const _vBN = "vectorBucketName";
|
|
125
|
+
const _vBe = "vectorBuckets";
|
|
126
|
+
const n0 = "com.amazonaws.s3vectors";
|
|
127
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
128
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, KmsDisabledException as __KmsDisabledException, KmsInvalidKeyUsageException as __KmsInvalidKeyUsageException, KmsInvalidStateException as __KmsInvalidStateException, KmsNotFoundException as __KmsNotFoundException, NotFoundException as __NotFoundException, RequestTimeoutException as __RequestTimeoutException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/index";
|
|
129
|
+
import { S3VectorsServiceException as __S3VectorsServiceException } from "../models/S3VectorsServiceException";
|
|
130
|
+
export var AccessDeniedException = [
|
|
131
|
+
-3,
|
|
132
|
+
n0,
|
|
133
|
+
_ADE,
|
|
134
|
+
{
|
|
135
|
+
[_e]: _c,
|
|
136
|
+
[_hE]: 403,
|
|
137
|
+
},
|
|
138
|
+
[_m],
|
|
139
|
+
[0],
|
|
140
|
+
];
|
|
141
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
142
|
+
export var ConflictException = [
|
|
143
|
+
-3,
|
|
144
|
+
n0,
|
|
145
|
+
_CE,
|
|
146
|
+
{
|
|
147
|
+
[_e]: _c,
|
|
148
|
+
[_hE]: 409,
|
|
149
|
+
},
|
|
150
|
+
[_m],
|
|
151
|
+
[0],
|
|
152
|
+
];
|
|
153
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
154
|
+
export var CreateIndexInput = [
|
|
155
|
+
3,
|
|
156
|
+
n0,
|
|
157
|
+
_CII,
|
|
158
|
+
0,
|
|
159
|
+
[_vBN, _vBA, _iN, _dT, _d, _dM, _mC],
|
|
160
|
+
[0, 0, 0, 0, 1, 0, () => MetadataConfiguration],
|
|
161
|
+
];
|
|
162
|
+
export var CreateIndexOutput = [3, n0, _CIO, 0, [_iA], [0]];
|
|
163
|
+
export var CreateVectorBucketInput = [
|
|
164
|
+
3,
|
|
165
|
+
n0,
|
|
166
|
+
_CVBI,
|
|
167
|
+
0,
|
|
168
|
+
[_vBN, _eC],
|
|
169
|
+
[0, () => EncryptionConfiguration],
|
|
170
|
+
];
|
|
171
|
+
export var CreateVectorBucketOutput = [3, n0, _CVBO, 0, [_vBA], [0]];
|
|
172
|
+
export var DeleteIndexInput = [3, n0, _DII, 0, [_vBN, _iN, _iA], [0, 0, 0]];
|
|
173
|
+
export var DeleteIndexOutput = [3, n0, _DIO, 0, [], []];
|
|
174
|
+
export var DeleteVectorBucketInput = [3, n0, _DVBI, 0, [_vBN, _vBA], [0, 0]];
|
|
175
|
+
export var DeleteVectorBucketOutput = [3, n0, _DVBO, 0, [], []];
|
|
176
|
+
export var DeleteVectorBucketPolicyInput = [3, n0, _DVBPI, 0, [_vBN, _vBA], [0, 0]];
|
|
177
|
+
export var DeleteVectorBucketPolicyOutput = [3, n0, _DVBPO, 0, [], []];
|
|
178
|
+
export var DeleteVectorsInput = [3, n0, _DVI, 0, [_vBN, _iN, _iA, _k], [0, 0, 0, 64 | 0]];
|
|
179
|
+
export var DeleteVectorsOutput = [3, n0, _DVO, 0, [], []];
|
|
180
|
+
export var EncryptionConfiguration = [3, n0, _EC, 0, [_sT, _kKA], [0, 0]];
|
|
181
|
+
export var GetIndexInput = [3, n0, _GII, 0, [_vBN, _iN, _iA], [0, 0, 0]];
|
|
182
|
+
export var GetIndexOutput = [3, n0, _GIO, 0, [_i], [() => Index]];
|
|
183
|
+
export var GetOutputVector = [3, n0, _GOV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
|
|
184
|
+
export var GetVectorBucketInput = [3, n0, _GVBI, 0, [_vBN, _vBA], [0, 0]];
|
|
185
|
+
export var GetVectorBucketOutput = [3, n0, _GVBO, 0, [_vB], [() => VectorBucket]];
|
|
186
|
+
export var GetVectorBucketPolicyInput = [3, n0, _GVBPI, 0, [_vBN, _vBA], [0, 0]];
|
|
187
|
+
export var GetVectorBucketPolicyOutput = [3, n0, _GVBPO, 0, [_p], [0]];
|
|
188
|
+
export var GetVectorsInput = [
|
|
189
|
+
3,
|
|
190
|
+
n0,
|
|
191
|
+
_GVI,
|
|
192
|
+
0,
|
|
193
|
+
[_vBN, _iN, _iA, _k, _rD, _rM],
|
|
194
|
+
[0, 0, 0, 64 | 0, 2, 2],
|
|
195
|
+
];
|
|
196
|
+
export var GetVectorsOutput = [3, n0, _GVO, 0, [_v], [() => GetVectorsOutputList]];
|
|
197
|
+
export var Index = [
|
|
198
|
+
3,
|
|
199
|
+
n0,
|
|
200
|
+
_I,
|
|
201
|
+
0,
|
|
202
|
+
[_vBN, _iN, _iA, _cT, _dT, _d, _dM, _mC],
|
|
203
|
+
[0, 0, 0, 4, 0, 1, 0, () => MetadataConfiguration],
|
|
204
|
+
];
|
|
205
|
+
export var IndexSummary = [3, n0, _IS, 0, [_vBN, _iN, _iA, _cT], [0, 0, 0, 4]];
|
|
206
|
+
export var InternalServerException = [
|
|
207
|
+
-3,
|
|
208
|
+
n0,
|
|
209
|
+
_ISE,
|
|
210
|
+
{
|
|
211
|
+
[_e]: _s,
|
|
212
|
+
[_hE]: 500,
|
|
213
|
+
},
|
|
214
|
+
[_m],
|
|
215
|
+
[0],
|
|
216
|
+
];
|
|
217
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
218
|
+
export var KmsDisabledException = [
|
|
219
|
+
-3,
|
|
220
|
+
n0,
|
|
221
|
+
_KDE,
|
|
222
|
+
{
|
|
223
|
+
[_e]: _c,
|
|
224
|
+
[_hE]: 400,
|
|
225
|
+
},
|
|
226
|
+
[_m],
|
|
227
|
+
[0],
|
|
228
|
+
];
|
|
229
|
+
TypeRegistry.for(n0).registerError(KmsDisabledException, __KmsDisabledException);
|
|
230
|
+
export var KmsInvalidKeyUsageException = [
|
|
231
|
+
-3,
|
|
232
|
+
n0,
|
|
233
|
+
_KIKUE,
|
|
234
|
+
{
|
|
235
|
+
[_e]: _c,
|
|
236
|
+
[_hE]: 400,
|
|
237
|
+
},
|
|
238
|
+
[_m],
|
|
239
|
+
[0],
|
|
240
|
+
];
|
|
241
|
+
TypeRegistry.for(n0).registerError(KmsInvalidKeyUsageException, __KmsInvalidKeyUsageException);
|
|
242
|
+
export var KmsInvalidStateException = [
|
|
243
|
+
-3,
|
|
244
|
+
n0,
|
|
245
|
+
_KISE,
|
|
246
|
+
{
|
|
247
|
+
[_e]: _c,
|
|
248
|
+
[_hE]: 400,
|
|
249
|
+
},
|
|
250
|
+
[_m],
|
|
251
|
+
[0],
|
|
252
|
+
];
|
|
253
|
+
TypeRegistry.for(n0).registerError(KmsInvalidStateException, __KmsInvalidStateException);
|
|
254
|
+
export var KmsNotFoundException = [
|
|
255
|
+
-3,
|
|
256
|
+
n0,
|
|
257
|
+
_KNFE,
|
|
258
|
+
{
|
|
259
|
+
[_e]: _c,
|
|
260
|
+
[_hE]: 400,
|
|
261
|
+
},
|
|
262
|
+
[_m],
|
|
263
|
+
[0],
|
|
264
|
+
];
|
|
265
|
+
TypeRegistry.for(n0).registerError(KmsNotFoundException, __KmsNotFoundException);
|
|
266
|
+
export var ListIndexesInput = [3, n0, _LII, 0, [_vBN, _vBA, _mR, _nT, _pr], [0, 0, 1, 0, 0]];
|
|
267
|
+
export var ListIndexesOutput = [3, n0, _LIO, 0, [_nT, _in], [0, () => ListIndexesOutputList]];
|
|
268
|
+
export var ListOutputVector = [3, n0, _LOV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
|
|
269
|
+
export var ListVectorBucketsInput = [3, n0, _LVBI, 0, [_mR, _nT, _pr], [1, 0, 0]];
|
|
270
|
+
export var ListVectorBucketsOutput = [
|
|
271
|
+
3,
|
|
272
|
+
n0,
|
|
273
|
+
_LVBO,
|
|
274
|
+
0,
|
|
275
|
+
[_nT, _vBe],
|
|
276
|
+
[0, () => ListVectorBucketsOutputList],
|
|
277
|
+
];
|
|
278
|
+
export var ListVectorsInput = [
|
|
279
|
+
3,
|
|
280
|
+
n0,
|
|
281
|
+
_LVI,
|
|
282
|
+
0,
|
|
283
|
+
[_vBN, _iN, _iA, _mR, _nT, _sC, _sI, _rD, _rM],
|
|
284
|
+
[0, 0, 0, 1, 0, 1, 1, 2, 2],
|
|
285
|
+
];
|
|
286
|
+
export var ListVectorsOutput = [3, n0, _LVO, 0, [_nT, _v], [0, () => ListVectorsOutputList]];
|
|
287
|
+
export var MetadataConfiguration = [3, n0, _MC, 0, [_nFMK], [64 | 0]];
|
|
288
|
+
export var NotFoundException = [
|
|
289
|
+
-3,
|
|
290
|
+
n0,
|
|
291
|
+
_NFE,
|
|
292
|
+
{
|
|
293
|
+
[_e]: _c,
|
|
294
|
+
[_hE]: 404,
|
|
295
|
+
},
|
|
296
|
+
[_m],
|
|
297
|
+
[0],
|
|
298
|
+
];
|
|
299
|
+
TypeRegistry.for(n0).registerError(NotFoundException, __NotFoundException);
|
|
300
|
+
export var PutInputVector = [3, n0, _PIV, 0, [_ke, _da, _me], [0, () => VectorData, 15]];
|
|
301
|
+
export var PutVectorBucketPolicyInput = [3, n0, _PVBPI, 0, [_vBN, _vBA, _p], [0, 0, 0]];
|
|
302
|
+
export var PutVectorBucketPolicyOutput = [3, n0, _PVBPO, 0, [], []];
|
|
303
|
+
export var PutVectorsInput = [
|
|
304
|
+
3,
|
|
305
|
+
n0,
|
|
306
|
+
_PVI,
|
|
307
|
+
0,
|
|
308
|
+
[_vBN, _iN, _iA, _v],
|
|
309
|
+
[0, 0, 0, () => PutVectorsInputList],
|
|
310
|
+
];
|
|
311
|
+
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
|
+
];
|
|
320
|
+
export var QueryVectorsInput = [
|
|
321
|
+
3,
|
|
322
|
+
n0,
|
|
323
|
+
_QVI,
|
|
324
|
+
0,
|
|
325
|
+
[_vBN, _iN, _iA, _tK, _qV, _f, _rM, _rDe],
|
|
326
|
+
[0, 0, 0, 1, () => VectorData, 15, 2, 2],
|
|
327
|
+
];
|
|
328
|
+
export var QueryVectorsOutput = [3, n0, _QVO, 0, [_v, _dM], [() => QueryVectorsOutputList, 0]];
|
|
329
|
+
export var RequestTimeoutException = [
|
|
330
|
+
-3,
|
|
331
|
+
n0,
|
|
332
|
+
_RTE,
|
|
333
|
+
{
|
|
334
|
+
[_e]: _c,
|
|
335
|
+
[_hE]: 408,
|
|
336
|
+
},
|
|
337
|
+
[_m],
|
|
338
|
+
[0],
|
|
339
|
+
];
|
|
340
|
+
TypeRegistry.for(n0).registerError(RequestTimeoutException, __RequestTimeoutException);
|
|
341
|
+
export var ServiceQuotaExceededException = [
|
|
342
|
+
-3,
|
|
343
|
+
n0,
|
|
344
|
+
_SQEE,
|
|
345
|
+
{
|
|
346
|
+
[_e]: _c,
|
|
347
|
+
[_hE]: 402,
|
|
348
|
+
},
|
|
349
|
+
[_m],
|
|
350
|
+
[0],
|
|
351
|
+
];
|
|
352
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
353
|
+
export var ServiceUnavailableException = [
|
|
354
|
+
-3,
|
|
355
|
+
n0,
|
|
356
|
+
_SUE,
|
|
357
|
+
{
|
|
358
|
+
[_e]: _s,
|
|
359
|
+
[_hE]: 503,
|
|
360
|
+
},
|
|
361
|
+
[_m],
|
|
362
|
+
[0],
|
|
363
|
+
];
|
|
364
|
+
TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
|
|
365
|
+
export var TooManyRequestsException = [
|
|
366
|
+
-3,
|
|
367
|
+
n0,
|
|
368
|
+
_TMRE,
|
|
369
|
+
{
|
|
370
|
+
[_e]: _c,
|
|
371
|
+
[_hE]: 429,
|
|
372
|
+
},
|
|
373
|
+
[_m],
|
|
374
|
+
[0],
|
|
375
|
+
];
|
|
376
|
+
TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException);
|
|
377
|
+
export var ValidationException = [
|
|
378
|
+
-3,
|
|
379
|
+
n0,
|
|
380
|
+
_VE,
|
|
381
|
+
{
|
|
382
|
+
[_e]: _c,
|
|
383
|
+
},
|
|
384
|
+
[_m, _fL],
|
|
385
|
+
[0, () => ValidationExceptionFieldList],
|
|
386
|
+
];
|
|
387
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
388
|
+
export var ValidationExceptionField = [3, n0, _VEF, 0, [_pa, _m], [0, 0]];
|
|
389
|
+
export var VectorBucket = [
|
|
390
|
+
3,
|
|
391
|
+
n0,
|
|
392
|
+
_VB,
|
|
393
|
+
0,
|
|
394
|
+
[_vBN, _vBA, _cT, _eC],
|
|
395
|
+
[0, 0, 4, () => EncryptionConfiguration],
|
|
396
|
+
];
|
|
397
|
+
export var VectorBucketSummary = [3, n0, _VBS, 0, [_vBN, _vBA, _cT], [0, 0, 4]];
|
|
398
|
+
export var __Unit = "unit";
|
|
399
|
+
export var S3VectorsServiceException = [-3, _sm, "S3VectorsServiceException", 0, [], []];
|
|
400
|
+
TypeRegistry.for(_sm).registerError(S3VectorsServiceException, __S3VectorsServiceException);
|
|
401
|
+
export var DeleteVectorsInputList = 64 | 0;
|
|
402
|
+
export var Float32VectorData = 64 | 1;
|
|
403
|
+
export var GetVectorsInputList = 64 | 0;
|
|
404
|
+
export var GetVectorsOutputList = [1, n0, _GVOL, 0, () => GetOutputVector];
|
|
405
|
+
export var ListIndexesOutputList = [1, n0, _LIOL, 0, () => IndexSummary];
|
|
406
|
+
export var ListVectorBucketsOutputList = [1, n0, _LVBOL, 0, () => VectorBucketSummary];
|
|
407
|
+
export var ListVectorsOutputList = [1, n0, _LVOL, 0, () => ListOutputVector];
|
|
408
|
+
export var NonFilterableMetadataKeys = 64 | 0;
|
|
409
|
+
export var PutVectorsInputList = [1, n0, _PVIL, 0, () => PutInputVector];
|
|
410
|
+
export var QueryVectorsOutputList = [1, n0, _QVOL, 0, () => QueryOutputVector];
|
|
411
|
+
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
412
|
+
export var VectorData = [3, n0, _VD, 0, [_fl], [64 | 1]];
|
|
413
|
+
export var CreateIndex = [
|
|
414
|
+
9,
|
|
415
|
+
n0,
|
|
416
|
+
_CI,
|
|
417
|
+
{
|
|
418
|
+
[_h]: ["POST", "/CreateIndex", 200],
|
|
419
|
+
},
|
|
420
|
+
() => CreateIndexInput,
|
|
421
|
+
() => CreateIndexOutput,
|
|
422
|
+
];
|
|
423
|
+
export var CreateVectorBucket = [
|
|
424
|
+
9,
|
|
425
|
+
n0,
|
|
426
|
+
_CVB,
|
|
427
|
+
{
|
|
428
|
+
[_h]: ["POST", "/CreateVectorBucket", 200],
|
|
429
|
+
},
|
|
430
|
+
() => CreateVectorBucketInput,
|
|
431
|
+
() => CreateVectorBucketOutput,
|
|
432
|
+
];
|
|
433
|
+
export var DeleteIndex = [
|
|
434
|
+
9,
|
|
435
|
+
n0,
|
|
436
|
+
_DI,
|
|
437
|
+
{
|
|
438
|
+
[_h]: ["POST", "/DeleteIndex", 200],
|
|
439
|
+
},
|
|
440
|
+
() => DeleteIndexInput,
|
|
441
|
+
() => DeleteIndexOutput,
|
|
442
|
+
];
|
|
443
|
+
export var DeleteVectorBucket = [
|
|
444
|
+
9,
|
|
445
|
+
n0,
|
|
446
|
+
_DVB,
|
|
447
|
+
{
|
|
448
|
+
[_h]: ["POST", "/DeleteVectorBucket", 200],
|
|
449
|
+
},
|
|
450
|
+
() => DeleteVectorBucketInput,
|
|
451
|
+
() => DeleteVectorBucketOutput,
|
|
452
|
+
];
|
|
453
|
+
export var DeleteVectorBucketPolicy = [
|
|
454
|
+
9,
|
|
455
|
+
n0,
|
|
456
|
+
_DVBP,
|
|
457
|
+
{
|
|
458
|
+
[_h]: ["POST", "/DeleteVectorBucketPolicy", 200],
|
|
459
|
+
},
|
|
460
|
+
() => DeleteVectorBucketPolicyInput,
|
|
461
|
+
() => DeleteVectorBucketPolicyOutput,
|
|
462
|
+
];
|
|
463
|
+
export var DeleteVectors = [
|
|
464
|
+
9,
|
|
465
|
+
n0,
|
|
466
|
+
_DV,
|
|
467
|
+
{
|
|
468
|
+
[_h]: ["POST", "/DeleteVectors", 200],
|
|
469
|
+
},
|
|
470
|
+
() => DeleteVectorsInput,
|
|
471
|
+
() => DeleteVectorsOutput,
|
|
472
|
+
];
|
|
473
|
+
export var GetIndex = [
|
|
474
|
+
9,
|
|
475
|
+
n0,
|
|
476
|
+
_GI,
|
|
477
|
+
{
|
|
478
|
+
[_h]: ["POST", "/GetIndex", 200],
|
|
479
|
+
},
|
|
480
|
+
() => GetIndexInput,
|
|
481
|
+
() => GetIndexOutput,
|
|
482
|
+
];
|
|
483
|
+
export var GetVectorBucket = [
|
|
484
|
+
9,
|
|
485
|
+
n0,
|
|
486
|
+
_GVB,
|
|
487
|
+
{
|
|
488
|
+
[_h]: ["POST", "/GetVectorBucket", 200],
|
|
489
|
+
},
|
|
490
|
+
() => GetVectorBucketInput,
|
|
491
|
+
() => GetVectorBucketOutput,
|
|
492
|
+
];
|
|
493
|
+
export var GetVectorBucketPolicy = [
|
|
494
|
+
9,
|
|
495
|
+
n0,
|
|
496
|
+
_GVBP,
|
|
497
|
+
{
|
|
498
|
+
[_h]: ["POST", "/GetVectorBucketPolicy", 200],
|
|
499
|
+
},
|
|
500
|
+
() => GetVectorBucketPolicyInput,
|
|
501
|
+
() => GetVectorBucketPolicyOutput,
|
|
502
|
+
];
|
|
503
|
+
export var GetVectors = [
|
|
504
|
+
9,
|
|
505
|
+
n0,
|
|
506
|
+
_GV,
|
|
507
|
+
{
|
|
508
|
+
[_h]: ["POST", "/GetVectors", 200],
|
|
509
|
+
},
|
|
510
|
+
() => GetVectorsInput,
|
|
511
|
+
() => GetVectorsOutput,
|
|
512
|
+
];
|
|
513
|
+
export var ListIndexes = [
|
|
514
|
+
9,
|
|
515
|
+
n0,
|
|
516
|
+
_LI,
|
|
517
|
+
{
|
|
518
|
+
[_h]: ["POST", "/ListIndexes", 200],
|
|
519
|
+
},
|
|
520
|
+
() => ListIndexesInput,
|
|
521
|
+
() => ListIndexesOutput,
|
|
522
|
+
];
|
|
523
|
+
export var ListVectorBuckets = [
|
|
524
|
+
9,
|
|
525
|
+
n0,
|
|
526
|
+
_LVB,
|
|
527
|
+
{
|
|
528
|
+
[_h]: ["POST", "/ListVectorBuckets", 200],
|
|
529
|
+
},
|
|
530
|
+
() => ListVectorBucketsInput,
|
|
531
|
+
() => ListVectorBucketsOutput,
|
|
532
|
+
];
|
|
533
|
+
export var ListVectors = [
|
|
534
|
+
9,
|
|
535
|
+
n0,
|
|
536
|
+
_LV,
|
|
537
|
+
{
|
|
538
|
+
[_h]: ["POST", "/ListVectors", 200],
|
|
539
|
+
},
|
|
540
|
+
() => ListVectorsInput,
|
|
541
|
+
() => ListVectorsOutput,
|
|
542
|
+
];
|
|
543
|
+
export var PutVectorBucketPolicy = [
|
|
544
|
+
9,
|
|
545
|
+
n0,
|
|
546
|
+
_PVBP,
|
|
547
|
+
{
|
|
548
|
+
[_h]: ["POST", "/PutVectorBucketPolicy", 200],
|
|
549
|
+
},
|
|
550
|
+
() => PutVectorBucketPolicyInput,
|
|
551
|
+
() => PutVectorBucketPolicyOutput,
|
|
552
|
+
];
|
|
553
|
+
export var PutVectors = [
|
|
554
|
+
9,
|
|
555
|
+
n0,
|
|
556
|
+
_PV,
|
|
557
|
+
{
|
|
558
|
+
[_h]: ["POST", "/PutVectors", 200],
|
|
559
|
+
},
|
|
560
|
+
() => PutVectorsInput,
|
|
561
|
+
() => PutVectorsOutput,
|
|
562
|
+
];
|
|
563
|
+
export var QueryVectors = [
|
|
564
|
+
9,
|
|
565
|
+
n0,
|
|
566
|
+
_QV,
|
|
567
|
+
{
|
|
568
|
+
[_h]: ["POST", "/QueryVectors", 200],
|
|
569
|
+
},
|
|
570
|
+
() => QueryVectorsInput,
|
|
571
|
+
() => QueryVectorsOutput,
|
|
572
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
11
11
|
import { CreateVectorBucketCommandInput, CreateVectorBucketCommandOutput } from "./commands/CreateVectorBucketCommand";
|
|
@@ -157,6 +157,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
157
157
|
* Optional extensions
|
|
158
158
|
*/
|
|
159
159
|
extensions?: RuntimeExtension[];
|
|
160
|
+
/**
|
|
161
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
162
|
+
* may be overridden. A default will always be set by the client.
|
|
163
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
164
|
+
* the client.
|
|
165
|
+
* @alpha
|
|
166
|
+
*
|
|
167
|
+
*/
|
|
168
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
160
169
|
/**
|
|
161
170
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
162
171
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: S3VectorsClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: S3VectorsClientConfig) => {
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: S3VectorsClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: S3VectorsClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3VectorsHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|