@aws-sdk/client-s3vectors 3.933.0 → 3.935.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 +12 -11
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +11 -0
- package/dist-es/models/errors.js +165 -0
- package/dist-es/models/models_0.js +1 -176
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +35 -0
- package/dist-types/models/errors.d.ts +170 -0
- package/dist-types/models/models_0.d.ts +1 -204
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +97 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -111
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -139,13 +139,6 @@ let ConflictException$1 = class ConflictException extends S3VectorsServiceExcept
|
|
|
139
139
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
const DataType = {
|
|
143
|
-
FLOAT32: "float32",
|
|
144
|
-
};
|
|
145
|
-
const DistanceMetric = {
|
|
146
|
-
COSINE: "cosine",
|
|
147
|
-
EUCLIDEAN: "euclidean",
|
|
148
|
-
};
|
|
149
142
|
let InternalServerException$1 = class InternalServerException extends S3VectorsServiceException$1 {
|
|
150
143
|
name = "InternalServerException";
|
|
151
144
|
$fault = "server";
|
|
@@ -238,10 +231,6 @@ let ValidationException$1 = class ValidationException extends S3VectorsServiceEx
|
|
|
238
231
|
this.fieldList = opts.fieldList;
|
|
239
232
|
}
|
|
240
233
|
};
|
|
241
|
-
const SseType = {
|
|
242
|
-
AES256: "AES256",
|
|
243
|
-
AWS_KMS: "aws:kms",
|
|
244
|
-
};
|
|
245
234
|
let KmsDisabledException$1 = class KmsDisabledException extends S3VectorsServiceException$1 {
|
|
246
235
|
name = "KmsDisabledException";
|
|
247
236
|
$fault = "client";
|
|
@@ -1076,6 +1065,18 @@ const paginateListVectorBuckets = core.createPaginator(S3VectorsClient, ListVect
|
|
|
1076
1065
|
|
|
1077
1066
|
const paginateListVectors = core.createPaginator(S3VectorsClient, ListVectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1078
1067
|
|
|
1068
|
+
const DataType = {
|
|
1069
|
+
FLOAT32: "float32",
|
|
1070
|
+
};
|
|
1071
|
+
const DistanceMetric = {
|
|
1072
|
+
COSINE: "cosine",
|
|
1073
|
+
EUCLIDEAN: "euclidean",
|
|
1074
|
+
};
|
|
1075
|
+
const SseType = {
|
|
1076
|
+
AES256: "AES256",
|
|
1077
|
+
AWS_KMS: "aws:kms",
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1079
1080
|
Object.defineProperty(exports, "$Command", {
|
|
1080
1081
|
enumerable: true,
|
|
1081
1082
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./S3VectorsClient";
|
|
|
2
2
|
export * from "./S3Vectors";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { S3VectorsServiceException } from "./models/S3VectorsServiceException";
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { S3VectorsServiceException as __BaseException } from "./S3VectorsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
$retryable = {};
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "InternalServerException",
|
|
33
|
+
$fault: "server",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export class NotFoundException extends __BaseException {
|
|
40
|
+
name = "NotFoundException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "NotFoundException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export class RequestTimeoutException extends __BaseException {
|
|
52
|
+
name = "RequestTimeoutException";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
$retryable = {};
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "RequestTimeoutException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
65
|
+
name = "ServiceQuotaExceededException";
|
|
66
|
+
$fault = "client";
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "ServiceQuotaExceededException",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts,
|
|
72
|
+
});
|
|
73
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
77
|
+
name = "ServiceUnavailableException";
|
|
78
|
+
$fault = "server";
|
|
79
|
+
$retryable = {};
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "ServiceUnavailableException",
|
|
83
|
+
$fault: "server",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export class TooManyRequestsException extends __BaseException {
|
|
90
|
+
name = "TooManyRequestsException";
|
|
91
|
+
$fault = "client";
|
|
92
|
+
$retryable = {
|
|
93
|
+
throttling: true,
|
|
94
|
+
};
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "TooManyRequestsException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export class ValidationException extends __BaseException {
|
|
105
|
+
name = "ValidationException";
|
|
106
|
+
$fault = "client";
|
|
107
|
+
fieldList;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ValidationException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
115
|
+
this.fieldList = opts.fieldList;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export class KmsDisabledException extends __BaseException {
|
|
119
|
+
name = "KmsDisabledException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "KmsDisabledException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
Object.setPrototypeOf(this, KmsDisabledException.prototype);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class KmsInvalidKeyUsageException extends __BaseException {
|
|
131
|
+
name = "KmsInvalidKeyUsageException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "KmsInvalidKeyUsageException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
Object.setPrototypeOf(this, KmsInvalidKeyUsageException.prototype);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export class KmsInvalidStateException extends __BaseException {
|
|
143
|
+
name = "KmsInvalidStateException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "KmsInvalidStateException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, KmsInvalidStateException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
export class KmsNotFoundException extends __BaseException {
|
|
155
|
+
name = "KmsNotFoundException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "KmsNotFoundException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, KmsNotFoundException.prototype);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -1,176 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ConflictException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export const DataType = {
|
|
27
|
-
FLOAT32: "float32",
|
|
28
|
-
};
|
|
29
|
-
export const DistanceMetric = {
|
|
30
|
-
COSINE: "cosine",
|
|
31
|
-
EUCLIDEAN: "euclidean",
|
|
32
|
-
};
|
|
33
|
-
export class InternalServerException extends __BaseException {
|
|
34
|
-
name = "InternalServerException";
|
|
35
|
-
$fault = "server";
|
|
36
|
-
$retryable = {};
|
|
37
|
-
constructor(opts) {
|
|
38
|
-
super({
|
|
39
|
-
name: "InternalServerException",
|
|
40
|
-
$fault: "server",
|
|
41
|
-
...opts,
|
|
42
|
-
});
|
|
43
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
export class NotFoundException extends __BaseException {
|
|
47
|
-
name = "NotFoundException";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "NotFoundException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export class RequestTimeoutException extends __BaseException {
|
|
59
|
-
name = "RequestTimeoutException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
$retryable = {};
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "RequestTimeoutException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
72
|
-
name = "ServiceQuotaExceededException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ServiceQuotaExceededException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
84
|
-
name = "ServiceUnavailableException";
|
|
85
|
-
$fault = "server";
|
|
86
|
-
$retryable = {};
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "ServiceUnavailableException",
|
|
90
|
-
$fault: "server",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
export class TooManyRequestsException extends __BaseException {
|
|
97
|
-
name = "TooManyRequestsException";
|
|
98
|
-
$fault = "client";
|
|
99
|
-
$retryable = {
|
|
100
|
-
throttling: true,
|
|
101
|
-
};
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "TooManyRequestsException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export class ValidationException extends __BaseException {
|
|
112
|
-
name = "ValidationException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
fieldList;
|
|
115
|
-
constructor(opts) {
|
|
116
|
-
super({
|
|
117
|
-
name: "ValidationException",
|
|
118
|
-
$fault: "client",
|
|
119
|
-
...opts,
|
|
120
|
-
});
|
|
121
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
122
|
-
this.fieldList = opts.fieldList;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
export const SseType = {
|
|
126
|
-
AES256: "AES256",
|
|
127
|
-
AWS_KMS: "aws:kms",
|
|
128
|
-
};
|
|
129
|
-
export class KmsDisabledException extends __BaseException {
|
|
130
|
-
name = "KmsDisabledException";
|
|
131
|
-
$fault = "client";
|
|
132
|
-
constructor(opts) {
|
|
133
|
-
super({
|
|
134
|
-
name: "KmsDisabledException",
|
|
135
|
-
$fault: "client",
|
|
136
|
-
...opts,
|
|
137
|
-
});
|
|
138
|
-
Object.setPrototypeOf(this, KmsDisabledException.prototype);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
export class KmsInvalidKeyUsageException extends __BaseException {
|
|
142
|
-
name = "KmsInvalidKeyUsageException";
|
|
143
|
-
$fault = "client";
|
|
144
|
-
constructor(opts) {
|
|
145
|
-
super({
|
|
146
|
-
name: "KmsInvalidKeyUsageException",
|
|
147
|
-
$fault: "client",
|
|
148
|
-
...opts,
|
|
149
|
-
});
|
|
150
|
-
Object.setPrototypeOf(this, KmsInvalidKeyUsageException.prototype);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
export class KmsInvalidStateException extends __BaseException {
|
|
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
|
-
export class KmsNotFoundException extends __BaseException {
|
|
166
|
-
name = "KmsNotFoundException";
|
|
167
|
-
$fault = "client";
|
|
168
|
-
constructor(opts) {
|
|
169
|
-
super({
|
|
170
|
-
name: "KmsNotFoundException",
|
|
171
|
-
$fault: "client",
|
|
172
|
-
...opts,
|
|
173
|
-
});
|
|
174
|
-
Object.setPrototypeOf(this, KmsNotFoundException.prototype);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
1
|
+
export {};
|
|
@@ -125,7 +125,7 @@ const _vBN = "vectorBucketName";
|
|
|
125
125
|
const _vBe = "vectorBuckets";
|
|
126
126
|
const n0 = "com.amazonaws.s3vectors";
|
|
127
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/
|
|
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/errors";
|
|
129
129
|
import { S3VectorsServiceException as __S3VectorsServiceException } from "../models/S3VectorsServiceException";
|
|
130
130
|
export var AccessDeniedException = [
|
|
131
131
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { S3VectorsExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { S3VectorsServiceException } from "./models/S3VectorsServiceException";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const DataType: {
|
|
6
|
+
readonly FLOAT32: "float32";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type DataType = (typeof DataType)[keyof typeof DataType];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const DistanceMetric: {
|
|
17
|
+
readonly COSINE: "cosine";
|
|
18
|
+
readonly EUCLIDEAN: "euclidean";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type DistanceMetric = (typeof DistanceMetric)[keyof typeof DistanceMetric];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const SseType: {
|
|
29
|
+
readonly AES256: "AES256";
|
|
30
|
+
readonly AWS_KMS: "aws:kms";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type SseType = (typeof SseType)[keyof typeof SseType];
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionField } from "./models_0";
|
|
3
|
+
import { S3VectorsServiceException as __BaseException } from "./S3VectorsServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Access denied.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The request failed because a vector bucket name or a vector index name already exists. Vector bucket names must be unique within your Amazon Web Services account for each Amazon Web Services Region. Vector index names must be unique within your vector bucket. Choose a different vector bucket name or vector index name, and try again.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>The request failed due to an internal server error.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class InternalServerException extends __BaseException {
|
|
33
|
+
readonly name: "InternalServerException";
|
|
34
|
+
readonly $fault: "server";
|
|
35
|
+
$retryable: {};
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The request was rejected because the specified resource can't be found.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class NotFoundException extends __BaseException {
|
|
46
|
+
readonly name: "NotFoundException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* <p>The request timed out. Retry your request.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare class RequestTimeoutException extends __BaseException {
|
|
58
|
+
readonly name: "RequestTimeoutException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
$retryable: {};
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* <p>Your request exceeds a service quota. </p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
71
|
+
readonly name: "ServiceQuotaExceededException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>The service is unavailable. Wait briefly and retry your request. If it continues to fail, increase your waiting time between retries.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
83
|
+
readonly name: "ServiceUnavailableException";
|
|
84
|
+
readonly $fault: "server";
|
|
85
|
+
$retryable: {};
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* <p>The request was denied due to request throttling.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
96
|
+
readonly name: "TooManyRequestsException";
|
|
97
|
+
readonly $fault: "client";
|
|
98
|
+
$retryable: {
|
|
99
|
+
throttling: boolean;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>The requested action isn't valid.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class ValidationException extends __BaseException {
|
|
111
|
+
readonly name: "ValidationException";
|
|
112
|
+
readonly $fault: "client";
|
|
113
|
+
/**
|
|
114
|
+
* <p>A list of specific validation failures that are encountered during input processing. Each entry in the list contains a path to the field that failed validation and a detailed message that explains why the validation failed. To satisfy multiple constraints, a field can appear multiple times in this list if it failed. You can use the information to identify and fix the specific validation issues in your request.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>The specified Amazon Web Services KMS key isn't enabled.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class KmsDisabledException extends __BaseException {
|
|
128
|
+
readonly name: "KmsDisabledException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
constructor(opts: __ExceptionOptionType<KmsDisabledException, __BaseException>);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* <p>The request was rejected for one of the following reasons: </p> <ul> <li> <p>The <code>KeyUsage</code> value of the KMS key is incompatible with the API operation.</p> </li> <li> <p>The encryption algorithm or signing algorithm specified for the operation is incompatible with the type of key material in the KMS key (<code>KeySpec</code>).</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html#API_Encrypt_Errors">InvalidKeyUsageException</a> in the <i>Amazon Web Services Key Management Service API Reference</i>.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class KmsInvalidKeyUsageException extends __BaseException {
|
|
140
|
+
readonly name: "KmsInvalidKeyUsageException";
|
|
141
|
+
readonly $fault: "client";
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
constructor(opts: __ExceptionOptionType<KmsInvalidKeyUsageException, __BaseException>);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* <p>The key state of the KMS key isn't compatible with the operation.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html#API_Encrypt_Errors">KMSInvalidStateException</a> in the <i>Amazon Web Services Key Management Service API Reference</i>.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export declare class KmsInvalidStateException extends __BaseException {
|
|
152
|
+
readonly name: "KmsInvalidStateException";
|
|
153
|
+
readonly $fault: "client";
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* <p>The KMS key can't be found.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export declare class KmsNotFoundException extends __BaseException {
|
|
164
|
+
readonly name: "KmsNotFoundException";
|
|
165
|
+
readonly $fault: "client";
|
|
166
|
+
/**
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
constructor(opts: __ExceptionOptionType<KmsNotFoundException, __BaseException>);
|
|
170
|
+
}
|
|
@@ -1,53 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* <p>Access denied.</p>
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
-
readonly name: "AccessDeniedException";
|
|
10
|
-
readonly $fault: "client";
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* <p>The request failed because a vector bucket name or a vector index name already exists. Vector bucket names must be unique within your Amazon Web Services account for each Amazon Web Services Region. Vector index names must be unique within your vector bucket. Choose a different vector bucket name or vector index name, and try again.</p>
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export declare class ConflictException extends __BaseException {
|
|
21
|
-
readonly name: "ConflictException";
|
|
22
|
-
readonly $fault: "client";
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
30
|
-
* @enum
|
|
31
|
-
*/
|
|
32
|
-
export declare const DataType: {
|
|
33
|
-
readonly FLOAT32: "float32";
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
export type DataType = (typeof DataType)[keyof typeof DataType];
|
|
39
|
-
/**
|
|
40
|
-
* @public
|
|
41
|
-
* @enum
|
|
42
|
-
*/
|
|
43
|
-
export declare const DistanceMetric: {
|
|
44
|
-
readonly COSINE: "cosine";
|
|
45
|
-
readonly EUCLIDEAN: "euclidean";
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
export type DistanceMetric = (typeof DistanceMetric)[keyof typeof DistanceMetric];
|
|
2
|
+
import { DataType, DistanceMetric, SseType } from "./enums";
|
|
51
3
|
/**
|
|
52
4
|
* <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The metadata configuration for a vector index.</p>
|
|
53
5
|
* @public
|
|
@@ -109,84 +61,6 @@ export interface CreateIndexOutput {
|
|
|
109
61
|
*/
|
|
110
62
|
indexArn: string | undefined;
|
|
111
63
|
}
|
|
112
|
-
/**
|
|
113
|
-
* <p>The request failed due to an internal server error.</p>
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
export declare class InternalServerException extends __BaseException {
|
|
117
|
-
readonly name: "InternalServerException";
|
|
118
|
-
readonly $fault: "server";
|
|
119
|
-
$retryable: {};
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* <p>The request was rejected because the specified resource can't be found.</p>
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
export declare class NotFoundException extends __BaseException {
|
|
130
|
-
readonly name: "NotFoundException";
|
|
131
|
-
readonly $fault: "client";
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* <p>The request timed out. Retry your request.</p>
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
|
-
export declare class RequestTimeoutException extends __BaseException {
|
|
142
|
-
readonly name: "RequestTimeoutException";
|
|
143
|
-
readonly $fault: "client";
|
|
144
|
-
$retryable: {};
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
|
-
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* <p>Your request exceeds a service quota. </p>
|
|
152
|
-
* @public
|
|
153
|
-
*/
|
|
154
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
155
|
-
readonly name: "ServiceQuotaExceededException";
|
|
156
|
-
readonly $fault: "client";
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* <p>The service is unavailable. Wait briefly and retry your request. If it continues to fail, increase your waiting time between retries.</p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
167
|
-
readonly name: "ServiceUnavailableException";
|
|
168
|
-
readonly $fault: "server";
|
|
169
|
-
$retryable: {};
|
|
170
|
-
/**
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* <p>The request was denied due to request throttling.</p>
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
180
|
-
readonly name: "TooManyRequestsException";
|
|
181
|
-
readonly $fault: "client";
|
|
182
|
-
$retryable: {
|
|
183
|
-
throttling: boolean;
|
|
184
|
-
};
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
189
|
-
}
|
|
190
64
|
/**
|
|
191
65
|
* <p>Contains information about a validation exception.</p>
|
|
192
66
|
* @public
|
|
@@ -203,35 +77,6 @@ export interface ValidationExceptionField {
|
|
|
203
77
|
*/
|
|
204
78
|
message: string | undefined;
|
|
205
79
|
}
|
|
206
|
-
/**
|
|
207
|
-
* <p>The requested action isn't valid.</p>
|
|
208
|
-
* @public
|
|
209
|
-
*/
|
|
210
|
-
export declare class ValidationException extends __BaseException {
|
|
211
|
-
readonly name: "ValidationException";
|
|
212
|
-
readonly $fault: "client";
|
|
213
|
-
/**
|
|
214
|
-
* <p>A list of specific validation failures that are encountered during input processing. Each entry in the list contains a path to the field that failed validation and a detailed message that explains why the validation failed. To satisfy multiple constraints, a field can appear multiple times in this list if it failed. You can use the information to identify and fix the specific validation issues in your request.</p>
|
|
215
|
-
* @public
|
|
216
|
-
*/
|
|
217
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* @public
|
|
225
|
-
* @enum
|
|
226
|
-
*/
|
|
227
|
-
export declare const SseType: {
|
|
228
|
-
readonly AES256: "AES256";
|
|
229
|
-
readonly AWS_KMS: "aws:kms";
|
|
230
|
-
};
|
|
231
|
-
/**
|
|
232
|
-
* @public
|
|
233
|
-
*/
|
|
234
|
-
export type SseType = (typeof SseType)[keyof typeof SseType];
|
|
235
80
|
/**
|
|
236
81
|
* <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The encryption configuration for a vector bucket. By default, if you don't specify, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically <code>AES256</code>.</p>
|
|
237
82
|
* @public
|
|
@@ -368,54 +213,6 @@ export interface DeleteVectorsInput {
|
|
|
368
213
|
*/
|
|
369
214
|
export interface DeleteVectorsOutput {
|
|
370
215
|
}
|
|
371
|
-
/**
|
|
372
|
-
* <p>The specified Amazon Web Services KMS key isn't enabled.</p>
|
|
373
|
-
* @public
|
|
374
|
-
*/
|
|
375
|
-
export declare class KmsDisabledException extends __BaseException {
|
|
376
|
-
readonly name: "KmsDisabledException";
|
|
377
|
-
readonly $fault: "client";
|
|
378
|
-
/**
|
|
379
|
-
* @internal
|
|
380
|
-
*/
|
|
381
|
-
constructor(opts: __ExceptionOptionType<KmsDisabledException, __BaseException>);
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* <p>The request was rejected for one of the following reasons: </p> <ul> <li> <p>The <code>KeyUsage</code> value of the KMS key is incompatible with the API operation.</p> </li> <li> <p>The encryption algorithm or signing algorithm specified for the operation is incompatible with the type of key material in the KMS key (<code>KeySpec</code>).</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html#API_Encrypt_Errors">InvalidKeyUsageException</a> in the <i>Amazon Web Services Key Management Service API Reference</i>.</p>
|
|
385
|
-
* @public
|
|
386
|
-
*/
|
|
387
|
-
export declare class KmsInvalidKeyUsageException extends __BaseException {
|
|
388
|
-
readonly name: "KmsInvalidKeyUsageException";
|
|
389
|
-
readonly $fault: "client";
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
constructor(opts: __ExceptionOptionType<KmsInvalidKeyUsageException, __BaseException>);
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* <p>The key state of the KMS key isn't compatible with the operation.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html#API_Encrypt_Errors">KMSInvalidStateException</a> in the <i>Amazon Web Services Key Management Service API Reference</i>.</p>
|
|
397
|
-
* @public
|
|
398
|
-
*/
|
|
399
|
-
export declare class KmsInvalidStateException extends __BaseException {
|
|
400
|
-
readonly name: "KmsInvalidStateException";
|
|
401
|
-
readonly $fault: "client";
|
|
402
|
-
/**
|
|
403
|
-
* @internal
|
|
404
|
-
*/
|
|
405
|
-
constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* <p>The KMS key can't be found.</p>
|
|
409
|
-
* @public
|
|
410
|
-
*/
|
|
411
|
-
export declare class KmsNotFoundException extends __BaseException {
|
|
412
|
-
readonly name: "KmsNotFoundException";
|
|
413
|
-
readonly $fault: "client";
|
|
414
|
-
/**
|
|
415
|
-
* @internal
|
|
416
|
-
*/
|
|
417
|
-
constructor(opts: __ExceptionOptionType<KmsNotFoundException, __BaseException>);
|
|
418
|
-
}
|
|
419
216
|
/**
|
|
420
217
|
* @public
|
|
421
218
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { S3VectorsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { S3VectorsServiceException } from "./models/S3VectorsServiceException";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const DataType: {
|
|
2
|
+
readonly FLOAT32: "float32";
|
|
3
|
+
};
|
|
4
|
+
export type DataType = (typeof DataType)[keyof typeof DataType];
|
|
5
|
+
export declare const DistanceMetric: {
|
|
6
|
+
readonly COSINE: "cosine";
|
|
7
|
+
readonly EUCLIDEAN: "euclidean";
|
|
8
|
+
};
|
|
9
|
+
export type DistanceMetric =
|
|
10
|
+
(typeof DistanceMetric)[keyof typeof DistanceMetric];
|
|
11
|
+
export declare const SseType: {
|
|
12
|
+
readonly AES256: "AES256";
|
|
13
|
+
readonly AWS_KMS: "aws:kms";
|
|
14
|
+
};
|
|
15
|
+
export type SseType = (typeof SseType)[keyof typeof SseType];
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionField } from "./models_0";
|
|
3
|
+
import { S3VectorsServiceException as __BaseException } from "./S3VectorsServiceException";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
export declare class InternalServerException extends __BaseException {
|
|
17
|
+
readonly name: "InternalServerException";
|
|
18
|
+
readonly $fault: "server";
|
|
19
|
+
$retryable: {};
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class NotFoundException extends __BaseException {
|
|
25
|
+
readonly name: "NotFoundException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
export declare class RequestTimeoutException extends __BaseException {
|
|
30
|
+
readonly name: "RequestTimeoutException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
$retryable: {};
|
|
33
|
+
constructor(
|
|
34
|
+
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
38
|
+
readonly name: "ServiceQuotaExceededException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
45
|
+
readonly name: "ServiceUnavailableException";
|
|
46
|
+
readonly $fault: "server";
|
|
47
|
+
$retryable: {};
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
53
|
+
readonly name: "TooManyRequestsException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
$retryable: {
|
|
56
|
+
throttling: boolean;
|
|
57
|
+
};
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export declare class ValidationException extends __BaseException {
|
|
63
|
+
readonly name: "ValidationException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export declare class KmsDisabledException extends __BaseException {
|
|
71
|
+
readonly name: "KmsDisabledException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
constructor(
|
|
74
|
+
opts: __ExceptionOptionType<KmsDisabledException, __BaseException>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
export declare class KmsInvalidKeyUsageException extends __BaseException {
|
|
78
|
+
readonly name: "KmsInvalidKeyUsageException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
constructor(
|
|
81
|
+
opts: __ExceptionOptionType<KmsInvalidKeyUsageException, __BaseException>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export declare class KmsInvalidStateException extends __BaseException {
|
|
85
|
+
readonly name: "KmsInvalidStateException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
constructor(
|
|
88
|
+
opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
export declare class KmsNotFoundException extends __BaseException {
|
|
92
|
+
readonly name: "KmsNotFoundException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
constructor(
|
|
95
|
+
opts: __ExceptionOptionType<KmsNotFoundException, __BaseException>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
-
readonly name: "AccessDeniedException";
|
|
6
|
-
readonly $fault: "client";
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
export declare class ConflictException extends __BaseException {
|
|
12
|
-
readonly name: "ConflictException";
|
|
13
|
-
readonly $fault: "client";
|
|
14
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
15
|
-
}
|
|
16
|
-
export declare const DataType: {
|
|
17
|
-
readonly FLOAT32: "float32";
|
|
18
|
-
};
|
|
19
|
-
export type DataType = (typeof DataType)[keyof typeof DataType];
|
|
20
|
-
export declare const DistanceMetric: {
|
|
21
|
-
readonly COSINE: "cosine";
|
|
22
|
-
readonly EUCLIDEAN: "euclidean";
|
|
23
|
-
};
|
|
24
|
-
export type DistanceMetric =
|
|
25
|
-
(typeof DistanceMetric)[keyof typeof DistanceMetric];
|
|
2
|
+
import { DataType, DistanceMetric, SseType } from "./enums";
|
|
26
3
|
export interface MetadataConfiguration {
|
|
27
4
|
nonFilterableMetadataKeys: string[] | undefined;
|
|
28
5
|
}
|
|
@@ -38,69 +15,10 @@ export interface CreateIndexInput {
|
|
|
38
15
|
export interface CreateIndexOutput {
|
|
39
16
|
indexArn: string | undefined;
|
|
40
17
|
}
|
|
41
|
-
export declare class InternalServerException extends __BaseException {
|
|
42
|
-
readonly name: "InternalServerException";
|
|
43
|
-
readonly $fault: "server";
|
|
44
|
-
$retryable: {};
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export declare class NotFoundException extends __BaseException {
|
|
50
|
-
readonly name: "NotFoundException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
53
|
-
}
|
|
54
|
-
export declare class RequestTimeoutException extends __BaseException {
|
|
55
|
-
readonly name: "RequestTimeoutException";
|
|
56
|
-
readonly $fault: "client";
|
|
57
|
-
$retryable: {};
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
-
readonly name: "ServiceQuotaExceededException";
|
|
64
|
-
readonly $fault: "client";
|
|
65
|
-
constructor(
|
|
66
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
70
|
-
readonly name: "ServiceUnavailableException";
|
|
71
|
-
readonly $fault: "server";
|
|
72
|
-
$retryable: {};
|
|
73
|
-
constructor(
|
|
74
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
78
|
-
readonly name: "TooManyRequestsException";
|
|
79
|
-
readonly $fault: "client";
|
|
80
|
-
$retryable: {
|
|
81
|
-
throttling: boolean;
|
|
82
|
-
};
|
|
83
|
-
constructor(
|
|
84
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
18
|
export interface ValidationExceptionField {
|
|
88
19
|
path: string | undefined;
|
|
89
20
|
message: string | undefined;
|
|
90
21
|
}
|
|
91
|
-
export declare class ValidationException extends __BaseException {
|
|
92
|
-
readonly name: "ValidationException";
|
|
93
|
-
readonly $fault: "client";
|
|
94
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
95
|
-
constructor(
|
|
96
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
export declare const SseType: {
|
|
100
|
-
readonly AES256: "AES256";
|
|
101
|
-
readonly AWS_KMS: "aws:kms";
|
|
102
|
-
};
|
|
103
|
-
export type SseType = (typeof SseType)[keyof typeof SseType];
|
|
104
22
|
export interface EncryptionConfiguration {
|
|
105
23
|
sseType?: SseType | undefined;
|
|
106
24
|
kmsKeyArn?: string | undefined;
|
|
@@ -135,34 +53,6 @@ export interface DeleteVectorsInput {
|
|
|
135
53
|
keys: string[] | undefined;
|
|
136
54
|
}
|
|
137
55
|
export interface DeleteVectorsOutput {}
|
|
138
|
-
export declare class KmsDisabledException extends __BaseException {
|
|
139
|
-
readonly name: "KmsDisabledException";
|
|
140
|
-
readonly $fault: "client";
|
|
141
|
-
constructor(
|
|
142
|
-
opts: __ExceptionOptionType<KmsDisabledException, __BaseException>
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
export declare class KmsInvalidKeyUsageException extends __BaseException {
|
|
146
|
-
readonly name: "KmsInvalidKeyUsageException";
|
|
147
|
-
readonly $fault: "client";
|
|
148
|
-
constructor(
|
|
149
|
-
opts: __ExceptionOptionType<KmsInvalidKeyUsageException, __BaseException>
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
export declare class KmsInvalidStateException extends __BaseException {
|
|
153
|
-
readonly name: "KmsInvalidStateException";
|
|
154
|
-
readonly $fault: "client";
|
|
155
|
-
constructor(
|
|
156
|
-
opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
export declare class KmsNotFoundException extends __BaseException {
|
|
160
|
-
readonly name: "KmsNotFoundException";
|
|
161
|
-
readonly $fault: "client";
|
|
162
|
-
constructor(
|
|
163
|
-
opts: __ExceptionOptionType<KmsNotFoundException, __BaseException>
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
56
|
export interface GetIndexInput {
|
|
167
57
|
vectorBucketName?: string | undefined;
|
|
168
58
|
indexName?: string | undefined;
|
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.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3vectors",
|
|
@@ -22,38 +22,38 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.935.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
32
32
|
"@aws-sdk/types": "3.930.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.3",
|
|
37
|
-
"@smithy/core": "^3.18.
|
|
37
|
+
"@smithy/core": "^3.18.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
39
39
|
"@smithy/hash-node": "^4.2.5",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
-
"@smithy/middleware-serde": "^4.2.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.5",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.5",
|
|
47
47
|
"@smithy/node-http-handler": "^4.4.5",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.5",
|
|
49
|
-
"@smithy/smithy-client": "^4.9.
|
|
49
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
50
50
|
"@smithy/types": "^4.9.0",
|
|
51
51
|
"@smithy/url-parser": "^4.2.5",
|
|
52
52
|
"@smithy/util-base64": "^4.3.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
57
57
|
"@smithy/util-endpoints": "^3.2.5",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.5",
|
|
59
59
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|