@aws-sdk/client-s3vectors 3.893.0 → 3.894.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist-cjs/index.js +1632 -10
  2. package/package.json +6 -6
  3. package/dist-cjs/S3Vectors.js +0 -43
  4. package/dist-cjs/S3VectorsClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/CreateIndexCommand.js +0 -26
  7. package/dist-cjs/commands/CreateVectorBucketCommand.js +0 -26
  8. package/dist-cjs/commands/DeleteIndexCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteVectorBucketCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteVectorBucketPolicyCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteVectorsCommand.js +0 -26
  12. package/dist-cjs/commands/GetIndexCommand.js +0 -26
  13. package/dist-cjs/commands/GetVectorBucketCommand.js +0 -26
  14. package/dist-cjs/commands/GetVectorBucketPolicyCommand.js +0 -26
  15. package/dist-cjs/commands/GetVectorsCommand.js +0 -26
  16. package/dist-cjs/commands/ListIndexesCommand.js +0 -26
  17. package/dist-cjs/commands/ListVectorBucketsCommand.js +0 -26
  18. package/dist-cjs/commands/ListVectorsCommand.js +0 -26
  19. package/dist-cjs/commands/PutVectorBucketPolicyCommand.js +0 -26
  20. package/dist-cjs/commands/PutVectorsCommand.js +0 -26
  21. package/dist-cjs/commands/QueryVectorsCommand.js +0 -26
  22. package/dist-cjs/commands/index.js +0 -19
  23. package/dist-cjs/endpoint/EndpointParameters.js +0 -15
  24. package/dist-cjs/extensionConfiguration.js +0 -2
  25. package/dist-cjs/models/S3VectorsServiceException.js +0 -12
  26. package/dist-cjs/models/index.js +0 -4
  27. package/dist-cjs/models/models_0.js +0 -186
  28. package/dist-cjs/pagination/Interfaces.js +0 -2
  29. package/dist-cjs/pagination/ListIndexesPaginator.js +0 -7
  30. package/dist-cjs/pagination/ListVectorBucketsPaginator.js +0 -7
  31. package/dist-cjs/pagination/ListVectorsPaginator.js +0 -7
  32. package/dist-cjs/pagination/index.js +0 -7
  33. package/dist-cjs/protocols/Aws_restJson1.js +0 -858
  34. package/dist-cjs/runtimeExtensions.js +0 -13
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return Object.assign(options, {
6
- useFipsEndpoint: options.useFipsEndpoint ?? false,
7
- defaultSigningName: "s3vectors",
8
- });
9
- };
10
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
11
- exports.commonParams = {
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.S3VectorsServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class S3VectorsServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, S3VectorsServiceException.prototype);
10
- }
11
- }
12
- exports.S3VectorsServiceException = S3VectorsServiceException;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
@@ -1,186 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VectorData = exports.KmsNotFoundException = exports.KmsInvalidStateException = exports.KmsInvalidKeyUsageException = exports.KmsDisabledException = exports.SseType = exports.ValidationException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.ServiceQuotaExceededException = exports.NotFoundException = exports.InternalServerException = exports.DistanceMetric = exports.DataType = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const S3VectorsServiceException_1 = require("./S3VectorsServiceException");
5
- class AccessDeniedException extends S3VectorsServiceException_1.S3VectorsServiceException {
6
- name = "AccessDeniedException";
7
- $fault = "client";
8
- constructor(opts) {
9
- super({
10
- name: "AccessDeniedException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- class ConflictException extends S3VectorsServiceException_1.S3VectorsServiceException {
19
- name = "ConflictException";
20
- $fault = "client";
21
- constructor(opts) {
22
- super({
23
- name: "ConflictException",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- Object.setPrototypeOf(this, ConflictException.prototype);
28
- }
29
- }
30
- exports.ConflictException = ConflictException;
31
- exports.DataType = {
32
- FLOAT32: "float32",
33
- };
34
- exports.DistanceMetric = {
35
- COSINE: "cosine",
36
- EUCLIDEAN: "euclidean",
37
- };
38
- class InternalServerException extends S3VectorsServiceException_1.S3VectorsServiceException {
39
- name = "InternalServerException";
40
- $fault = "server";
41
- $retryable = {};
42
- constructor(opts) {
43
- super({
44
- name: "InternalServerException",
45
- $fault: "server",
46
- ...opts,
47
- });
48
- Object.setPrototypeOf(this, InternalServerException.prototype);
49
- }
50
- }
51
- exports.InternalServerException = InternalServerException;
52
- class NotFoundException extends S3VectorsServiceException_1.S3VectorsServiceException {
53
- name = "NotFoundException";
54
- $fault = "client";
55
- constructor(opts) {
56
- super({
57
- name: "NotFoundException",
58
- $fault: "client",
59
- ...opts,
60
- });
61
- Object.setPrototypeOf(this, NotFoundException.prototype);
62
- }
63
- }
64
- exports.NotFoundException = NotFoundException;
65
- class ServiceQuotaExceededException extends S3VectorsServiceException_1.S3VectorsServiceException {
66
- name = "ServiceQuotaExceededException";
67
- $fault = "client";
68
- constructor(opts) {
69
- super({
70
- name: "ServiceQuotaExceededException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
75
- }
76
- }
77
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
78
- class ServiceUnavailableException extends S3VectorsServiceException_1.S3VectorsServiceException {
79
- name = "ServiceUnavailableException";
80
- $fault = "server";
81
- $retryable = {};
82
- constructor(opts) {
83
- super({
84
- name: "ServiceUnavailableException",
85
- $fault: "server",
86
- ...opts,
87
- });
88
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
89
- }
90
- }
91
- exports.ServiceUnavailableException = ServiceUnavailableException;
92
- class TooManyRequestsException extends S3VectorsServiceException_1.S3VectorsServiceException {
93
- name = "TooManyRequestsException";
94
- $fault = "client";
95
- $retryable = {
96
- throttling: true,
97
- };
98
- constructor(opts) {
99
- super({
100
- name: "TooManyRequestsException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
105
- }
106
- }
107
- exports.TooManyRequestsException = TooManyRequestsException;
108
- class ValidationException extends S3VectorsServiceException_1.S3VectorsServiceException {
109
- name = "ValidationException";
110
- $fault = "client";
111
- fieldList;
112
- constructor(opts) {
113
- super({
114
- name: "ValidationException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- Object.setPrototypeOf(this, ValidationException.prototype);
119
- this.fieldList = opts.fieldList;
120
- }
121
- }
122
- exports.ValidationException = ValidationException;
123
- exports.SseType = {
124
- AES256: "AES256",
125
- AWS_KMS: "aws:kms",
126
- };
127
- class KmsDisabledException extends S3VectorsServiceException_1.S3VectorsServiceException {
128
- name = "KmsDisabledException";
129
- $fault = "client";
130
- constructor(opts) {
131
- super({
132
- name: "KmsDisabledException",
133
- $fault: "client",
134
- ...opts,
135
- });
136
- Object.setPrototypeOf(this, KmsDisabledException.prototype);
137
- }
138
- }
139
- exports.KmsDisabledException = KmsDisabledException;
140
- class KmsInvalidKeyUsageException extends S3VectorsServiceException_1.S3VectorsServiceException {
141
- name = "KmsInvalidKeyUsageException";
142
- $fault = "client";
143
- constructor(opts) {
144
- super({
145
- name: "KmsInvalidKeyUsageException",
146
- $fault: "client",
147
- ...opts,
148
- });
149
- Object.setPrototypeOf(this, KmsInvalidKeyUsageException.prototype);
150
- }
151
- }
152
- exports.KmsInvalidKeyUsageException = KmsInvalidKeyUsageException;
153
- class KmsInvalidStateException extends S3VectorsServiceException_1.S3VectorsServiceException {
154
- name = "KmsInvalidStateException";
155
- $fault = "client";
156
- constructor(opts) {
157
- super({
158
- name: "KmsInvalidStateException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- Object.setPrototypeOf(this, KmsInvalidStateException.prototype);
163
- }
164
- }
165
- exports.KmsInvalidStateException = KmsInvalidStateException;
166
- class KmsNotFoundException extends S3VectorsServiceException_1.S3VectorsServiceException {
167
- name = "KmsNotFoundException";
168
- $fault = "client";
169
- constructor(opts) {
170
- super({
171
- name: "KmsNotFoundException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- Object.setPrototypeOf(this, KmsNotFoundException.prototype);
176
- }
177
- }
178
- exports.KmsNotFoundException = KmsNotFoundException;
179
- var VectorData;
180
- (function (VectorData) {
181
- VectorData.visit = (value, visitor) => {
182
- if (value.float32 !== undefined)
183
- return visitor.float32(value.float32);
184
- return visitor._(value.$unknown[0], value.$unknown[1]);
185
- };
186
- })(VectorData || (exports.VectorData = VectorData = {}));
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListIndexes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListIndexesCommand_1 = require("../commands/ListIndexesCommand");
6
- const S3VectorsClient_1 = require("../S3VectorsClient");
7
- exports.paginateListIndexes = (0, core_1.createPaginator)(S3VectorsClient_1.S3VectorsClient, ListIndexesCommand_1.ListIndexesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListVectorBuckets = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListVectorBucketsCommand_1 = require("../commands/ListVectorBucketsCommand");
6
- const S3VectorsClient_1 = require("../S3VectorsClient");
7
- exports.paginateListVectorBuckets = (0, core_1.createPaginator)(S3VectorsClient_1.S3VectorsClient, ListVectorBucketsCommand_1.ListVectorBucketsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListVectors = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListVectorsCommand_1 = require("../commands/ListVectorsCommand");
6
- const S3VectorsClient_1 = require("../S3VectorsClient");
7
- exports.paginateListVectors = (0, core_1.createPaginator)(S3VectorsClient_1.S3VectorsClient, ListVectorsCommand_1.ListVectorsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListIndexesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListVectorBucketsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListVectorsPaginator"), exports);