@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.
@@ -123,11 +123,11 @@ const _rA = "resourceArn";
123
123
  const _rD = "returnData";
124
124
  const _rDe = "returnDistance";
125
125
  const _rM = "returnMetadata";
126
- const _s = "server";
126
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
127
127
  const _sC = "segmentCount";
128
128
  const _sI = "segmentIndex";
129
129
  const _sT = "sseType";
130
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3vectors";
130
+ const _se = "server";
131
131
  const _t = "tags";
132
132
  const _tK = "topK";
133
133
  const _tKa = "tagKeys";
@@ -140,18 +140,92 @@ const n0 = "com.amazonaws.s3vectors";
140
140
  import { TypeRegistry } from "@smithy/core/schema";
141
141
  import { AccessDeniedException, ConflictException, InternalServerException, KmsDisabledException, KmsInvalidKeyUsageException, KmsInvalidStateException, KmsNotFoundException, NotFoundException, RequestTimeoutException, ServiceQuotaExceededException, ServiceUnavailableException, TooManyRequestsException, ValidationException, } from "../models/errors";
142
142
  import { S3VectorsServiceException } from "../models/S3VectorsServiceException";
143
+ const _s_registry = TypeRegistry.for(_s);
144
+ export var S3VectorsServiceException$ = [-3, _s, "S3VectorsServiceException", 0, [], []];
145
+ _s_registry.registerError(S3VectorsServiceException$, S3VectorsServiceException);
146
+ const n0_registry = TypeRegistry.for(n0);
143
147
  export var AccessDeniedException$ = [-3, n0, _ADE,
144
148
  { [_e]: _c, [_hE]: 403 },
145
149
  [_m],
146
150
  [0], 1
147
151
  ];
148
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
152
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
149
153
  export var ConflictException$ = [-3, n0, _CE,
150
154
  { [_e]: _c, [_hE]: 409 },
151
155
  [_m],
152
156
  [0], 1
153
157
  ];
154
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
158
+ n0_registry.registerError(ConflictException$, ConflictException);
159
+ export var InternalServerException$ = [-3, n0, _ISE,
160
+ { [_e]: _se, [_hE]: 500 },
161
+ [_m],
162
+ [0], 1
163
+ ];
164
+ n0_registry.registerError(InternalServerException$, InternalServerException);
165
+ export var KmsDisabledException$ = [-3, n0, _KDE,
166
+ { [_e]: _c, [_hE]: 400 },
167
+ [_m],
168
+ [0], 1
169
+ ];
170
+ n0_registry.registerError(KmsDisabledException$, KmsDisabledException);
171
+ export var KmsInvalidKeyUsageException$ = [-3, n0, _KIKUE,
172
+ { [_e]: _c, [_hE]: 400 },
173
+ [_m],
174
+ [0], 1
175
+ ];
176
+ n0_registry.registerError(KmsInvalidKeyUsageException$, KmsInvalidKeyUsageException);
177
+ export var KmsInvalidStateException$ = [-3, n0, _KISE,
178
+ { [_e]: _c, [_hE]: 400 },
179
+ [_m],
180
+ [0], 1
181
+ ];
182
+ n0_registry.registerError(KmsInvalidStateException$, KmsInvalidStateException);
183
+ export var KmsNotFoundException$ = [-3, n0, _KNFE,
184
+ { [_e]: _c, [_hE]: 400 },
185
+ [_m],
186
+ [0], 1
187
+ ];
188
+ n0_registry.registerError(KmsNotFoundException$, KmsNotFoundException);
189
+ export var NotFoundException$ = [-3, n0, _NFE,
190
+ { [_e]: _c, [_hE]: 404 },
191
+ [_m],
192
+ [0], 1
193
+ ];
194
+ n0_registry.registerError(NotFoundException$, NotFoundException);
195
+ export var RequestTimeoutException$ = [-3, n0, _RTE,
196
+ { [_e]: _c, [_hE]: 408 },
197
+ [_m],
198
+ [0], 1
199
+ ];
200
+ n0_registry.registerError(RequestTimeoutException$, RequestTimeoutException);
201
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
202
+ { [_e]: _c, [_hE]: 402 },
203
+ [_m],
204
+ [0], 1
205
+ ];
206
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
207
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
208
+ { [_e]: _se, [_hE]: 503 },
209
+ [_m],
210
+ [0], 1
211
+ ];
212
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
213
+ export var TooManyRequestsException$ = [-3, n0, _TMRE,
214
+ { [_e]: _c, [_hE]: 429 },
215
+ [_m],
216
+ [0], 1
217
+ ];
218
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
219
+ export var ValidationException$ = [-3, n0, _VE,
220
+ { [_e]: _c },
221
+ [_m, _fL],
222
+ [0, () => ValidationExceptionFieldList], 1
223
+ ];
224
+ n0_registry.registerError(ValidationException$, ValidationException);
225
+ export const errorTypeRegistries = [
226
+ _s_registry,
227
+ n0_registry,
228
+ ];
155
229
  export var CreateIndexInput$ = [3, n0, _CII,
156
230
  0,
157
231
  [_iN, _dT, _d, _dM, _vBN, _vBA, _mC, _eC, _t],
@@ -272,36 +346,6 @@ export var IndexSummary$ = [3, n0, _IS,
272
346
  [_vBN, _iN, _iA, _cT],
273
347
  [0, 0, 0, 4], 4
274
348
  ];
275
- export var InternalServerException$ = [-3, n0, _ISE,
276
- { [_e]: _s, [_hE]: 500 },
277
- [_m],
278
- [0], 1
279
- ];
280
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
281
- export var KmsDisabledException$ = [-3, n0, _KDE,
282
- { [_e]: _c, [_hE]: 400 },
283
- [_m],
284
- [0], 1
285
- ];
286
- TypeRegistry.for(n0).registerError(KmsDisabledException$, KmsDisabledException);
287
- export var KmsInvalidKeyUsageException$ = [-3, n0, _KIKUE,
288
- { [_e]: _c, [_hE]: 400 },
289
- [_m],
290
- [0], 1
291
- ];
292
- TypeRegistry.for(n0).registerError(KmsInvalidKeyUsageException$, KmsInvalidKeyUsageException);
293
- export var KmsInvalidStateException$ = [-3, n0, _KISE,
294
- { [_e]: _c, [_hE]: 400 },
295
- [_m],
296
- [0], 1
297
- ];
298
- TypeRegistry.for(n0).registerError(KmsInvalidStateException$, KmsInvalidStateException);
299
- export var KmsNotFoundException$ = [-3, n0, _KNFE,
300
- { [_e]: _c, [_hE]: 400 },
301
- [_m],
302
- [0], 1
303
- ];
304
- TypeRegistry.for(n0).registerError(KmsNotFoundException$, KmsNotFoundException);
305
349
  export var ListIndexesInput$ = [3, n0, _LII,
306
350
  0,
307
351
  [_vBN, _vBA, _mR, _nT, _pr],
@@ -352,12 +396,6 @@ export var MetadataConfiguration$ = [3, n0, _MC,
352
396
  [_nFMK],
353
397
  [64 | 0], 1
354
398
  ];
355
- export var NotFoundException$ = [-3, n0, _NFE,
356
- { [_e]: _c, [_hE]: 404 },
357
- [_m],
358
- [0], 1
359
- ];
360
- TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
361
399
  export var PutInputVector$ = [3, n0, _PIV,
362
400
  0,
363
401
  [_ke, _da, _me],
@@ -398,24 +436,6 @@ export var QueryVectorsOutput$ = [3, n0, _QVO,
398
436
  [_v, _dM],
399
437
  [() => QueryVectorsOutputList, 0], 2
400
438
  ];
401
- export var RequestTimeoutException$ = [-3, n0, _RTE,
402
- { [_e]: _c, [_hE]: 408 },
403
- [_m],
404
- [0], 1
405
- ];
406
- TypeRegistry.for(n0).registerError(RequestTimeoutException$, RequestTimeoutException);
407
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
408
- { [_e]: _c, [_hE]: 402 },
409
- [_m],
410
- [0], 1
411
- ];
412
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
413
- export var ServiceUnavailableException$ = [-3, n0, _SUE,
414
- { [_e]: _s, [_hE]: 503 },
415
- [_m],
416
- [0], 1
417
- ];
418
- TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
419
439
  export var TagResourceInput$ = [3, n0, _TRI,
420
440
  0,
421
441
  [_rA, _t],
@@ -426,12 +446,6 @@ export var TagResourceOutput$ = [3, n0, _TRO,
426
446
  [],
427
447
  []
428
448
  ];
429
- export var TooManyRequestsException$ = [-3, n0, _TMRE,
430
- { [_e]: _c, [_hE]: 429 },
431
- [_m],
432
- [0], 1
433
- ];
434
- TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
435
449
  export var UntagResourceInput$ = [3, n0, _URI,
436
450
  0,
437
451
  [_rA, _tKa],
@@ -442,12 +456,6 @@ export var UntagResourceOutput$ = [3, n0, _URO,
442
456
  [],
443
457
  []
444
458
  ];
445
- export var ValidationException$ = [-3, n0, _VE,
446
- { [_e]: _c },
447
- [_m, _fL],
448
- [0, () => ValidationExceptionFieldList], 1
449
- ];
450
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
451
459
  export var ValidationExceptionField$ = [3, n0, _VEF,
452
460
  0,
453
461
  [_pa, _m],
@@ -463,8 +471,6 @@ export var VectorBucketSummary$ = [3, n0, _VBS,
463
471
  [_vBN, _vBA, _cT],
464
472
  [0, 0, 4], 3
465
473
  ];
466
- export var S3VectorsServiceException$ = [-3, _sm, "S3VectorsServiceException", 0, [], []];
467
- TypeRegistry.for(_sm).registerError(S3VectorsServiceException$, S3VectorsServiceException);
468
474
  var DeleteVectorsInputList = 64 | 0;
469
475
  var Float32VectorData = 64 | 1;
470
476
  var GetVectorsInputList = 64 | 0;
@@ -1,6 +1,25 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var S3VectorsServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
3
5
  export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var KmsDisabledException$: StaticErrorSchema;
8
+ export declare var KmsInvalidKeyUsageException$: StaticErrorSchema;
9
+ export declare var KmsInvalidStateException$: StaticErrorSchema;
10
+ export declare var KmsNotFoundException$: StaticErrorSchema;
11
+ export declare var NotFoundException$: StaticErrorSchema;
12
+ export declare var RequestTimeoutException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
15
+ export declare var TooManyRequestsException$: StaticErrorSchema;
16
+ export declare var ValidationException$: StaticErrorSchema;
17
+ /**
18
+ * TypeRegistry instances containing modeled errors.
19
+ * @internal
20
+ *
21
+ */
22
+ export declare const errorTypeRegistries: TypeRegistry[];
4
23
  export declare var CreateIndexInput$: StaticStructureSchema;
5
24
  export declare var CreateIndexOutput$: StaticStructureSchema;
6
25
  export declare var CreateVectorBucketInput$: StaticStructureSchema;
@@ -25,11 +44,6 @@ export declare var GetVectorsInput$: StaticStructureSchema;
25
44
  export declare var GetVectorsOutput$: StaticStructureSchema;
26
45
  export declare var Index$: StaticStructureSchema;
27
46
  export declare var IndexSummary$: StaticStructureSchema;
28
- export declare var InternalServerException$: StaticErrorSchema;
29
- export declare var KmsDisabledException$: StaticErrorSchema;
30
- export declare var KmsInvalidKeyUsageException$: StaticErrorSchema;
31
- export declare var KmsInvalidStateException$: StaticErrorSchema;
32
- export declare var KmsNotFoundException$: StaticErrorSchema;
33
47
  export declare var ListIndexesInput$: StaticStructureSchema;
34
48
  export declare var ListIndexesOutput$: StaticStructureSchema;
35
49
  export declare var ListOutputVector$: StaticStructureSchema;
@@ -40,7 +54,6 @@ export declare var ListVectorBucketsOutput$: StaticStructureSchema;
40
54
  export declare var ListVectorsInput$: StaticStructureSchema;
41
55
  export declare var ListVectorsOutput$: StaticStructureSchema;
42
56
  export declare var MetadataConfiguration$: StaticStructureSchema;
43
- export declare var NotFoundException$: StaticErrorSchema;
44
57
  export declare var PutInputVector$: StaticStructureSchema;
45
58
  export declare var PutVectorBucketPolicyInput$: StaticStructureSchema;
46
59
  export declare var PutVectorBucketPolicyOutput$: StaticStructureSchema;
@@ -49,19 +62,13 @@ export declare var PutVectorsOutput$: StaticStructureSchema;
49
62
  export declare var QueryOutputVector$: StaticStructureSchema;
50
63
  export declare var QueryVectorsInput$: StaticStructureSchema;
51
64
  export declare var QueryVectorsOutput$: StaticStructureSchema;
52
- export declare var RequestTimeoutException$: StaticErrorSchema;
53
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
54
- export declare var ServiceUnavailableException$: StaticErrorSchema;
55
65
  export declare var TagResourceInput$: StaticStructureSchema;
56
66
  export declare var TagResourceOutput$: StaticStructureSchema;
57
- export declare var TooManyRequestsException$: StaticErrorSchema;
58
67
  export declare var UntagResourceInput$: StaticStructureSchema;
59
68
  export declare var UntagResourceOutput$: StaticStructureSchema;
60
- export declare var ValidationException$: StaticErrorSchema;
61
69
  export declare var ValidationExceptionField$: StaticStructureSchema;
62
70
  export declare var VectorBucket$: StaticStructureSchema;
63
71
  export declare var VectorBucketSummary$: StaticStructureSchema;
64
- export declare var S3VectorsServiceException$: StaticErrorSchema;
65
72
  export declare var VectorData$: StaticUnionSchema;
66
73
  export declare var CreateIndex$: StaticOperationSchema;
67
74
  export declare var CreateVectorBucket$: StaticOperationSchema;
@@ -1,11 +1,25 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var S3VectorsServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
8
10
  export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var KmsDisabledException$: StaticErrorSchema;
13
+ export declare var KmsInvalidKeyUsageException$: StaticErrorSchema;
14
+ export declare var KmsInvalidStateException$: StaticErrorSchema;
15
+ export declare var KmsNotFoundException$: StaticErrorSchema;
16
+ export declare var NotFoundException$: StaticErrorSchema;
17
+ export declare var RequestTimeoutException$: StaticErrorSchema;
18
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
19
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
20
+ export declare var TooManyRequestsException$: StaticErrorSchema;
21
+ export declare var ValidationException$: StaticErrorSchema;
22
+ export declare const errorTypeRegistries: TypeRegistry[];
9
23
  export declare var CreateIndexInput$: StaticStructureSchema;
10
24
  export declare var CreateIndexOutput$: StaticStructureSchema;
11
25
  export declare var CreateVectorBucketInput$: StaticStructureSchema;
@@ -30,11 +44,6 @@ export declare var GetVectorsInput$: StaticStructureSchema;
30
44
  export declare var GetVectorsOutput$: StaticStructureSchema;
31
45
  export declare var Index$: StaticStructureSchema;
32
46
  export declare var IndexSummary$: StaticStructureSchema;
33
- export declare var InternalServerException$: StaticErrorSchema;
34
- export declare var KmsDisabledException$: StaticErrorSchema;
35
- export declare var KmsInvalidKeyUsageException$: StaticErrorSchema;
36
- export declare var KmsInvalidStateException$: StaticErrorSchema;
37
- export declare var KmsNotFoundException$: StaticErrorSchema;
38
47
  export declare var ListIndexesInput$: StaticStructureSchema;
39
48
  export declare var ListIndexesOutput$: StaticStructureSchema;
40
49
  export declare var ListOutputVector$: StaticStructureSchema;
@@ -45,7 +54,6 @@ export declare var ListVectorBucketsOutput$: StaticStructureSchema;
45
54
  export declare var ListVectorsInput$: StaticStructureSchema;
46
55
  export declare var ListVectorsOutput$: StaticStructureSchema;
47
56
  export declare var MetadataConfiguration$: StaticStructureSchema;
48
- export declare var NotFoundException$: StaticErrorSchema;
49
57
  export declare var PutInputVector$: StaticStructureSchema;
50
58
  export declare var PutVectorBucketPolicyInput$: StaticStructureSchema;
51
59
  export declare var PutVectorBucketPolicyOutput$: StaticStructureSchema;
@@ -54,19 +62,13 @@ export declare var PutVectorsOutput$: StaticStructureSchema;
54
62
  export declare var QueryOutputVector$: StaticStructureSchema;
55
63
  export declare var QueryVectorsInput$: StaticStructureSchema;
56
64
  export declare var QueryVectorsOutput$: StaticStructureSchema;
57
- export declare var RequestTimeoutException$: StaticErrorSchema;
58
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
59
- export declare var ServiceUnavailableException$: StaticErrorSchema;
60
65
  export declare var TagResourceInput$: StaticStructureSchema;
61
66
  export declare var TagResourceOutput$: StaticStructureSchema;
62
- export declare var TooManyRequestsException$: StaticErrorSchema;
63
67
  export declare var UntagResourceInput$: StaticStructureSchema;
64
68
  export declare var UntagResourceOutput$: StaticStructureSchema;
65
- export declare var ValidationException$: StaticErrorSchema;
66
69
  export declare var ValidationExceptionField$: StaticStructureSchema;
67
70
  export declare var VectorBucket$: StaticStructureSchema;
68
71
  export declare var VectorBucketSummary$: StaticStructureSchema;
69
- export declare var S3VectorsServiceException$: StaticErrorSchema;
70
72
  export declare var VectorData$: StaticUnionSchema;
71
73
  export declare var CreateIndex$: StaticOperationSchema;
72
74
  export declare var CreateVectorBucket$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3vectors",
3
3
  "description": "AWS SDK for JavaScript S3vectors Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3vectors",
@@ -23,38 +23,38 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.7",
27
- "@aws-sdk/credential-provider-node": "^3.972.6",
26
+ "@aws-sdk/core": "^3.973.9",
27
+ "@aws-sdk/credential-provider-node": "^3.972.8",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.3",
29
29
  "@aws-sdk/middleware-logger": "^3.972.3",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.7",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.987.0",
34
+ "@aws-sdk/util-endpoints": "3.989.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.5",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.22.1",
38
+ "@smithy/core": "^3.23.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",
40
40
  "@smithy/hash-node": "^4.2.8",
41
41
  "@smithy/invalid-dependency": "^4.2.8",
42
42
  "@smithy/middleware-content-length": "^4.2.8",
43
- "@smithy/middleware-endpoint": "^4.4.13",
44
- "@smithy/middleware-retry": "^4.4.30",
43
+ "@smithy/middleware-endpoint": "^4.4.14",
44
+ "@smithy/middleware-retry": "^4.4.31",
45
45
  "@smithy/middleware-serde": "^4.2.9",
46
46
  "@smithy/middleware-stack": "^4.2.8",
47
47
  "@smithy/node-config-provider": "^4.3.8",
48
- "@smithy/node-http-handler": "^4.4.9",
48
+ "@smithy/node-http-handler": "^4.4.10",
49
49
  "@smithy/protocol-http": "^5.3.8",
50
- "@smithy/smithy-client": "^4.11.2",
50
+ "@smithy/smithy-client": "^4.11.3",
51
51
  "@smithy/types": "^4.12.0",
52
52
  "@smithy/url-parser": "^4.2.8",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.29",
57
- "@smithy/util-defaults-mode-node": "^4.2.32",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
57
+ "@smithy/util-defaults-mode-node": "^4.2.33",
58
58
  "@smithy/util-endpoints": "^3.2.8",
59
59
  "@smithy/util-middleware": "^4.2.8",
60
60
  "@smithy/util-retry": "^4.2.8",