@aws-sdk/client-s3vectors 3.1086.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/S3Vectors.d.ts +69 -96
- package/dist-types/ts3.4/S3VectorsClient.d.ts +13 -46
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateVectorBucketCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteVectorBucketCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteVectorBucketPolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteVectorsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetVectorBucketCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetVectorBucketPolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetVectorsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListVectorBucketsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListVectorsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PutVectorBucketPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutVectorsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/QueryVectorsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +11 -33
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListVectorsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -3,18 +3,12 @@ import {
|
|
|
3
3
|
PaginationConfiguration,
|
|
4
4
|
Paginator,
|
|
5
5
|
} from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
CreateIndexCommandInput,
|
|
8
|
-
CreateIndexCommandOutput,
|
|
9
|
-
} from "./commands/CreateIndexCommand";
|
|
6
|
+
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
10
7
|
import {
|
|
11
8
|
CreateVectorBucketCommandInput,
|
|
12
9
|
CreateVectorBucketCommandOutput,
|
|
13
10
|
} from "./commands/CreateVectorBucketCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteIndexCommandInput,
|
|
16
|
-
DeleteIndexCommandOutput,
|
|
17
|
-
} from "./commands/DeleteIndexCommand";
|
|
11
|
+
import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
|
|
18
12
|
import {
|
|
19
13
|
DeleteVectorBucketCommandInput,
|
|
20
14
|
DeleteVectorBucketCommandOutput,
|
|
@@ -27,10 +21,7 @@ import {
|
|
|
27
21
|
DeleteVectorsCommandInput,
|
|
28
22
|
DeleteVectorsCommandOutput,
|
|
29
23
|
} from "./commands/DeleteVectorsCommand";
|
|
30
|
-
import {
|
|
31
|
-
GetIndexCommandInput,
|
|
32
|
-
GetIndexCommandOutput,
|
|
33
|
-
} from "./commands/GetIndexCommand";
|
|
24
|
+
import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
|
|
34
25
|
import {
|
|
35
26
|
GetVectorBucketCommandInput,
|
|
36
27
|
GetVectorBucketCommandOutput,
|
|
@@ -39,14 +30,8 @@ import {
|
|
|
39
30
|
GetVectorBucketPolicyCommandInput,
|
|
40
31
|
GetVectorBucketPolicyCommandOutput,
|
|
41
32
|
} from "./commands/GetVectorBucketPolicyCommand";
|
|
42
|
-
import {
|
|
43
|
-
|
|
44
|
-
GetVectorsCommandOutput,
|
|
45
|
-
} from "./commands/GetVectorsCommand";
|
|
46
|
-
import {
|
|
47
|
-
ListIndexesCommandInput,
|
|
48
|
-
ListIndexesCommandOutput,
|
|
49
|
-
} from "./commands/ListIndexesCommand";
|
|
33
|
+
import { GetVectorsCommandInput, GetVectorsCommandOutput } from "./commands/GetVectorsCommand";
|
|
34
|
+
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
|
|
50
35
|
import {
|
|
51
36
|
ListTagsForResourceCommandInput,
|
|
52
37
|
ListTagsForResourceCommandOutput,
|
|
@@ -55,26 +40,17 @@ import {
|
|
|
55
40
|
ListVectorBucketsCommandInput,
|
|
56
41
|
ListVectorBucketsCommandOutput,
|
|
57
42
|
} from "./commands/ListVectorBucketsCommand";
|
|
58
|
-
import {
|
|
59
|
-
ListVectorsCommandInput,
|
|
60
|
-
ListVectorsCommandOutput,
|
|
61
|
-
} from "./commands/ListVectorsCommand";
|
|
43
|
+
import { ListVectorsCommandInput, ListVectorsCommandOutput } from "./commands/ListVectorsCommand";
|
|
62
44
|
import {
|
|
63
45
|
PutVectorBucketPolicyCommandInput,
|
|
64
46
|
PutVectorBucketPolicyCommandOutput,
|
|
65
47
|
} from "./commands/PutVectorBucketPolicyCommand";
|
|
66
|
-
import {
|
|
67
|
-
PutVectorsCommandInput,
|
|
68
|
-
PutVectorsCommandOutput,
|
|
69
|
-
} from "./commands/PutVectorsCommand";
|
|
48
|
+
import { PutVectorsCommandInput, PutVectorsCommandOutput } from "./commands/PutVectorsCommand";
|
|
70
49
|
import {
|
|
71
50
|
QueryVectorsCommandInput,
|
|
72
51
|
QueryVectorsCommandOutput,
|
|
73
52
|
} from "./commands/QueryVectorsCommand";
|
|
74
|
-
import {
|
|
75
|
-
TagResourceCommandInput,
|
|
76
|
-
TagResourceCommandOutput,
|
|
77
|
-
} from "./commands/TagResourceCommand";
|
|
53
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
78
54
|
import {
|
|
79
55
|
UntagResourceCommandInput,
|
|
80
56
|
UntagResourceCommandOutput,
|
|
@@ -83,287 +59,284 @@ import { S3VectorsClient } from "./S3VectorsClient";
|
|
|
83
59
|
export interface S3Vectors {
|
|
84
60
|
createIndex(
|
|
85
61
|
args: CreateIndexCommandInput,
|
|
86
|
-
options?: __HttpHandlerOptions
|
|
62
|
+
options?: __HttpHandlerOptions,
|
|
87
63
|
): Promise<CreateIndexCommandOutput>;
|
|
88
64
|
createIndex(
|
|
89
65
|
args: CreateIndexCommandInput,
|
|
90
|
-
cb: (err: any, data?: CreateIndexCommandOutput) => void
|
|
66
|
+
cb: (err: any, data?: CreateIndexCommandOutput) => void,
|
|
91
67
|
): void;
|
|
92
68
|
createIndex(
|
|
93
69
|
args: CreateIndexCommandInput,
|
|
94
70
|
options: __HttpHandlerOptions,
|
|
95
|
-
cb: (err: any, data?: CreateIndexCommandOutput) => void
|
|
71
|
+
cb: (err: any, data?: CreateIndexCommandOutput) => void,
|
|
96
72
|
): void;
|
|
97
73
|
createVectorBucket(
|
|
98
74
|
args: CreateVectorBucketCommandInput,
|
|
99
|
-
options?: __HttpHandlerOptions
|
|
75
|
+
options?: __HttpHandlerOptions,
|
|
100
76
|
): Promise<CreateVectorBucketCommandOutput>;
|
|
101
77
|
createVectorBucket(
|
|
102
78
|
args: CreateVectorBucketCommandInput,
|
|
103
|
-
cb: (err: any, data?: CreateVectorBucketCommandOutput) => void
|
|
79
|
+
cb: (err: any, data?: CreateVectorBucketCommandOutput) => void,
|
|
104
80
|
): void;
|
|
105
81
|
createVectorBucket(
|
|
106
82
|
args: CreateVectorBucketCommandInput,
|
|
107
83
|
options: __HttpHandlerOptions,
|
|
108
|
-
cb: (err: any, data?: CreateVectorBucketCommandOutput) => void
|
|
84
|
+
cb: (err: any, data?: CreateVectorBucketCommandOutput) => void,
|
|
109
85
|
): void;
|
|
110
86
|
deleteIndex(): Promise<DeleteIndexCommandOutput>;
|
|
111
87
|
deleteIndex(
|
|
112
88
|
args: DeleteIndexCommandInput,
|
|
113
|
-
options?: __HttpHandlerOptions
|
|
89
|
+
options?: __HttpHandlerOptions,
|
|
114
90
|
): Promise<DeleteIndexCommandOutput>;
|
|
115
91
|
deleteIndex(
|
|
116
92
|
args: DeleteIndexCommandInput,
|
|
117
|
-
cb: (err: any, data?: DeleteIndexCommandOutput) => void
|
|
93
|
+
cb: (err: any, data?: DeleteIndexCommandOutput) => void,
|
|
118
94
|
): void;
|
|
119
95
|
deleteIndex(
|
|
120
96
|
args: DeleteIndexCommandInput,
|
|
121
97
|
options: __HttpHandlerOptions,
|
|
122
|
-
cb: (err: any, data?: DeleteIndexCommandOutput) => void
|
|
98
|
+
cb: (err: any, data?: DeleteIndexCommandOutput) => void,
|
|
123
99
|
): void;
|
|
124
100
|
deleteVectorBucket(): Promise<DeleteVectorBucketCommandOutput>;
|
|
125
101
|
deleteVectorBucket(
|
|
126
102
|
args: DeleteVectorBucketCommandInput,
|
|
127
|
-
options?: __HttpHandlerOptions
|
|
103
|
+
options?: __HttpHandlerOptions,
|
|
128
104
|
): Promise<DeleteVectorBucketCommandOutput>;
|
|
129
105
|
deleteVectorBucket(
|
|
130
106
|
args: DeleteVectorBucketCommandInput,
|
|
131
|
-
cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void
|
|
107
|
+
cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void,
|
|
132
108
|
): void;
|
|
133
109
|
deleteVectorBucket(
|
|
134
110
|
args: DeleteVectorBucketCommandInput,
|
|
135
111
|
options: __HttpHandlerOptions,
|
|
136
|
-
cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void
|
|
112
|
+
cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void,
|
|
137
113
|
): void;
|
|
138
114
|
deleteVectorBucketPolicy(): Promise<DeleteVectorBucketPolicyCommandOutput>;
|
|
139
115
|
deleteVectorBucketPolicy(
|
|
140
116
|
args: DeleteVectorBucketPolicyCommandInput,
|
|
141
|
-
options?: __HttpHandlerOptions
|
|
117
|
+
options?: __HttpHandlerOptions,
|
|
142
118
|
): Promise<DeleteVectorBucketPolicyCommandOutput>;
|
|
143
119
|
deleteVectorBucketPolicy(
|
|
144
120
|
args: DeleteVectorBucketPolicyCommandInput,
|
|
145
|
-
cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void
|
|
121
|
+
cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void,
|
|
146
122
|
): void;
|
|
147
123
|
deleteVectorBucketPolicy(
|
|
148
124
|
args: DeleteVectorBucketPolicyCommandInput,
|
|
149
125
|
options: __HttpHandlerOptions,
|
|
150
|
-
cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void
|
|
126
|
+
cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void,
|
|
151
127
|
): void;
|
|
152
128
|
deleteVectors(
|
|
153
129
|
args: DeleteVectorsCommandInput,
|
|
154
|
-
options?: __HttpHandlerOptions
|
|
130
|
+
options?: __HttpHandlerOptions,
|
|
155
131
|
): Promise<DeleteVectorsCommandOutput>;
|
|
156
132
|
deleteVectors(
|
|
157
133
|
args: DeleteVectorsCommandInput,
|
|
158
|
-
cb: (err: any, data?: DeleteVectorsCommandOutput) => void
|
|
134
|
+
cb: (err: any, data?: DeleteVectorsCommandOutput) => void,
|
|
159
135
|
): void;
|
|
160
136
|
deleteVectors(
|
|
161
137
|
args: DeleteVectorsCommandInput,
|
|
162
138
|
options: __HttpHandlerOptions,
|
|
163
|
-
cb: (err: any, data?: DeleteVectorsCommandOutput) => void
|
|
139
|
+
cb: (err: any, data?: DeleteVectorsCommandOutput) => void,
|
|
164
140
|
): void;
|
|
165
141
|
getIndex(): Promise<GetIndexCommandOutput>;
|
|
166
142
|
getIndex(
|
|
167
143
|
args: GetIndexCommandInput,
|
|
168
|
-
options?: __HttpHandlerOptions
|
|
144
|
+
options?: __HttpHandlerOptions,
|
|
169
145
|
): Promise<GetIndexCommandOutput>;
|
|
170
|
-
getIndex(
|
|
171
|
-
args: GetIndexCommandInput,
|
|
172
|
-
cb: (err: any, data?: GetIndexCommandOutput) => void
|
|
173
|
-
): void;
|
|
146
|
+
getIndex(args: GetIndexCommandInput, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
|
|
174
147
|
getIndex(
|
|
175
148
|
args: GetIndexCommandInput,
|
|
176
149
|
options: __HttpHandlerOptions,
|
|
177
|
-
cb: (err: any, data?: GetIndexCommandOutput) => void
|
|
150
|
+
cb: (err: any, data?: GetIndexCommandOutput) => void,
|
|
178
151
|
): void;
|
|
179
152
|
getVectorBucket(): Promise<GetVectorBucketCommandOutput>;
|
|
180
153
|
getVectorBucket(
|
|
181
154
|
args: GetVectorBucketCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
155
|
+
options?: __HttpHandlerOptions,
|
|
183
156
|
): Promise<GetVectorBucketCommandOutput>;
|
|
184
157
|
getVectorBucket(
|
|
185
158
|
args: GetVectorBucketCommandInput,
|
|
186
|
-
cb: (err: any, data?: GetVectorBucketCommandOutput) => void
|
|
159
|
+
cb: (err: any, data?: GetVectorBucketCommandOutput) => void,
|
|
187
160
|
): void;
|
|
188
161
|
getVectorBucket(
|
|
189
162
|
args: GetVectorBucketCommandInput,
|
|
190
163
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: GetVectorBucketCommandOutput) => void
|
|
164
|
+
cb: (err: any, data?: GetVectorBucketCommandOutput) => void,
|
|
192
165
|
): void;
|
|
193
166
|
getVectorBucketPolicy(): Promise<GetVectorBucketPolicyCommandOutput>;
|
|
194
167
|
getVectorBucketPolicy(
|
|
195
168
|
args: GetVectorBucketPolicyCommandInput,
|
|
196
|
-
options?: __HttpHandlerOptions
|
|
169
|
+
options?: __HttpHandlerOptions,
|
|
197
170
|
): Promise<GetVectorBucketPolicyCommandOutput>;
|
|
198
171
|
getVectorBucketPolicy(
|
|
199
172
|
args: GetVectorBucketPolicyCommandInput,
|
|
200
|
-
cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void
|
|
173
|
+
cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void,
|
|
201
174
|
): void;
|
|
202
175
|
getVectorBucketPolicy(
|
|
203
176
|
args: GetVectorBucketPolicyCommandInput,
|
|
204
177
|
options: __HttpHandlerOptions,
|
|
205
|
-
cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void
|
|
178
|
+
cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void,
|
|
206
179
|
): void;
|
|
207
180
|
getVectors(
|
|
208
181
|
args: GetVectorsCommandInput,
|
|
209
|
-
options?: __HttpHandlerOptions
|
|
182
|
+
options?: __HttpHandlerOptions,
|
|
210
183
|
): Promise<GetVectorsCommandOutput>;
|
|
211
184
|
getVectors(
|
|
212
185
|
args: GetVectorsCommandInput,
|
|
213
|
-
cb: (err: any, data?: GetVectorsCommandOutput) => void
|
|
186
|
+
cb: (err: any, data?: GetVectorsCommandOutput) => void,
|
|
214
187
|
): void;
|
|
215
188
|
getVectors(
|
|
216
189
|
args: GetVectorsCommandInput,
|
|
217
190
|
options: __HttpHandlerOptions,
|
|
218
|
-
cb: (err: any, data?: GetVectorsCommandOutput) => void
|
|
191
|
+
cb: (err: any, data?: GetVectorsCommandOutput) => void,
|
|
219
192
|
): void;
|
|
220
193
|
listIndexes(): Promise<ListIndexesCommandOutput>;
|
|
221
194
|
listIndexes(
|
|
222
195
|
args: ListIndexesCommandInput,
|
|
223
|
-
options?: __HttpHandlerOptions
|
|
196
|
+
options?: __HttpHandlerOptions,
|
|
224
197
|
): Promise<ListIndexesCommandOutput>;
|
|
225
198
|
listIndexes(
|
|
226
199
|
args: ListIndexesCommandInput,
|
|
227
|
-
cb: (err: any, data?: ListIndexesCommandOutput) => void
|
|
200
|
+
cb: (err: any, data?: ListIndexesCommandOutput) => void,
|
|
228
201
|
): void;
|
|
229
202
|
listIndexes(
|
|
230
203
|
args: ListIndexesCommandInput,
|
|
231
204
|
options: __HttpHandlerOptions,
|
|
232
|
-
cb: (err: any, data?: ListIndexesCommandOutput) => void
|
|
205
|
+
cb: (err: any, data?: ListIndexesCommandOutput) => void,
|
|
233
206
|
): void;
|
|
234
207
|
listTagsForResource(
|
|
235
208
|
args: ListTagsForResourceCommandInput,
|
|
236
|
-
options?: __HttpHandlerOptions
|
|
209
|
+
options?: __HttpHandlerOptions,
|
|
237
210
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
238
211
|
listTagsForResource(
|
|
239
212
|
args: ListTagsForResourceCommandInput,
|
|
240
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
213
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
241
214
|
): void;
|
|
242
215
|
listTagsForResource(
|
|
243
216
|
args: ListTagsForResourceCommandInput,
|
|
244
217
|
options: __HttpHandlerOptions,
|
|
245
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
218
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
246
219
|
): void;
|
|
247
220
|
listVectorBuckets(): Promise<ListVectorBucketsCommandOutput>;
|
|
248
221
|
listVectorBuckets(
|
|
249
222
|
args: ListVectorBucketsCommandInput,
|
|
250
|
-
options?: __HttpHandlerOptions
|
|
223
|
+
options?: __HttpHandlerOptions,
|
|
251
224
|
): Promise<ListVectorBucketsCommandOutput>;
|
|
252
225
|
listVectorBuckets(
|
|
253
226
|
args: ListVectorBucketsCommandInput,
|
|
254
|
-
cb: (err: any, data?: ListVectorBucketsCommandOutput) => void
|
|
227
|
+
cb: (err: any, data?: ListVectorBucketsCommandOutput) => void,
|
|
255
228
|
): void;
|
|
256
229
|
listVectorBuckets(
|
|
257
230
|
args: ListVectorBucketsCommandInput,
|
|
258
231
|
options: __HttpHandlerOptions,
|
|
259
|
-
cb: (err: any, data?: ListVectorBucketsCommandOutput) => void
|
|
232
|
+
cb: (err: any, data?: ListVectorBucketsCommandOutput) => void,
|
|
260
233
|
): void;
|
|
261
234
|
listVectors(): Promise<ListVectorsCommandOutput>;
|
|
262
235
|
listVectors(
|
|
263
236
|
args: ListVectorsCommandInput,
|
|
264
|
-
options?: __HttpHandlerOptions
|
|
237
|
+
options?: __HttpHandlerOptions,
|
|
265
238
|
): Promise<ListVectorsCommandOutput>;
|
|
266
239
|
listVectors(
|
|
267
240
|
args: ListVectorsCommandInput,
|
|
268
|
-
cb: (err: any, data?: ListVectorsCommandOutput) => void
|
|
241
|
+
cb: (err: any, data?: ListVectorsCommandOutput) => void,
|
|
269
242
|
): void;
|
|
270
243
|
listVectors(
|
|
271
244
|
args: ListVectorsCommandInput,
|
|
272
245
|
options: __HttpHandlerOptions,
|
|
273
|
-
cb: (err: any, data?: ListVectorsCommandOutput) => void
|
|
246
|
+
cb: (err: any, data?: ListVectorsCommandOutput) => void,
|
|
274
247
|
): void;
|
|
275
248
|
putVectorBucketPolicy(
|
|
276
249
|
args: PutVectorBucketPolicyCommandInput,
|
|
277
|
-
options?: __HttpHandlerOptions
|
|
250
|
+
options?: __HttpHandlerOptions,
|
|
278
251
|
): Promise<PutVectorBucketPolicyCommandOutput>;
|
|
279
252
|
putVectorBucketPolicy(
|
|
280
253
|
args: PutVectorBucketPolicyCommandInput,
|
|
281
|
-
cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void
|
|
254
|
+
cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void,
|
|
282
255
|
): void;
|
|
283
256
|
putVectorBucketPolicy(
|
|
284
257
|
args: PutVectorBucketPolicyCommandInput,
|
|
285
258
|
options: __HttpHandlerOptions,
|
|
286
|
-
cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void
|
|
259
|
+
cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void,
|
|
287
260
|
): void;
|
|
288
261
|
putVectors(
|
|
289
262
|
args: PutVectorsCommandInput,
|
|
290
|
-
options?: __HttpHandlerOptions
|
|
263
|
+
options?: __HttpHandlerOptions,
|
|
291
264
|
): Promise<PutVectorsCommandOutput>;
|
|
292
265
|
putVectors(
|
|
293
266
|
args: PutVectorsCommandInput,
|
|
294
|
-
cb: (err: any, data?: PutVectorsCommandOutput) => void
|
|
267
|
+
cb: (err: any, data?: PutVectorsCommandOutput) => void,
|
|
295
268
|
): void;
|
|
296
269
|
putVectors(
|
|
297
270
|
args: PutVectorsCommandInput,
|
|
298
271
|
options: __HttpHandlerOptions,
|
|
299
|
-
cb: (err: any, data?: PutVectorsCommandOutput) => void
|
|
272
|
+
cb: (err: any, data?: PutVectorsCommandOutput) => void,
|
|
300
273
|
): void;
|
|
301
274
|
queryVectors(
|
|
302
275
|
args: QueryVectorsCommandInput,
|
|
303
|
-
options?: __HttpHandlerOptions
|
|
276
|
+
options?: __HttpHandlerOptions,
|
|
304
277
|
): Promise<QueryVectorsCommandOutput>;
|
|
305
278
|
queryVectors(
|
|
306
279
|
args: QueryVectorsCommandInput,
|
|
307
|
-
cb: (err: any, data?: QueryVectorsCommandOutput) => void
|
|
280
|
+
cb: (err: any, data?: QueryVectorsCommandOutput) => void,
|
|
308
281
|
): void;
|
|
309
282
|
queryVectors(
|
|
310
283
|
args: QueryVectorsCommandInput,
|
|
311
284
|
options: __HttpHandlerOptions,
|
|
312
|
-
cb: (err: any, data?: QueryVectorsCommandOutput) => void
|
|
285
|
+
cb: (err: any, data?: QueryVectorsCommandOutput) => void,
|
|
313
286
|
): void;
|
|
314
287
|
tagResource(
|
|
315
288
|
args: TagResourceCommandInput,
|
|
316
|
-
options?: __HttpHandlerOptions
|
|
289
|
+
options?: __HttpHandlerOptions,
|
|
317
290
|
): Promise<TagResourceCommandOutput>;
|
|
318
291
|
tagResource(
|
|
319
292
|
args: TagResourceCommandInput,
|
|
320
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
293
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
321
294
|
): void;
|
|
322
295
|
tagResource(
|
|
323
296
|
args: TagResourceCommandInput,
|
|
324
297
|
options: __HttpHandlerOptions,
|
|
325
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
298
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
326
299
|
): void;
|
|
327
300
|
untagResource(
|
|
328
301
|
args: UntagResourceCommandInput,
|
|
329
|
-
options?: __HttpHandlerOptions
|
|
302
|
+
options?: __HttpHandlerOptions,
|
|
330
303
|
): Promise<UntagResourceCommandOutput>;
|
|
331
304
|
untagResource(
|
|
332
305
|
args: UntagResourceCommandInput,
|
|
333
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
306
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
334
307
|
): void;
|
|
335
308
|
untagResource(
|
|
336
309
|
args: UntagResourceCommandInput,
|
|
337
310
|
options: __HttpHandlerOptions,
|
|
338
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
311
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
339
312
|
): void;
|
|
340
313
|
paginateListIndexes(
|
|
341
314
|
args?: ListIndexesCommandInput,
|
|
342
315
|
paginationConfig?: Pick<
|
|
343
316
|
PaginationConfiguration,
|
|
344
317
|
Exclude<keyof PaginationConfiguration, "client">
|
|
345
|
-
|
|
318
|
+
>,
|
|
346
319
|
): Paginator<ListIndexesCommandOutput>;
|
|
347
320
|
paginateListVectorBuckets(
|
|
348
321
|
args?: ListVectorBucketsCommandInput,
|
|
349
322
|
paginationConfig?: Pick<
|
|
350
323
|
PaginationConfiguration,
|
|
351
324
|
Exclude<keyof PaginationConfiguration, "client">
|
|
352
|
-
|
|
325
|
+
>,
|
|
353
326
|
): Paginator<ListVectorBucketsCommandOutput>;
|
|
354
327
|
paginateListVectors(
|
|
355
328
|
args?: ListVectorsCommandInput,
|
|
356
329
|
paginationConfig?: Pick<
|
|
357
330
|
PaginationConfiguration,
|
|
358
331
|
Exclude<keyof PaginationConfiguration, "client">
|
|
359
|
-
|
|
332
|
+
>,
|
|
360
333
|
): Paginator<ListVectorsCommandOutput>;
|
|
361
334
|
paginateQueryVectors(
|
|
362
335
|
args: QueryVectorsCommandInput,
|
|
363
336
|
paginationConfig?: Pick<
|
|
364
337
|
PaginationConfiguration,
|
|
365
338
|
Exclude<keyof PaginationConfiguration, "client">
|
|
366
|
-
|
|
339
|
+
>,
|
|
367
340
|
): Paginator<QueryVectorsCommandOutput>;
|
|
368
341
|
}
|
|
369
342
|
export declare class S3Vectors extends S3VectorsClient implements S3Vectors {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -36,18 +33,12 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
CreateIndexCommandInput,
|
|
41
|
-
CreateIndexCommandOutput,
|
|
42
|
-
} from "./commands/CreateIndexCommand";
|
|
36
|
+
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
43
37
|
import {
|
|
44
38
|
CreateVectorBucketCommandInput,
|
|
45
39
|
CreateVectorBucketCommandOutput,
|
|
46
40
|
} from "./commands/CreateVectorBucketCommand";
|
|
47
|
-
import {
|
|
48
|
-
DeleteIndexCommandInput,
|
|
49
|
-
DeleteIndexCommandOutput,
|
|
50
|
-
} from "./commands/DeleteIndexCommand";
|
|
41
|
+
import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
|
|
51
42
|
import {
|
|
52
43
|
DeleteVectorBucketCommandInput,
|
|
53
44
|
DeleteVectorBucketCommandOutput,
|
|
@@ -60,10 +51,7 @@ import {
|
|
|
60
51
|
DeleteVectorsCommandInput,
|
|
61
52
|
DeleteVectorsCommandOutput,
|
|
62
53
|
} from "./commands/DeleteVectorsCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetIndexCommandInput,
|
|
65
|
-
GetIndexCommandOutput,
|
|
66
|
-
} from "./commands/GetIndexCommand";
|
|
54
|
+
import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
|
|
67
55
|
import {
|
|
68
56
|
GetVectorBucketCommandInput,
|
|
69
57
|
GetVectorBucketCommandOutput,
|
|
@@ -72,14 +60,8 @@ import {
|
|
|
72
60
|
GetVectorBucketPolicyCommandInput,
|
|
73
61
|
GetVectorBucketPolicyCommandOutput,
|
|
74
62
|
} from "./commands/GetVectorBucketPolicyCommand";
|
|
75
|
-
import {
|
|
76
|
-
|
|
77
|
-
GetVectorsCommandOutput,
|
|
78
|
-
} from "./commands/GetVectorsCommand";
|
|
79
|
-
import {
|
|
80
|
-
ListIndexesCommandInput,
|
|
81
|
-
ListIndexesCommandOutput,
|
|
82
|
-
} from "./commands/ListIndexesCommand";
|
|
63
|
+
import { GetVectorsCommandInput, GetVectorsCommandOutput } from "./commands/GetVectorsCommand";
|
|
64
|
+
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
|
|
83
65
|
import {
|
|
84
66
|
ListTagsForResourceCommandInput,
|
|
85
67
|
ListTagsForResourceCommandOutput,
|
|
@@ -88,26 +70,17 @@ import {
|
|
|
88
70
|
ListVectorBucketsCommandInput,
|
|
89
71
|
ListVectorBucketsCommandOutput,
|
|
90
72
|
} from "./commands/ListVectorBucketsCommand";
|
|
91
|
-
import {
|
|
92
|
-
ListVectorsCommandInput,
|
|
93
|
-
ListVectorsCommandOutput,
|
|
94
|
-
} from "./commands/ListVectorsCommand";
|
|
73
|
+
import { ListVectorsCommandInput, ListVectorsCommandOutput } from "./commands/ListVectorsCommand";
|
|
95
74
|
import {
|
|
96
75
|
PutVectorBucketPolicyCommandInput,
|
|
97
76
|
PutVectorBucketPolicyCommandOutput,
|
|
98
77
|
} from "./commands/PutVectorBucketPolicyCommand";
|
|
99
|
-
import {
|
|
100
|
-
PutVectorsCommandInput,
|
|
101
|
-
PutVectorsCommandOutput,
|
|
102
|
-
} from "./commands/PutVectorsCommand";
|
|
78
|
+
import { PutVectorsCommandInput, PutVectorsCommandOutput } from "./commands/PutVectorsCommand";
|
|
103
79
|
import {
|
|
104
80
|
QueryVectorsCommandInput,
|
|
105
81
|
QueryVectorsCommandOutput,
|
|
106
82
|
} from "./commands/QueryVectorsCommand";
|
|
107
|
-
import {
|
|
108
|
-
TagResourceCommandInput,
|
|
109
|
-
TagResourceCommandOutput,
|
|
110
|
-
} from "./commands/TagResourceCommand";
|
|
83
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
111
84
|
import {
|
|
112
85
|
UntagResourceCommandInput,
|
|
113
86
|
UntagResourceCommandOutput,
|
|
@@ -159,8 +132,7 @@ export type ServiceOutputTypes =
|
|
|
159
132
|
| QueryVectorsCommandOutput
|
|
160
133
|
| TagResourceCommandOutput
|
|
161
134
|
| UntagResourceCommandOutput;
|
|
162
|
-
export interface ClientDefaults
|
|
163
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
135
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
164
136
|
requestHandler?: __HttpHandlerUserInput;
|
|
165
137
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
166
138
|
urlParser?: __UrlParser;
|
|
@@ -185,9 +157,7 @@ export interface ClientDefaults
|
|
|
185
157
|
extensions?: RuntimeExtension[];
|
|
186
158
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
187
159
|
}
|
|
188
|
-
export type S3VectorsClientConfigType = Partial<
|
|
189
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
190
|
-
> &
|
|
160
|
+
export type S3VectorsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
191
161
|
ClientDefaults &
|
|
192
162
|
UserAgentInputConfig &
|
|
193
163
|
RetryInputConfig &
|
|
@@ -208,8 +178,7 @@ export type S3VectorsClientResolvedConfigType =
|
|
|
208
178
|
EndpointResolvedConfig<EndpointParameters> &
|
|
209
179
|
HttpAuthSchemeResolvedConfig &
|
|
210
180
|
ClientResolvedEndpointParameters;
|
|
211
|
-
export interface S3VectorsClientResolvedConfig
|
|
212
|
-
extends S3VectorsClientResolvedConfigType {}
|
|
181
|
+
export interface S3VectorsClientResolvedConfig extends S3VectorsClientResolvedConfigType {}
|
|
213
182
|
export declare class S3VectorsClient extends __Client<
|
|
214
183
|
__HttpHandlerOptions,
|
|
215
184
|
ServiceInputTypes,
|
|
@@ -217,8 +186,6 @@ export declare class S3VectorsClient extends __Client<
|
|
|
217
186
|
S3VectorsClientResolvedConfig
|
|
218
187
|
> {
|
|
219
188
|
readonly config: S3VectorsClientResolvedConfig;
|
|
220
|
-
constructor(
|
|
221
|
-
...[configuration]: __CheckOptionalClientConfig<S3VectorsClientConfig>
|
|
222
|
-
);
|
|
189
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<S3VectorsClientConfig>);
|
|
223
190
|
destroy(): void;
|
|
224
191
|
}
|
|
@@ -7,17 +7,10 @@ import { S3VectorsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): S3VectorsHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { S3VectorsClientResolvedConfig } from "../S3VectorsClient";
|
|
15
|
-
export interface S3VectorsHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface S3VectorsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface S3VectorsHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface S3VectorsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
S3VectorsClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
S3VectorsHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultS3VectorsHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: S3VectorsClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<S3VectorsHttpAuthSchemeParameters>;
|
|
31
|
-
export interface S3VectorsHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<S3VectorsHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface S3VectorsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<S3VectorsHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultS3VectorsHttpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: S3VectorsHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|