@aws-sdk/client-s3vectors 3.845.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/LICENSE +201 -0
- package/README.md +333 -0
- package/dist-cjs/S3Vectors.js +43 -0
- package/dist-cjs/S3VectorsClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateIndexCommand.js +26 -0
- package/dist-cjs/commands/CreateVectorBucketCommand.js +26 -0
- package/dist-cjs/commands/DeleteIndexCommand.js +26 -0
- package/dist-cjs/commands/DeleteVectorBucketCommand.js +26 -0
- package/dist-cjs/commands/DeleteVectorBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/DeleteVectorsCommand.js +26 -0
- package/dist-cjs/commands/GetIndexCommand.js +26 -0
- package/dist-cjs/commands/GetVectorBucketCommand.js +26 -0
- package/dist-cjs/commands/GetVectorBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/GetVectorsCommand.js +26 -0
- package/dist-cjs/commands/ListIndexesCommand.js +26 -0
- package/dist-cjs/commands/ListVectorBucketsCommand.js +26 -0
- package/dist-cjs/commands/ListVectorsCommand.js +26 -0
- package/dist-cjs/commands/PutVectorBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/PutVectorsCommand.js +26 -0
- package/dist-cjs/commands/QueryVectorsCommand.js +26 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/S3VectorsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +186 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListIndexesPaginator.js +7 -0
- package/dist-cjs/pagination/ListVectorBucketsPaginator.js +7 -0
- package/dist-cjs/pagination/ListVectorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +858 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/S3Vectors.js +39 -0
- package/dist-es/S3VectorsClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateIndexCommand.js +22 -0
- package/dist-es/commands/CreateVectorBucketCommand.js +22 -0
- package/dist-es/commands/DeleteIndexCommand.js +22 -0
- package/dist-es/commands/DeleteVectorBucketCommand.js +22 -0
- package/dist-es/commands/DeleteVectorBucketPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteVectorsCommand.js +22 -0
- package/dist-es/commands/GetIndexCommand.js +22 -0
- package/dist-es/commands/GetVectorBucketCommand.js +22 -0
- package/dist-es/commands/GetVectorBucketPolicyCommand.js +22 -0
- package/dist-es/commands/GetVectorsCommand.js +22 -0
- package/dist-es/commands/ListIndexesCommand.js +22 -0
- package/dist-es/commands/ListVectorBucketsCommand.js +22 -0
- package/dist-es/commands/ListVectorsCommand.js +22 -0
- package/dist-es/commands/PutVectorBucketPolicyCommand.js +22 -0
- package/dist-es/commands/PutVectorsCommand.js +22 -0
- package/dist-es/commands/QueryVectorsCommand.js +22 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/S3VectorsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +171 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListIndexesPaginator.js +4 -0
- package/dist-es/pagination/ListVectorBucketsPaginator.js +4 -0
- package/dist-es/pagination/ListVectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +823 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/S3Vectors.d.ts +131 -0
- package/dist-types/S3VectorsClient.d.ts +203 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +104 -0
- package/dist-types/commands/CreateVectorBucketCommand.d.ts +95 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +90 -0
- package/dist-types/commands/DeleteVectorBucketCommand.d.ts +92 -0
- package/dist-types/commands/DeleteVectorBucketPolicyCommand.d.ts +92 -0
- package/dist-types/commands/DeleteVectorsCommand.d.ts +108 -0
- package/dist-types/commands/GetIndexCommand.d.ts +108 -0
- package/dist-types/commands/GetVectorBucketCommand.d.ts +102 -0
- package/dist-types/commands/GetVectorBucketPolicyCommand.d.ts +94 -0
- package/dist-types/commands/GetVectorsCommand.d.ts +122 -0
- package/dist-types/commands/ListIndexesCommand.d.ts +105 -0
- package/dist-types/commands/ListVectorBucketsCommand.d.ts +99 -0
- package/dist-types/commands/ListVectorsCommand.d.ts +112 -0
- package/dist-types/commands/PutVectorBucketPolicyCommand.d.ts +93 -0
- package/dist-types/commands/PutVectorsCommand.d.ts +116 -0
- package/dist-types/commands/QueryVectorsCommand.d.ts +127 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/S3VectorsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1013 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListIndexesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVectorBucketsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/S3Vectors.d.ts +286 -0
- package/dist-types/ts3.4/S3VectorsClient.d.ts +215 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateVectorBucketCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteVectorBucketCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVectorBucketPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVectorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetVectorBucketCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetVectorBucketPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetVectorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListVectorBucketsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListVectorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutVectorBucketPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutVectorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/QueryVectorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/S3VectorsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +311 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVectorBucketsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +99 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
CreateIndexCommandInput,
|
|
4
|
+
CreateIndexCommandOutput,
|
|
5
|
+
} from "./commands/CreateIndexCommand";
|
|
6
|
+
import {
|
|
7
|
+
CreateVectorBucketCommandInput,
|
|
8
|
+
CreateVectorBucketCommandOutput,
|
|
9
|
+
} from "./commands/CreateVectorBucketCommand";
|
|
10
|
+
import {
|
|
11
|
+
DeleteIndexCommandInput,
|
|
12
|
+
DeleteIndexCommandOutput,
|
|
13
|
+
} from "./commands/DeleteIndexCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteVectorBucketCommandInput,
|
|
16
|
+
DeleteVectorBucketCommandOutput,
|
|
17
|
+
} from "./commands/DeleteVectorBucketCommand";
|
|
18
|
+
import {
|
|
19
|
+
DeleteVectorBucketPolicyCommandInput,
|
|
20
|
+
DeleteVectorBucketPolicyCommandOutput,
|
|
21
|
+
} from "./commands/DeleteVectorBucketPolicyCommand";
|
|
22
|
+
import {
|
|
23
|
+
DeleteVectorsCommandInput,
|
|
24
|
+
DeleteVectorsCommandOutput,
|
|
25
|
+
} from "./commands/DeleteVectorsCommand";
|
|
26
|
+
import {
|
|
27
|
+
GetIndexCommandInput,
|
|
28
|
+
GetIndexCommandOutput,
|
|
29
|
+
} from "./commands/GetIndexCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetVectorBucketCommandInput,
|
|
32
|
+
GetVectorBucketCommandOutput,
|
|
33
|
+
} from "./commands/GetVectorBucketCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetVectorBucketPolicyCommandInput,
|
|
36
|
+
GetVectorBucketPolicyCommandOutput,
|
|
37
|
+
} from "./commands/GetVectorBucketPolicyCommand";
|
|
38
|
+
import {
|
|
39
|
+
GetVectorsCommandInput,
|
|
40
|
+
GetVectorsCommandOutput,
|
|
41
|
+
} from "./commands/GetVectorsCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListIndexesCommandInput,
|
|
44
|
+
ListIndexesCommandOutput,
|
|
45
|
+
} from "./commands/ListIndexesCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListVectorBucketsCommandInput,
|
|
48
|
+
ListVectorBucketsCommandOutput,
|
|
49
|
+
} from "./commands/ListVectorBucketsCommand";
|
|
50
|
+
import {
|
|
51
|
+
ListVectorsCommandInput,
|
|
52
|
+
ListVectorsCommandOutput,
|
|
53
|
+
} from "./commands/ListVectorsCommand";
|
|
54
|
+
import {
|
|
55
|
+
PutVectorBucketPolicyCommandInput,
|
|
56
|
+
PutVectorBucketPolicyCommandOutput,
|
|
57
|
+
} from "./commands/PutVectorBucketPolicyCommand";
|
|
58
|
+
import {
|
|
59
|
+
PutVectorsCommandInput,
|
|
60
|
+
PutVectorsCommandOutput,
|
|
61
|
+
} from "./commands/PutVectorsCommand";
|
|
62
|
+
import {
|
|
63
|
+
QueryVectorsCommandInput,
|
|
64
|
+
QueryVectorsCommandOutput,
|
|
65
|
+
} from "./commands/QueryVectorsCommand";
|
|
66
|
+
import { S3VectorsClient } from "./S3VectorsClient";
|
|
67
|
+
export interface S3Vectors {
|
|
68
|
+
createIndex(
|
|
69
|
+
args: CreateIndexCommandInput,
|
|
70
|
+
options?: __HttpHandlerOptions
|
|
71
|
+
): Promise<CreateIndexCommandOutput>;
|
|
72
|
+
createIndex(
|
|
73
|
+
args: CreateIndexCommandInput,
|
|
74
|
+
cb: (err: any, data?: CreateIndexCommandOutput) => void
|
|
75
|
+
): void;
|
|
76
|
+
createIndex(
|
|
77
|
+
args: CreateIndexCommandInput,
|
|
78
|
+
options: __HttpHandlerOptions,
|
|
79
|
+
cb: (err: any, data?: CreateIndexCommandOutput) => void
|
|
80
|
+
): void;
|
|
81
|
+
createVectorBucket(
|
|
82
|
+
args: CreateVectorBucketCommandInput,
|
|
83
|
+
options?: __HttpHandlerOptions
|
|
84
|
+
): Promise<CreateVectorBucketCommandOutput>;
|
|
85
|
+
createVectorBucket(
|
|
86
|
+
args: CreateVectorBucketCommandInput,
|
|
87
|
+
cb: (err: any, data?: CreateVectorBucketCommandOutput) => void
|
|
88
|
+
): void;
|
|
89
|
+
createVectorBucket(
|
|
90
|
+
args: CreateVectorBucketCommandInput,
|
|
91
|
+
options: __HttpHandlerOptions,
|
|
92
|
+
cb: (err: any, data?: CreateVectorBucketCommandOutput) => void
|
|
93
|
+
): void;
|
|
94
|
+
deleteIndex(): Promise<DeleteIndexCommandOutput>;
|
|
95
|
+
deleteIndex(
|
|
96
|
+
args: DeleteIndexCommandInput,
|
|
97
|
+
options?: __HttpHandlerOptions
|
|
98
|
+
): Promise<DeleteIndexCommandOutput>;
|
|
99
|
+
deleteIndex(
|
|
100
|
+
args: DeleteIndexCommandInput,
|
|
101
|
+
cb: (err: any, data?: DeleteIndexCommandOutput) => void
|
|
102
|
+
): void;
|
|
103
|
+
deleteIndex(
|
|
104
|
+
args: DeleteIndexCommandInput,
|
|
105
|
+
options: __HttpHandlerOptions,
|
|
106
|
+
cb: (err: any, data?: DeleteIndexCommandOutput) => void
|
|
107
|
+
): void;
|
|
108
|
+
deleteVectorBucket(): Promise<DeleteVectorBucketCommandOutput>;
|
|
109
|
+
deleteVectorBucket(
|
|
110
|
+
args: DeleteVectorBucketCommandInput,
|
|
111
|
+
options?: __HttpHandlerOptions
|
|
112
|
+
): Promise<DeleteVectorBucketCommandOutput>;
|
|
113
|
+
deleteVectorBucket(
|
|
114
|
+
args: DeleteVectorBucketCommandInput,
|
|
115
|
+
cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void
|
|
116
|
+
): void;
|
|
117
|
+
deleteVectorBucket(
|
|
118
|
+
args: DeleteVectorBucketCommandInput,
|
|
119
|
+
options: __HttpHandlerOptions,
|
|
120
|
+
cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void
|
|
121
|
+
): void;
|
|
122
|
+
deleteVectorBucketPolicy(): Promise<DeleteVectorBucketPolicyCommandOutput>;
|
|
123
|
+
deleteVectorBucketPolicy(
|
|
124
|
+
args: DeleteVectorBucketPolicyCommandInput,
|
|
125
|
+
options?: __HttpHandlerOptions
|
|
126
|
+
): Promise<DeleteVectorBucketPolicyCommandOutput>;
|
|
127
|
+
deleteVectorBucketPolicy(
|
|
128
|
+
args: DeleteVectorBucketPolicyCommandInput,
|
|
129
|
+
cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void
|
|
130
|
+
): void;
|
|
131
|
+
deleteVectorBucketPolicy(
|
|
132
|
+
args: DeleteVectorBucketPolicyCommandInput,
|
|
133
|
+
options: __HttpHandlerOptions,
|
|
134
|
+
cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void
|
|
135
|
+
): void;
|
|
136
|
+
deleteVectors(
|
|
137
|
+
args: DeleteVectorsCommandInput,
|
|
138
|
+
options?: __HttpHandlerOptions
|
|
139
|
+
): Promise<DeleteVectorsCommandOutput>;
|
|
140
|
+
deleteVectors(
|
|
141
|
+
args: DeleteVectorsCommandInput,
|
|
142
|
+
cb: (err: any, data?: DeleteVectorsCommandOutput) => void
|
|
143
|
+
): void;
|
|
144
|
+
deleteVectors(
|
|
145
|
+
args: DeleteVectorsCommandInput,
|
|
146
|
+
options: __HttpHandlerOptions,
|
|
147
|
+
cb: (err: any, data?: DeleteVectorsCommandOutput) => void
|
|
148
|
+
): void;
|
|
149
|
+
getIndex(): Promise<GetIndexCommandOutput>;
|
|
150
|
+
getIndex(
|
|
151
|
+
args: GetIndexCommandInput,
|
|
152
|
+
options?: __HttpHandlerOptions
|
|
153
|
+
): Promise<GetIndexCommandOutput>;
|
|
154
|
+
getIndex(
|
|
155
|
+
args: GetIndexCommandInput,
|
|
156
|
+
cb: (err: any, data?: GetIndexCommandOutput) => void
|
|
157
|
+
): void;
|
|
158
|
+
getIndex(
|
|
159
|
+
args: GetIndexCommandInput,
|
|
160
|
+
options: __HttpHandlerOptions,
|
|
161
|
+
cb: (err: any, data?: GetIndexCommandOutput) => void
|
|
162
|
+
): void;
|
|
163
|
+
getVectorBucket(): Promise<GetVectorBucketCommandOutput>;
|
|
164
|
+
getVectorBucket(
|
|
165
|
+
args: GetVectorBucketCommandInput,
|
|
166
|
+
options?: __HttpHandlerOptions
|
|
167
|
+
): Promise<GetVectorBucketCommandOutput>;
|
|
168
|
+
getVectorBucket(
|
|
169
|
+
args: GetVectorBucketCommandInput,
|
|
170
|
+
cb: (err: any, data?: GetVectorBucketCommandOutput) => void
|
|
171
|
+
): void;
|
|
172
|
+
getVectorBucket(
|
|
173
|
+
args: GetVectorBucketCommandInput,
|
|
174
|
+
options: __HttpHandlerOptions,
|
|
175
|
+
cb: (err: any, data?: GetVectorBucketCommandOutput) => void
|
|
176
|
+
): void;
|
|
177
|
+
getVectorBucketPolicy(): Promise<GetVectorBucketPolicyCommandOutput>;
|
|
178
|
+
getVectorBucketPolicy(
|
|
179
|
+
args: GetVectorBucketPolicyCommandInput,
|
|
180
|
+
options?: __HttpHandlerOptions
|
|
181
|
+
): Promise<GetVectorBucketPolicyCommandOutput>;
|
|
182
|
+
getVectorBucketPolicy(
|
|
183
|
+
args: GetVectorBucketPolicyCommandInput,
|
|
184
|
+
cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void
|
|
185
|
+
): void;
|
|
186
|
+
getVectorBucketPolicy(
|
|
187
|
+
args: GetVectorBucketPolicyCommandInput,
|
|
188
|
+
options: __HttpHandlerOptions,
|
|
189
|
+
cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void
|
|
190
|
+
): void;
|
|
191
|
+
getVectors(
|
|
192
|
+
args: GetVectorsCommandInput,
|
|
193
|
+
options?: __HttpHandlerOptions
|
|
194
|
+
): Promise<GetVectorsCommandOutput>;
|
|
195
|
+
getVectors(
|
|
196
|
+
args: GetVectorsCommandInput,
|
|
197
|
+
cb: (err: any, data?: GetVectorsCommandOutput) => void
|
|
198
|
+
): void;
|
|
199
|
+
getVectors(
|
|
200
|
+
args: GetVectorsCommandInput,
|
|
201
|
+
options: __HttpHandlerOptions,
|
|
202
|
+
cb: (err: any, data?: GetVectorsCommandOutput) => void
|
|
203
|
+
): void;
|
|
204
|
+
listIndexes(): Promise<ListIndexesCommandOutput>;
|
|
205
|
+
listIndexes(
|
|
206
|
+
args: ListIndexesCommandInput,
|
|
207
|
+
options?: __HttpHandlerOptions
|
|
208
|
+
): Promise<ListIndexesCommandOutput>;
|
|
209
|
+
listIndexes(
|
|
210
|
+
args: ListIndexesCommandInput,
|
|
211
|
+
cb: (err: any, data?: ListIndexesCommandOutput) => void
|
|
212
|
+
): void;
|
|
213
|
+
listIndexes(
|
|
214
|
+
args: ListIndexesCommandInput,
|
|
215
|
+
options: __HttpHandlerOptions,
|
|
216
|
+
cb: (err: any, data?: ListIndexesCommandOutput) => void
|
|
217
|
+
): void;
|
|
218
|
+
listVectorBuckets(): Promise<ListVectorBucketsCommandOutput>;
|
|
219
|
+
listVectorBuckets(
|
|
220
|
+
args: ListVectorBucketsCommandInput,
|
|
221
|
+
options?: __HttpHandlerOptions
|
|
222
|
+
): Promise<ListVectorBucketsCommandOutput>;
|
|
223
|
+
listVectorBuckets(
|
|
224
|
+
args: ListVectorBucketsCommandInput,
|
|
225
|
+
cb: (err: any, data?: ListVectorBucketsCommandOutput) => void
|
|
226
|
+
): void;
|
|
227
|
+
listVectorBuckets(
|
|
228
|
+
args: ListVectorBucketsCommandInput,
|
|
229
|
+
options: __HttpHandlerOptions,
|
|
230
|
+
cb: (err: any, data?: ListVectorBucketsCommandOutput) => void
|
|
231
|
+
): void;
|
|
232
|
+
listVectors(): Promise<ListVectorsCommandOutput>;
|
|
233
|
+
listVectors(
|
|
234
|
+
args: ListVectorsCommandInput,
|
|
235
|
+
options?: __HttpHandlerOptions
|
|
236
|
+
): Promise<ListVectorsCommandOutput>;
|
|
237
|
+
listVectors(
|
|
238
|
+
args: ListVectorsCommandInput,
|
|
239
|
+
cb: (err: any, data?: ListVectorsCommandOutput) => void
|
|
240
|
+
): void;
|
|
241
|
+
listVectors(
|
|
242
|
+
args: ListVectorsCommandInput,
|
|
243
|
+
options: __HttpHandlerOptions,
|
|
244
|
+
cb: (err: any, data?: ListVectorsCommandOutput) => void
|
|
245
|
+
): void;
|
|
246
|
+
putVectorBucketPolicy(
|
|
247
|
+
args: PutVectorBucketPolicyCommandInput,
|
|
248
|
+
options?: __HttpHandlerOptions
|
|
249
|
+
): Promise<PutVectorBucketPolicyCommandOutput>;
|
|
250
|
+
putVectorBucketPolicy(
|
|
251
|
+
args: PutVectorBucketPolicyCommandInput,
|
|
252
|
+
cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void
|
|
253
|
+
): void;
|
|
254
|
+
putVectorBucketPolicy(
|
|
255
|
+
args: PutVectorBucketPolicyCommandInput,
|
|
256
|
+
options: __HttpHandlerOptions,
|
|
257
|
+
cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void
|
|
258
|
+
): void;
|
|
259
|
+
putVectors(
|
|
260
|
+
args: PutVectorsCommandInput,
|
|
261
|
+
options?: __HttpHandlerOptions
|
|
262
|
+
): Promise<PutVectorsCommandOutput>;
|
|
263
|
+
putVectors(
|
|
264
|
+
args: PutVectorsCommandInput,
|
|
265
|
+
cb: (err: any, data?: PutVectorsCommandOutput) => void
|
|
266
|
+
): void;
|
|
267
|
+
putVectors(
|
|
268
|
+
args: PutVectorsCommandInput,
|
|
269
|
+
options: __HttpHandlerOptions,
|
|
270
|
+
cb: (err: any, data?: PutVectorsCommandOutput) => void
|
|
271
|
+
): void;
|
|
272
|
+
queryVectors(
|
|
273
|
+
args: QueryVectorsCommandInput,
|
|
274
|
+
options?: __HttpHandlerOptions
|
|
275
|
+
): Promise<QueryVectorsCommandOutput>;
|
|
276
|
+
queryVectors(
|
|
277
|
+
args: QueryVectorsCommandInput,
|
|
278
|
+
cb: (err: any, data?: QueryVectorsCommandOutput) => void
|
|
279
|
+
): void;
|
|
280
|
+
queryVectors(
|
|
281
|
+
args: QueryVectorsCommandInput,
|
|
282
|
+
options: __HttpHandlerOptions,
|
|
283
|
+
cb: (err: any, data?: QueryVectorsCommandOutput) => void
|
|
284
|
+
): void;
|
|
285
|
+
}
|
|
286
|
+
export declare class S3Vectors extends S3VectorsClient implements S3Vectors {}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
Client as __Client,
|
|
24
|
+
DefaultsMode as __DefaultsMode,
|
|
25
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
26
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
StreamCollector as __StreamCollector,
|
|
41
|
+
UrlParser as __UrlParser,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
CreateIndexCommandInput,
|
|
50
|
+
CreateIndexCommandOutput,
|
|
51
|
+
} from "./commands/CreateIndexCommand";
|
|
52
|
+
import {
|
|
53
|
+
CreateVectorBucketCommandInput,
|
|
54
|
+
CreateVectorBucketCommandOutput,
|
|
55
|
+
} from "./commands/CreateVectorBucketCommand";
|
|
56
|
+
import {
|
|
57
|
+
DeleteIndexCommandInput,
|
|
58
|
+
DeleteIndexCommandOutput,
|
|
59
|
+
} from "./commands/DeleteIndexCommand";
|
|
60
|
+
import {
|
|
61
|
+
DeleteVectorBucketCommandInput,
|
|
62
|
+
DeleteVectorBucketCommandOutput,
|
|
63
|
+
} from "./commands/DeleteVectorBucketCommand";
|
|
64
|
+
import {
|
|
65
|
+
DeleteVectorBucketPolicyCommandInput,
|
|
66
|
+
DeleteVectorBucketPolicyCommandOutput,
|
|
67
|
+
} from "./commands/DeleteVectorBucketPolicyCommand";
|
|
68
|
+
import {
|
|
69
|
+
DeleteVectorsCommandInput,
|
|
70
|
+
DeleteVectorsCommandOutput,
|
|
71
|
+
} from "./commands/DeleteVectorsCommand";
|
|
72
|
+
import {
|
|
73
|
+
GetIndexCommandInput,
|
|
74
|
+
GetIndexCommandOutput,
|
|
75
|
+
} from "./commands/GetIndexCommand";
|
|
76
|
+
import {
|
|
77
|
+
GetVectorBucketCommandInput,
|
|
78
|
+
GetVectorBucketCommandOutput,
|
|
79
|
+
} from "./commands/GetVectorBucketCommand";
|
|
80
|
+
import {
|
|
81
|
+
GetVectorBucketPolicyCommandInput,
|
|
82
|
+
GetVectorBucketPolicyCommandOutput,
|
|
83
|
+
} from "./commands/GetVectorBucketPolicyCommand";
|
|
84
|
+
import {
|
|
85
|
+
GetVectorsCommandInput,
|
|
86
|
+
GetVectorsCommandOutput,
|
|
87
|
+
} from "./commands/GetVectorsCommand";
|
|
88
|
+
import {
|
|
89
|
+
ListIndexesCommandInput,
|
|
90
|
+
ListIndexesCommandOutput,
|
|
91
|
+
} from "./commands/ListIndexesCommand";
|
|
92
|
+
import {
|
|
93
|
+
ListVectorBucketsCommandInput,
|
|
94
|
+
ListVectorBucketsCommandOutput,
|
|
95
|
+
} from "./commands/ListVectorBucketsCommand";
|
|
96
|
+
import {
|
|
97
|
+
ListVectorsCommandInput,
|
|
98
|
+
ListVectorsCommandOutput,
|
|
99
|
+
} from "./commands/ListVectorsCommand";
|
|
100
|
+
import {
|
|
101
|
+
PutVectorBucketPolicyCommandInput,
|
|
102
|
+
PutVectorBucketPolicyCommandOutput,
|
|
103
|
+
} from "./commands/PutVectorBucketPolicyCommand";
|
|
104
|
+
import {
|
|
105
|
+
PutVectorsCommandInput,
|
|
106
|
+
PutVectorsCommandOutput,
|
|
107
|
+
} from "./commands/PutVectorsCommand";
|
|
108
|
+
import {
|
|
109
|
+
QueryVectorsCommandInput,
|
|
110
|
+
QueryVectorsCommandOutput,
|
|
111
|
+
} from "./commands/QueryVectorsCommand";
|
|
112
|
+
import {
|
|
113
|
+
ClientInputEndpointParameters,
|
|
114
|
+
ClientResolvedEndpointParameters,
|
|
115
|
+
EndpointParameters,
|
|
116
|
+
} from "./endpoint/EndpointParameters";
|
|
117
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
118
|
+
export { __Client };
|
|
119
|
+
export type ServiceInputTypes =
|
|
120
|
+
| CreateIndexCommandInput
|
|
121
|
+
| CreateVectorBucketCommandInput
|
|
122
|
+
| DeleteIndexCommandInput
|
|
123
|
+
| DeleteVectorBucketCommandInput
|
|
124
|
+
| DeleteVectorBucketPolicyCommandInput
|
|
125
|
+
| DeleteVectorsCommandInput
|
|
126
|
+
| GetIndexCommandInput
|
|
127
|
+
| GetVectorBucketCommandInput
|
|
128
|
+
| GetVectorBucketPolicyCommandInput
|
|
129
|
+
| GetVectorsCommandInput
|
|
130
|
+
| ListIndexesCommandInput
|
|
131
|
+
| ListVectorBucketsCommandInput
|
|
132
|
+
| ListVectorsCommandInput
|
|
133
|
+
| PutVectorBucketPolicyCommandInput
|
|
134
|
+
| PutVectorsCommandInput
|
|
135
|
+
| QueryVectorsCommandInput;
|
|
136
|
+
export type ServiceOutputTypes =
|
|
137
|
+
| CreateIndexCommandOutput
|
|
138
|
+
| CreateVectorBucketCommandOutput
|
|
139
|
+
| DeleteIndexCommandOutput
|
|
140
|
+
| DeleteVectorBucketCommandOutput
|
|
141
|
+
| DeleteVectorBucketPolicyCommandOutput
|
|
142
|
+
| DeleteVectorsCommandOutput
|
|
143
|
+
| GetIndexCommandOutput
|
|
144
|
+
| GetVectorBucketCommandOutput
|
|
145
|
+
| GetVectorBucketPolicyCommandOutput
|
|
146
|
+
| GetVectorsCommandOutput
|
|
147
|
+
| ListIndexesCommandOutput
|
|
148
|
+
| ListVectorBucketsCommandOutput
|
|
149
|
+
| ListVectorsCommandOutput
|
|
150
|
+
| PutVectorBucketPolicyCommandOutput
|
|
151
|
+
| PutVectorsCommandOutput
|
|
152
|
+
| QueryVectorsCommandOutput;
|
|
153
|
+
export interface ClientDefaults
|
|
154
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
155
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
156
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
157
|
+
urlParser?: __UrlParser;
|
|
158
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
159
|
+
streamCollector?: __StreamCollector;
|
|
160
|
+
base64Decoder?: __Decoder;
|
|
161
|
+
base64Encoder?: __Encoder;
|
|
162
|
+
utf8Decoder?: __Decoder;
|
|
163
|
+
utf8Encoder?: __Encoder;
|
|
164
|
+
runtime?: string;
|
|
165
|
+
disableHostPrefix?: boolean;
|
|
166
|
+
serviceId?: string;
|
|
167
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
168
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
169
|
+
region?: string | __Provider<string>;
|
|
170
|
+
profile?: string;
|
|
171
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
172
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
173
|
+
maxAttempts?: number | __Provider<number>;
|
|
174
|
+
retryMode?: string | __Provider<string>;
|
|
175
|
+
logger?: __Logger;
|
|
176
|
+
extensions?: RuntimeExtension[];
|
|
177
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
178
|
+
}
|
|
179
|
+
export type S3VectorsClientConfigType = Partial<
|
|
180
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
181
|
+
> &
|
|
182
|
+
ClientDefaults &
|
|
183
|
+
UserAgentInputConfig &
|
|
184
|
+
RetryInputConfig &
|
|
185
|
+
RegionInputConfig &
|
|
186
|
+
HostHeaderInputConfig &
|
|
187
|
+
EndpointInputConfig<EndpointParameters> &
|
|
188
|
+
HttpAuthSchemeInputConfig &
|
|
189
|
+
ClientInputEndpointParameters;
|
|
190
|
+
export interface S3VectorsClientConfig extends S3VectorsClientConfigType {}
|
|
191
|
+
export type S3VectorsClientResolvedConfigType =
|
|
192
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
193
|
+
Required<ClientDefaults> &
|
|
194
|
+
RuntimeExtensionsConfig &
|
|
195
|
+
UserAgentResolvedConfig &
|
|
196
|
+
RetryResolvedConfig &
|
|
197
|
+
RegionResolvedConfig &
|
|
198
|
+
HostHeaderResolvedConfig &
|
|
199
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
200
|
+
HttpAuthSchemeResolvedConfig &
|
|
201
|
+
ClientResolvedEndpointParameters;
|
|
202
|
+
export interface S3VectorsClientResolvedConfig
|
|
203
|
+
extends S3VectorsClientResolvedConfigType {}
|
|
204
|
+
export declare class S3VectorsClient extends __Client<
|
|
205
|
+
__HttpHandlerOptions,
|
|
206
|
+
ServiceInputTypes,
|
|
207
|
+
ServiceOutputTypes,
|
|
208
|
+
S3VectorsClientResolvedConfig
|
|
209
|
+
> {
|
|
210
|
+
readonly config: S3VectorsClientResolvedConfig;
|
|
211
|
+
constructor(
|
|
212
|
+
...[configuration]: __CheckOptionalClientConfig<S3VectorsClientConfig>
|
|
213
|
+
);
|
|
214
|
+
destroy(): void;
|
|
215
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { S3VectorsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): S3VectorsHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { S3VectorsClientResolvedConfig } from "../S3VectorsClient";
|
|
15
|
+
export interface S3VectorsHttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface S3VectorsHttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
S3VectorsClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
S3VectorsHttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultS3VectorsHttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: S3VectorsClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<S3VectorsHttpAuthSchemeParameters>;
|
|
31
|
+
export interface S3VectorsHttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<S3VectorsHttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultS3VectorsHttpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: S3VectorsHttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: S3VectorsHttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateIndexInput, CreateIndexOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
S3VectorsClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../S3VectorsClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface CreateIndexCommandInput extends CreateIndexInput {}
|
|
12
|
+
export interface CreateIndexCommandOutput
|
|
13
|
+
extends CreateIndexOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const CreateIndexCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: CreateIndexCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
CreateIndexCommandInput,
|
|
20
|
+
CreateIndexCommandOutput,
|
|
21
|
+
S3VectorsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: CreateIndexCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
CreateIndexCommandInput,
|
|
29
|
+
CreateIndexCommandOutput,
|
|
30
|
+
S3VectorsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class CreateIndexCommand extends CreateIndexCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CreateIndexInput;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CreateIndexCommandInput;
|
|
44
|
+
output: CreateIndexCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateVectorBucketInput,
|
|
5
|
+
CreateVectorBucketOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
S3VectorsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../S3VectorsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateVectorBucketCommandInput
|
|
15
|
+
extends CreateVectorBucketInput {}
|
|
16
|
+
export interface CreateVectorBucketCommandOutput
|
|
17
|
+
extends CreateVectorBucketOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateVectorBucketCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateVectorBucketCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateVectorBucketCommandInput,
|
|
24
|
+
CreateVectorBucketCommandOutput,
|
|
25
|
+
S3VectorsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateVectorBucketCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateVectorBucketCommandInput,
|
|
33
|
+
CreateVectorBucketCommandOutput,
|
|
34
|
+
S3VectorsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateVectorBucketCommand extends CreateVectorBucketCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateVectorBucketInput;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateVectorBucketCommandInput;
|
|
48
|
+
output: CreateVectorBucketCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|