@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.
Files changed (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +333 -0
  3. package/dist-cjs/S3Vectors.js +43 -0
  4. package/dist-cjs/S3VectorsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateIndexCommand.js +26 -0
  8. package/dist-cjs/commands/CreateVectorBucketCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteIndexCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteVectorBucketCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteVectorBucketPolicyCommand.js +26 -0
  12. package/dist-cjs/commands/DeleteVectorsCommand.js +26 -0
  13. package/dist-cjs/commands/GetIndexCommand.js +26 -0
  14. package/dist-cjs/commands/GetVectorBucketCommand.js +26 -0
  15. package/dist-cjs/commands/GetVectorBucketPolicyCommand.js +26 -0
  16. package/dist-cjs/commands/GetVectorsCommand.js +26 -0
  17. package/dist-cjs/commands/ListIndexesCommand.js +26 -0
  18. package/dist-cjs/commands/ListVectorBucketsCommand.js +26 -0
  19. package/dist-cjs/commands/ListVectorsCommand.js +26 -0
  20. package/dist-cjs/commands/PutVectorBucketPolicyCommand.js +26 -0
  21. package/dist-cjs/commands/PutVectorsCommand.js +26 -0
  22. package/dist-cjs/commands/QueryVectorsCommand.js +26 -0
  23. package/dist-cjs/commands/index.js +19 -0
  24. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  25. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  26. package/dist-cjs/endpoint/ruleset.js +7 -0
  27. package/dist-cjs/extensionConfiguration.js +2 -0
  28. package/dist-cjs/index.js +11 -0
  29. package/dist-cjs/models/S3VectorsServiceException.js +12 -0
  30. package/dist-cjs/models/index.js +4 -0
  31. package/dist-cjs/models/models_0.js +186 -0
  32. package/dist-cjs/pagination/Interfaces.js +2 -0
  33. package/dist-cjs/pagination/ListIndexesPaginator.js +7 -0
  34. package/dist-cjs/pagination/ListVectorBucketsPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListVectorsPaginator.js +7 -0
  36. package/dist-cjs/pagination/index.js +7 -0
  37. package/dist-cjs/protocols/Aws_restJson1.js +858 -0
  38. package/dist-cjs/runtimeConfig.browser.js +39 -0
  39. package/dist-cjs/runtimeConfig.js +56 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +34 -0
  42. package/dist-cjs/runtimeExtensions.js +13 -0
  43. package/dist-es/S3Vectors.js +39 -0
  44. package/dist-es/S3VectorsClient.js +48 -0
  45. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  46. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  47. package/dist-es/commands/CreateIndexCommand.js +22 -0
  48. package/dist-es/commands/CreateVectorBucketCommand.js +22 -0
  49. package/dist-es/commands/DeleteIndexCommand.js +22 -0
  50. package/dist-es/commands/DeleteVectorBucketCommand.js +22 -0
  51. package/dist-es/commands/DeleteVectorBucketPolicyCommand.js +22 -0
  52. package/dist-es/commands/DeleteVectorsCommand.js +22 -0
  53. package/dist-es/commands/GetIndexCommand.js +22 -0
  54. package/dist-es/commands/GetVectorBucketCommand.js +22 -0
  55. package/dist-es/commands/GetVectorBucketPolicyCommand.js +22 -0
  56. package/dist-es/commands/GetVectorsCommand.js +22 -0
  57. package/dist-es/commands/ListIndexesCommand.js +22 -0
  58. package/dist-es/commands/ListVectorBucketsCommand.js +22 -0
  59. package/dist-es/commands/ListVectorsCommand.js +22 -0
  60. package/dist-es/commands/PutVectorBucketPolicyCommand.js +22 -0
  61. package/dist-es/commands/PutVectorsCommand.js +22 -0
  62. package/dist-es/commands/QueryVectorsCommand.js +22 -0
  63. package/dist-es/commands/index.js +16 -0
  64. package/dist-es/endpoint/EndpointParameters.js +11 -0
  65. package/dist-es/endpoint/endpointResolver.js +14 -0
  66. package/dist-es/endpoint/ruleset.js +4 -0
  67. package/dist-es/extensionConfiguration.js +1 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/S3VectorsServiceException.js +8 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +171 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListIndexesPaginator.js +4 -0
  74. package/dist-es/pagination/ListVectorBucketsPaginator.js +4 -0
  75. package/dist-es/pagination/ListVectorsPaginator.js +4 -0
  76. package/dist-es/pagination/index.js +4 -0
  77. package/dist-es/protocols/Aws_restJson1.js +823 -0
  78. package/dist-es/runtimeConfig.browser.js +34 -0
  79. package/dist-es/runtimeConfig.js +51 -0
  80. package/dist-es/runtimeConfig.native.js +11 -0
  81. package/dist-es/runtimeConfig.shared.js +30 -0
  82. package/dist-es/runtimeExtensions.js +9 -0
  83. package/dist-types/S3Vectors.d.ts +131 -0
  84. package/dist-types/S3VectorsClient.d.ts +203 -0
  85. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  86. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  87. package/dist-types/commands/CreateIndexCommand.d.ts +104 -0
  88. package/dist-types/commands/CreateVectorBucketCommand.d.ts +95 -0
  89. package/dist-types/commands/DeleteIndexCommand.d.ts +90 -0
  90. package/dist-types/commands/DeleteVectorBucketCommand.d.ts +92 -0
  91. package/dist-types/commands/DeleteVectorBucketPolicyCommand.d.ts +92 -0
  92. package/dist-types/commands/DeleteVectorsCommand.d.ts +108 -0
  93. package/dist-types/commands/GetIndexCommand.d.ts +108 -0
  94. package/dist-types/commands/GetVectorBucketCommand.d.ts +102 -0
  95. package/dist-types/commands/GetVectorBucketPolicyCommand.d.ts +94 -0
  96. package/dist-types/commands/GetVectorsCommand.d.ts +122 -0
  97. package/dist-types/commands/ListIndexesCommand.d.ts +105 -0
  98. package/dist-types/commands/ListVectorBucketsCommand.d.ts +99 -0
  99. package/dist-types/commands/ListVectorsCommand.d.ts +112 -0
  100. package/dist-types/commands/PutVectorBucketPolicyCommand.d.ts +93 -0
  101. package/dist-types/commands/PutVectorsCommand.d.ts +116 -0
  102. package/dist-types/commands/QueryVectorsCommand.d.ts +127 -0
  103. package/dist-types/commands/index.d.ts +16 -0
  104. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  105. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  106. package/dist-types/endpoint/ruleset.d.ts +2 -0
  107. package/dist-types/extensionConfiguration.d.ts +9 -0
  108. package/dist-types/index.d.ts +14 -0
  109. package/dist-types/models/S3VectorsServiceException.d.ts +14 -0
  110. package/dist-types/models/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +1013 -0
  112. package/dist-types/pagination/Interfaces.d.ts +8 -0
  113. package/dist-types/pagination/ListIndexesPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListVectorBucketsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListVectorsPaginator.d.ts +7 -0
  116. package/dist-types/pagination/index.d.ts +4 -0
  117. package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
  118. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  119. package/dist-types/runtimeConfig.d.ts +50 -0
  120. package/dist-types/runtimeConfig.native.d.ts +49 -0
  121. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  122. package/dist-types/runtimeExtensions.d.ts +17 -0
  123. package/dist-types/ts3.4/S3Vectors.d.ts +286 -0
  124. package/dist-types/ts3.4/S3VectorsClient.d.ts +215 -0
  125. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  126. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +47 -0
  128. package/dist-types/ts3.4/commands/CreateVectorBucketCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +47 -0
  130. package/dist-types/ts3.4/commands/DeleteVectorBucketCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/DeleteVectorBucketPolicyCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/DeleteVectorsCommand.d.ts +47 -0
  133. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +47 -0
  134. package/dist-types/ts3.4/commands/GetVectorBucketCommand.d.ts +50 -0
  135. package/dist-types/ts3.4/commands/GetVectorBucketPolicyCommand.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/GetVectorsCommand.d.ts +47 -0
  137. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +47 -0
  138. package/dist-types/ts3.4/commands/ListVectorBucketsCommand.d.ts +50 -0
  139. package/dist-types/ts3.4/commands/ListVectorsCommand.d.ts +47 -0
  140. package/dist-types/ts3.4/commands/PutVectorBucketPolicyCommand.d.ts +51 -0
  141. package/dist-types/ts3.4/commands/PutVectorsCommand.d.ts +47 -0
  142. package/dist-types/ts3.4/commands/QueryVectorsCommand.d.ts +47 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  144. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  145. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  146. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  147. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  148. package/dist-types/ts3.4/index.d.ts +9 -0
  149. package/dist-types/ts3.4/models/S3VectorsServiceException.d.ts +9 -0
  150. package/dist-types/ts3.4/models/index.d.ts +1 -0
  151. package/dist-types/ts3.4/models/models_0.d.ts +311 -0
  152. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  153. package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListVectorBucketsPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListVectorsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  157. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
  158. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  159. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  160. package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
  161. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  162. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  163. package/package.json +99 -0
@@ -0,0 +1,1013 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
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
+ * @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];
51
+ /**
52
+ * <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
+ * @public
54
+ */
55
+ export interface MetadataConfiguration {
56
+ /**
57
+ * <p>Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. Unlike default metadata keys, these keys can’t be used as query filters. Non-filterable metadata keys can be retrieved but can’t be searched, queried, or filtered. You can access non-filterable metadata keys of your vectors after finding the vectors. For more information about non-filterable metadata keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-vectors.html">Vectors</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-limitations.html">Limitations and restrictions</a> in the <i>Amazon S3 User Guide</i>. </p>
58
+ * @public
59
+ */
60
+ nonFilterableMetadataKeys: string[] | undefined;
61
+ }
62
+ /**
63
+ * @public
64
+ */
65
+ export interface CreateIndexInput {
66
+ /**
67
+ * <p>The name of the vector bucket to create the vector index in. </p>
68
+ * @public
69
+ */
70
+ vectorBucketName?: string | undefined;
71
+ /**
72
+ * <p>The Amazon Resource Name (ARN) of the vector bucket to create the vector index in.</p>
73
+ * @public
74
+ */
75
+ vectorBucketArn?: string | undefined;
76
+ /**
77
+ * <p>The name of the vector index to create. </p>
78
+ * @public
79
+ */
80
+ indexName: string | undefined;
81
+ /**
82
+ * <p>The data type of the vectors to be inserted into the vector index. </p>
83
+ * @public
84
+ */
85
+ dataType: DataType | undefined;
86
+ /**
87
+ * <p>The dimensions of the vectors to be inserted into the vector index. </p>
88
+ * @public
89
+ */
90
+ dimension: number | undefined;
91
+ /**
92
+ * <p>The distance metric to be used for similarity search. </p>
93
+ * @public
94
+ */
95
+ distanceMetric: DistanceMetric | undefined;
96
+ /**
97
+ * <p>The metadata configuration for the vector index. </p>
98
+ * @public
99
+ */
100
+ metadataConfiguration?: MetadataConfiguration | undefined;
101
+ }
102
+ /**
103
+ * @public
104
+ */
105
+ export interface CreateIndexOutput {
106
+ }
107
+ /**
108
+ * <p>The request failed due to an internal server error.</p>
109
+ * @public
110
+ */
111
+ export declare class InternalServerException extends __BaseException {
112
+ readonly name: "InternalServerException";
113
+ readonly $fault: "server";
114
+ $retryable: {};
115
+ /**
116
+ * @internal
117
+ */
118
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
119
+ }
120
+ /**
121
+ * <p>The request was rejected because the specified resource can't be found.</p>
122
+ * @public
123
+ */
124
+ export declare class NotFoundException extends __BaseException {
125
+ readonly name: "NotFoundException";
126
+ readonly $fault: "client";
127
+ /**
128
+ * @internal
129
+ */
130
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
131
+ }
132
+ /**
133
+ * <p>Your request exceeds a service quota. </p>
134
+ * @public
135
+ */
136
+ export declare class ServiceQuotaExceededException extends __BaseException {
137
+ readonly name: "ServiceQuotaExceededException";
138
+ readonly $fault: "client";
139
+ /**
140
+ * @internal
141
+ */
142
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
143
+ }
144
+ /**
145
+ * <p>The service is unavailable. Wait briefly and retry your request. If it continues to fail, increase your waiting time between retries.</p>
146
+ * @public
147
+ */
148
+ export declare class ServiceUnavailableException extends __BaseException {
149
+ readonly name: "ServiceUnavailableException";
150
+ readonly $fault: "server";
151
+ $retryable: {};
152
+ /**
153
+ * @internal
154
+ */
155
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
156
+ }
157
+ /**
158
+ * <p>The request was denied due to request throttling.</p>
159
+ * @public
160
+ */
161
+ export declare class TooManyRequestsException extends __BaseException {
162
+ readonly name: "TooManyRequestsException";
163
+ readonly $fault: "client";
164
+ $retryable: {
165
+ throttling: boolean;
166
+ };
167
+ /**
168
+ * @internal
169
+ */
170
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
171
+ }
172
+ /**
173
+ * <p>Contains information about a validation exception.</p>
174
+ * @public
175
+ */
176
+ export interface ValidationExceptionField {
177
+ /**
178
+ * <p>A path about the validation exception.</p>
179
+ * @public
180
+ */
181
+ path: string | undefined;
182
+ /**
183
+ * <p>A message about the validation exception.</p>
184
+ * @public
185
+ */
186
+ message: string | undefined;
187
+ }
188
+ /**
189
+ * <p>The requested action isn't valid.</p>
190
+ * @public
191
+ */
192
+ export declare class ValidationException extends __BaseException {
193
+ readonly name: "ValidationException";
194
+ readonly $fault: "client";
195
+ /**
196
+ * <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>
197
+ * @public
198
+ */
199
+ fieldList?: ValidationExceptionField[] | undefined;
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
204
+ }
205
+ /**
206
+ * @public
207
+ * @enum
208
+ */
209
+ export declare const SseType: {
210
+ readonly AES256: "AES256";
211
+ readonly AWS_KMS: "aws:kms";
212
+ };
213
+ /**
214
+ * @public
215
+ */
216
+ export type SseType = (typeof SseType)[keyof typeof SseType];
217
+ /**
218
+ * <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>
219
+ * @public
220
+ */
221
+ export interface EncryptionConfiguration {
222
+ /**
223
+ * <p>The server-side encryption type to use for the encryption configuration of the 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>
224
+ * @public
225
+ */
226
+ sseType?: SseType | undefined;
227
+ /**
228
+ * <p>Amazon Web Services Key Management Service (KMS) customer managed key ID to use for the encryption configuration. This parameter is allowed if and only if <code>sseType</code> is set to <code>aws:kms</code>.</p> <p>To specify the KMS key, you must use the format of the KMS key Amazon Resource Name (ARN).</p> <p>For example, specify Key ARN in the following format: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> </p>
229
+ * @public
230
+ */
231
+ kmsKeyArn?: string | undefined;
232
+ }
233
+ /**
234
+ * @public
235
+ */
236
+ export interface CreateVectorBucketInput {
237
+ /**
238
+ * <p>The name of the vector bucket to create. </p>
239
+ * @public
240
+ */
241
+ vectorBucketName: string | undefined;
242
+ /**
243
+ * <p>The encryption configuration for the 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>
244
+ * @public
245
+ */
246
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
247
+ }
248
+ /**
249
+ * @public
250
+ */
251
+ export interface CreateVectorBucketOutput {
252
+ }
253
+ /**
254
+ * @public
255
+ */
256
+ export interface DeleteIndexInput {
257
+ /**
258
+ * <p>The name of the vector bucket that contains the vector index. </p>
259
+ * @public
260
+ */
261
+ vectorBucketName?: string | undefined;
262
+ /**
263
+ * <p>The name of the vector index to delete. </p>
264
+ * @public
265
+ */
266
+ indexName?: string | undefined;
267
+ /**
268
+ * <p>The ARN of the vector index to delete.</p>
269
+ * @public
270
+ */
271
+ indexArn?: string | undefined;
272
+ }
273
+ /**
274
+ * @public
275
+ */
276
+ export interface DeleteIndexOutput {
277
+ }
278
+ /**
279
+ * @public
280
+ */
281
+ export interface DeleteVectorBucketInput {
282
+ /**
283
+ * <p>The name of the vector bucket to delete.</p>
284
+ * @public
285
+ */
286
+ vectorBucketName?: string | undefined;
287
+ /**
288
+ * <p>The ARN of the vector bucket to delete.</p>
289
+ * @public
290
+ */
291
+ vectorBucketArn?: string | undefined;
292
+ }
293
+ /**
294
+ * @public
295
+ */
296
+ export interface DeleteVectorBucketOutput {
297
+ }
298
+ /**
299
+ * @public
300
+ */
301
+ export interface DeleteVectorBucketPolicyInput {
302
+ /**
303
+ * <p>The name of the vector bucket to delete the policy from.</p>
304
+ * @public
305
+ */
306
+ vectorBucketName?: string | undefined;
307
+ /**
308
+ * <p>The ARN of the vector bucket to delete the policy from.</p>
309
+ * @public
310
+ */
311
+ vectorBucketArn?: string | undefined;
312
+ }
313
+ /**
314
+ * @public
315
+ */
316
+ export interface DeleteVectorBucketPolicyOutput {
317
+ }
318
+ /**
319
+ * @public
320
+ */
321
+ export interface DeleteVectorsInput {
322
+ /**
323
+ * <p>The name of the vector bucket that contains the vector index. </p>
324
+ * @public
325
+ */
326
+ vectorBucketName?: string | undefined;
327
+ /**
328
+ * <p>The name of the vector index that contains a vector you want to delete.</p>
329
+ * @public
330
+ */
331
+ indexName?: string | undefined;
332
+ /**
333
+ * <p>The ARN of the vector index that contains a vector you want to delete.</p>
334
+ * @public
335
+ */
336
+ indexArn?: string | undefined;
337
+ /**
338
+ * <p>The keys of the vectors to delete. </p>
339
+ * @public
340
+ */
341
+ keys: string[] | undefined;
342
+ }
343
+ /**
344
+ * @public
345
+ */
346
+ export interface DeleteVectorsOutput {
347
+ }
348
+ /**
349
+ * <p>The specified Amazon Web Services KMS key isn't enabled.</p>
350
+ * @public
351
+ */
352
+ export declare class KmsDisabledException extends __BaseException {
353
+ readonly name: "KmsDisabledException";
354
+ readonly $fault: "client";
355
+ /**
356
+ * @internal
357
+ */
358
+ constructor(opts: __ExceptionOptionType<KmsDisabledException, __BaseException>);
359
+ }
360
+ /**
361
+ * <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>
362
+ * @public
363
+ */
364
+ export declare class KmsInvalidKeyUsageException extends __BaseException {
365
+ readonly name: "KmsInvalidKeyUsageException";
366
+ readonly $fault: "client";
367
+ /**
368
+ * @internal
369
+ */
370
+ constructor(opts: __ExceptionOptionType<KmsInvalidKeyUsageException, __BaseException>);
371
+ }
372
+ /**
373
+ * <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>
374
+ * @public
375
+ */
376
+ export declare class KmsInvalidStateException extends __BaseException {
377
+ readonly name: "KmsInvalidStateException";
378
+ readonly $fault: "client";
379
+ /**
380
+ * @internal
381
+ */
382
+ constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
383
+ }
384
+ /**
385
+ * <p>The KMS key can't be found.</p>
386
+ * @public
387
+ */
388
+ export declare class KmsNotFoundException extends __BaseException {
389
+ readonly name: "KmsNotFoundException";
390
+ readonly $fault: "client";
391
+ /**
392
+ * @internal
393
+ */
394
+ constructor(opts: __ExceptionOptionType<KmsNotFoundException, __BaseException>);
395
+ }
396
+ /**
397
+ * @public
398
+ */
399
+ export interface GetIndexInput {
400
+ /**
401
+ * <p>The name of the vector bucket that contains the vector index. </p>
402
+ * @public
403
+ */
404
+ vectorBucketName?: string | undefined;
405
+ /**
406
+ * <p>The name of the vector index.</p>
407
+ * @public
408
+ */
409
+ indexName?: string | undefined;
410
+ /**
411
+ * <p>The ARN of the vector index.</p>
412
+ * @public
413
+ */
414
+ indexArn?: string | undefined;
415
+ }
416
+ /**
417
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The attributes of a vector index.</p>
418
+ * @public
419
+ */
420
+ export interface Index {
421
+ /**
422
+ * <p>The name of the vector bucket that contains the vector index. </p>
423
+ * @public
424
+ */
425
+ vectorBucketName: string | undefined;
426
+ /**
427
+ * <p>The name of the vector index.</p>
428
+ * @public
429
+ */
430
+ indexName: string | undefined;
431
+ /**
432
+ * <p>The Amazon Resource Name (ARN) of the vector index.</p>
433
+ * @public
434
+ */
435
+ indexArn: string | undefined;
436
+ /**
437
+ * <p>Date and time when the vector index was created. </p>
438
+ * @public
439
+ */
440
+ creationTime: Date | undefined;
441
+ /**
442
+ * <p>The data type of the vectors inserted into the vector index. </p>
443
+ * @public
444
+ */
445
+ dataType: DataType | undefined;
446
+ /**
447
+ * <p>The number of values in the vectors that are inserted into the vector index. </p>
448
+ * @public
449
+ */
450
+ dimension: number | undefined;
451
+ /**
452
+ * <p>The distance metric to be used for similarity search. </p>
453
+ * @public
454
+ */
455
+ distanceMetric: DistanceMetric | undefined;
456
+ /**
457
+ * <p>The metadata configuration for the vector index. </p>
458
+ * @public
459
+ */
460
+ metadataConfiguration?: MetadataConfiguration | undefined;
461
+ }
462
+ /**
463
+ * @public
464
+ */
465
+ export interface GetIndexOutput {
466
+ /**
467
+ * <p>The attributes of the vector index.</p>
468
+ * @public
469
+ */
470
+ index: Index | undefined;
471
+ }
472
+ /**
473
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The vector data in different formats.</p>
474
+ * @public
475
+ */
476
+ export type VectorData = VectorData.Float32Member | VectorData.$UnknownMember;
477
+ /**
478
+ * @public
479
+ */
480
+ export declare namespace VectorData {
481
+ /**
482
+ * <p>The vector data as 32-bit floating point numbers. The number of elements in this array must exactly match the dimension of the vector index where the operation is being performed.</p>
483
+ * @public
484
+ */
485
+ interface Float32Member {
486
+ float32: number[];
487
+ $unknown?: never;
488
+ }
489
+ /**
490
+ * @public
491
+ */
492
+ interface $UnknownMember {
493
+ float32?: never;
494
+ $unknown: [string, any];
495
+ }
496
+ interface Visitor<T> {
497
+ float32: (value: number[]) => T;
498
+ _: (name: string, value: any) => T;
499
+ }
500
+ const visit: <T>(value: VectorData, visitor: Visitor<T>) => T;
501
+ }
502
+ /**
503
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The attributes of a vector returned by the <code>GetVectors</code> operation.</p>
504
+ * @public
505
+ */
506
+ export interface GetOutputVector {
507
+ /**
508
+ * <p>The name of the vector. </p>
509
+ * @public
510
+ */
511
+ key: string | undefined;
512
+ /**
513
+ * <p>The vector data of the vector. </p>
514
+ * @public
515
+ */
516
+ data?: VectorData | undefined;
517
+ /**
518
+ * <p>Metadata about the vector. </p>
519
+ * @public
520
+ */
521
+ metadata?: __DocumentType | undefined;
522
+ }
523
+ /**
524
+ * @public
525
+ */
526
+ export interface GetVectorBucketInput {
527
+ /**
528
+ * <p>The name of the vector bucket to retrieve information about.</p>
529
+ * @public
530
+ */
531
+ vectorBucketName?: string | undefined;
532
+ /**
533
+ * <p>The ARN of the vector bucket to retrieve information about.</p>
534
+ * @public
535
+ */
536
+ vectorBucketArn?: string | undefined;
537
+ }
538
+ /**
539
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The attributes of a vector bucket. </p>
540
+ * @public
541
+ */
542
+ export interface VectorBucket {
543
+ /**
544
+ * <p>The name of the vector bucket. </p>
545
+ * @public
546
+ */
547
+ vectorBucketName: string | undefined;
548
+ /**
549
+ * <p>The Amazon Resource Name (ARN) of the vector bucket. </p>
550
+ * @public
551
+ */
552
+ vectorBucketArn: string | undefined;
553
+ /**
554
+ * <p>Date and time when the vector bucket was created. </p>
555
+ * @public
556
+ */
557
+ creationTime: Date | undefined;
558
+ /**
559
+ * <p>The encryption configuration for the vector bucket.</p>
560
+ * @public
561
+ */
562
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
563
+ }
564
+ /**
565
+ * @public
566
+ */
567
+ export interface GetVectorBucketOutput {
568
+ /**
569
+ * <p>The attributes of the vector bucket.</p>
570
+ * @public
571
+ */
572
+ vectorBucket: VectorBucket | undefined;
573
+ }
574
+ /**
575
+ * @public
576
+ */
577
+ export interface GetVectorBucketPolicyInput {
578
+ /**
579
+ * <p>The name of the vector bucket.</p>
580
+ * @public
581
+ */
582
+ vectorBucketName?: string | undefined;
583
+ /**
584
+ * <p>The ARN of the vector bucket.</p>
585
+ * @public
586
+ */
587
+ vectorBucketArn?: string | undefined;
588
+ }
589
+ /**
590
+ * @public
591
+ */
592
+ export interface GetVectorBucketPolicyOutput {
593
+ /**
594
+ * <p>The <code>JSON</code> that defines the policy.</p>
595
+ * @public
596
+ */
597
+ policy?: string | undefined;
598
+ }
599
+ /**
600
+ * @public
601
+ */
602
+ export interface GetVectorsInput {
603
+ /**
604
+ * <p>The name of the vector bucket that contains the vector index. </p>
605
+ * @public
606
+ */
607
+ vectorBucketName?: string | undefined;
608
+ /**
609
+ * <p>The name of the vector index.</p>
610
+ * @public
611
+ */
612
+ indexName?: string | undefined;
613
+ /**
614
+ * <p>The ARN of the vector index.</p>
615
+ * @public
616
+ */
617
+ indexArn?: string | undefined;
618
+ /**
619
+ * <p>The names of the vectors you want to return attributes for. </p>
620
+ * @public
621
+ */
622
+ keys: string[] | undefined;
623
+ /**
624
+ * <p>Indicates whether to include the vector data in the response. The default value is <code>false</code>.</p>
625
+ * @public
626
+ */
627
+ returnData?: boolean | undefined;
628
+ /**
629
+ * <p>Indicates whether to include metadata in the response. The default value is <code>false</code>.</p>
630
+ * @public
631
+ */
632
+ returnMetadata?: boolean | undefined;
633
+ }
634
+ /**
635
+ * @public
636
+ */
637
+ export interface GetVectorsOutput {
638
+ /**
639
+ * <p>The attributes of the vectors.</p>
640
+ * @public
641
+ */
642
+ vectors: GetOutputVector[] | undefined;
643
+ }
644
+ /**
645
+ * @public
646
+ */
647
+ export interface ListIndexesInput {
648
+ /**
649
+ * <p>The name of the vector bucket that contains the vector indexes. </p>
650
+ * @public
651
+ */
652
+ vectorBucketName?: string | undefined;
653
+ /**
654
+ * <p>The ARN of the vector bucket that contains the vector indexes.</p>
655
+ * @public
656
+ */
657
+ vectorBucketArn?: string | undefined;
658
+ /**
659
+ * <p>The maximum number of items to be returned in the response. </p>
660
+ * @public
661
+ */
662
+ maxResults?: number | undefined;
663
+ /**
664
+ * <p>The previous pagination token. </p>
665
+ * @public
666
+ */
667
+ nextToken?: string | undefined;
668
+ /**
669
+ * <p>Limits the response to vector indexes that begin with the specified prefix.</p>
670
+ * @public
671
+ */
672
+ prefix?: string | undefined;
673
+ }
674
+ /**
675
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>Summary information about a vector index.</p>
676
+ * @public
677
+ */
678
+ export interface IndexSummary {
679
+ /**
680
+ * <p>The name of the vector bucket that contains the vector index. </p>
681
+ * @public
682
+ */
683
+ vectorBucketName: string | undefined;
684
+ /**
685
+ * <p>The name of the vector index.</p>
686
+ * @public
687
+ */
688
+ indexName: string | undefined;
689
+ /**
690
+ * <p>The Amazon Resource Name (ARN) of the vector index.</p>
691
+ * @public
692
+ */
693
+ indexArn: string | undefined;
694
+ /**
695
+ * <p>Date and time when the vector index was created. </p>
696
+ * @public
697
+ */
698
+ creationTime: Date | undefined;
699
+ }
700
+ /**
701
+ * @public
702
+ */
703
+ export interface ListIndexesOutput {
704
+ /**
705
+ * <p>The next pagination token.</p>
706
+ * @public
707
+ */
708
+ nextToken?: string | undefined;
709
+ /**
710
+ * <p>The attributes of the vector indexes</p>
711
+ * @public
712
+ */
713
+ indexes: IndexSummary[] | undefined;
714
+ }
715
+ /**
716
+ * @public
717
+ */
718
+ export interface ListVectorsInput {
719
+ /**
720
+ * <p>The name of the vector bucket. </p>
721
+ * @public
722
+ */
723
+ vectorBucketName?: string | undefined;
724
+ /**
725
+ * <p>The name of the vector index.</p>
726
+ * @public
727
+ */
728
+ indexName?: string | undefined;
729
+ /**
730
+ * <p>The Amazon resource Name (ARN) of the vector index.</p>
731
+ * @public
732
+ */
733
+ indexArn?: string | undefined;
734
+ /**
735
+ * <p>The maximum number of vectors to return on a page.</p> <p>If you don't specify <code>maxResults</code>, the <code>ListVectors</code> operation uses a default value of 500.</p> <p>If the processed dataset size exceeds 1 MB before reaching the <code>maxResults</code> value, the operation stops and returns the vectors that are retrieved up to that point, along with a <code>nextToken</code> that you can use in a subsequent request to retrieve the next set of results.</p>
736
+ * @public
737
+ */
738
+ maxResults?: number | undefined;
739
+ /**
740
+ * <p>Pagination token from a previous request. The value of this field is empty for an initial request.</p>
741
+ * @public
742
+ */
743
+ nextToken?: string | undefined;
744
+ /**
745
+ * <p>For a parallel <code>ListVectors</code> request, <code>segmentCount</code> represents the total number of vector segments into which the <code>ListVectors</code> operation will be divided. The value of <code>segmentCount</code> corresponds to the number of application workers that will perform the parallel <code>ListVectors</code> operation. For example, if you want to use four application threads to list vectors in a vector index, specify a <code>segmentCount</code> value of 4. </p> <p>If you specify a <code>segmentCount</code> value of 1, the <code>ListVectors</code> operation will be sequential rather than parallel.</p> <p>If you specify <code>segmentCount</code>, you must also specify <code>segmentIndex</code>.</p>
746
+ * @public
747
+ */
748
+ segmentCount?: number | undefined;
749
+ /**
750
+ * <p>For a parallel <code>ListVectors</code> request, <code>segmentIndex</code> is the index of the segment from which to list vectors in the current request. It identifies an individual segment to be listed by an application worker. </p> <p>Segment IDs are zero-based, so the first segment is always 0. For example, if you want to use four application threads to list vectors in a vector index, then the first thread specifies a <code>segmentIndex</code> value of 0, the second thread specifies 1, and so on. </p> <p>The value of <code>segmentIndex</code> must be less than the value provided for <code>segmentCount</code>. </p> <p>If you provide <code>segmentIndex</code>, you must also provide <code>segmentCount</code>.</p>
751
+ * @public
752
+ */
753
+ segmentIndex?: number | undefined;
754
+ /**
755
+ * <p>If true, the vector data of each vector will be included in the response. The default value is <code>false</code>.</p>
756
+ * @public
757
+ */
758
+ returnData?: boolean | undefined;
759
+ /**
760
+ * <p>If true, the metadata associated with each vector will be included in the response. The default value is <code>false</code>.</p>
761
+ * @public
762
+ */
763
+ returnMetadata?: boolean | undefined;
764
+ }
765
+ /**
766
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The attributes of a vector returned by the <code>ListVectors</code> operation.</p>
767
+ * @public
768
+ */
769
+ export interface ListOutputVector {
770
+ /**
771
+ * <p>The name of the vector. </p>
772
+ * @public
773
+ */
774
+ key: string | undefined;
775
+ /**
776
+ * <p>The vector data of the vector. </p>
777
+ * @public
778
+ */
779
+ data?: VectorData | undefined;
780
+ /**
781
+ * <p>Metadata about the vector. </p>
782
+ * @public
783
+ */
784
+ metadata?: __DocumentType | undefined;
785
+ }
786
+ /**
787
+ * @public
788
+ */
789
+ export interface ListVectorsOutput {
790
+ /**
791
+ * <p>Pagination token to be used in the subsequent request. The field is empty if no further pagination is required.</p>
792
+ * @public
793
+ */
794
+ nextToken?: string | undefined;
795
+ /**
796
+ * <p>Vectors in the current segment.</p>
797
+ * @public
798
+ */
799
+ vectors: ListOutputVector[] | undefined;
800
+ }
801
+ /**
802
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The attributes of a vector to add to a vector index.</p>
803
+ * @public
804
+ */
805
+ export interface PutInputVector {
806
+ /**
807
+ * <p>The name of the vector. The key uniquely identifies the vector in a vector index. </p>
808
+ * @public
809
+ */
810
+ key: string | undefined;
811
+ /**
812
+ * <p>The vector data of the vector. </p> <p>Vector dimensions must match the dimension count that's configured for the vector index.</p> <ul> <li> <p>For the <code>cosine</code> distance metric, zero vectors (vectors containing all zeros) aren't allowed.</p> </li> <li> <p>For both <code>cosine</code> and <code>euclidean</code> distance metrics, vector data must contain only valid floating-point values. Invalid values such as NaN (Not a Number) or Infinity aren't allowed.</p> </li> </ul>
813
+ * @public
814
+ */
815
+ data: VectorData | undefined;
816
+ /**
817
+ * <p>Metadata about the vector. All metadata entries undergo validation to ensure they meet the format requirements for size and data types.</p>
818
+ * @public
819
+ */
820
+ metadata?: __DocumentType | undefined;
821
+ }
822
+ /**
823
+ * @public
824
+ */
825
+ export interface PutVectorsInput {
826
+ /**
827
+ * <p>The name of the vector bucket that contains the vector index. </p>
828
+ * @public
829
+ */
830
+ vectorBucketName?: string | undefined;
831
+ /**
832
+ * <p>The name of the vector index where you want to write vectors. </p>
833
+ * @public
834
+ */
835
+ indexName?: string | undefined;
836
+ /**
837
+ * <p>The ARN of the vector index where you want to write vectors.</p>
838
+ * @public
839
+ */
840
+ indexArn?: string | undefined;
841
+ /**
842
+ * <p>The vectors to add to a vector index. The number of vectors in a single request must not exceed the resource capacity, otherwise the request will be rejected with the error <code>ServiceUnavailableException</code> with the error message "Currently unable to handle the request".</p>
843
+ * @public
844
+ */
845
+ vectors: PutInputVector[] | undefined;
846
+ }
847
+ /**
848
+ * @public
849
+ */
850
+ export interface PutVectorsOutput {
851
+ }
852
+ /**
853
+ * @public
854
+ */
855
+ export interface QueryVectorsInput {
856
+ /**
857
+ * <p>The name of the vector bucket that contains the vector index. </p>
858
+ * @public
859
+ */
860
+ vectorBucketName?: string | undefined;
861
+ /**
862
+ * <p>The name of the vector index that you want to query. </p>
863
+ * @public
864
+ */
865
+ indexName?: string | undefined;
866
+ /**
867
+ * <p>The ARN of the vector index that you want to query.</p>
868
+ * @public
869
+ */
870
+ indexArn?: string | undefined;
871
+ /**
872
+ * <p>The number of results to return for each query.</p>
873
+ * @public
874
+ */
875
+ topK: number | undefined;
876
+ /**
877
+ * <p>The query vector. Ensure that the query vector has the same dimension as the dimension of the vector index that's being queried. For example, if your vector index contains vectors with 384 dimensions, your query vector must also have 384 dimensions. </p>
878
+ * @public
879
+ */
880
+ queryVector: VectorData | undefined;
881
+ /**
882
+ * <p>Metadata filter to apply during the query. For more information about metadata keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-metadata-filtering.html">Metadata filtering</a> in the <i>Amazon S3 User Guide</i>. </p>
883
+ * @public
884
+ */
885
+ filter?: __DocumentType | undefined;
886
+ /**
887
+ * <p>Indicates whether to include metadata in the response. The default value is <code>false</code>.</p>
888
+ * @public
889
+ */
890
+ returnMetadata?: boolean | undefined;
891
+ /**
892
+ * <p>Indicates whether to include the computed distance in the response. The default value is <code>false</code>.</p>
893
+ * @public
894
+ */
895
+ returnDistance?: boolean | undefined;
896
+ }
897
+ /**
898
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>The attributes of a vector in the approximate nearest neighbor search.</p>
899
+ * @public
900
+ */
901
+ export interface QueryOutputVector {
902
+ /**
903
+ * <p>The key of the vector in the approximate nearest neighbor search.</p>
904
+ * @public
905
+ */
906
+ key: string | undefined;
907
+ /**
908
+ * <p>The vector data associated with the vector, if requested. </p>
909
+ * @public
910
+ */
911
+ data?: VectorData | undefined;
912
+ /**
913
+ * <p>The metadata associated with the vector, if requested.</p>
914
+ * @public
915
+ */
916
+ metadata?: __DocumentType | undefined;
917
+ /**
918
+ * <p>The measure of similarity between the vector in the response and the query vector.</p>
919
+ * @public
920
+ */
921
+ distance?: number | undefined;
922
+ }
923
+ /**
924
+ * @public
925
+ */
926
+ export interface QueryVectorsOutput {
927
+ /**
928
+ * <p>The vectors in the approximate nearest neighbor search.</p>
929
+ * @public
930
+ */
931
+ vectors: QueryOutputVector[] | undefined;
932
+ }
933
+ /**
934
+ * @public
935
+ */
936
+ export interface ListVectorBucketsInput {
937
+ /**
938
+ * <p>The maximum number of vector buckets to be returned in the response. </p>
939
+ * @public
940
+ */
941
+ maxResults?: number | undefined;
942
+ /**
943
+ * <p>The previous pagination token. </p>
944
+ * @public
945
+ */
946
+ nextToken?: string | undefined;
947
+ /**
948
+ * <p>Limits the response to vector buckets that begin with the specified prefix.</p>
949
+ * @public
950
+ */
951
+ prefix?: string | undefined;
952
+ }
953
+ /**
954
+ * <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.</p> </note> <p>Summary information about a vector bucket.</p>
955
+ * @public
956
+ */
957
+ export interface VectorBucketSummary {
958
+ /**
959
+ * <p>The name of the vector bucket. </p>
960
+ * @public
961
+ */
962
+ vectorBucketName: string | undefined;
963
+ /**
964
+ * <p>The Amazon Resource Name (ARN) of the vector bucket. </p>
965
+ * @public
966
+ */
967
+ vectorBucketArn: string | undefined;
968
+ /**
969
+ * <p>Date and time when the vector bucket was created. </p>
970
+ * @public
971
+ */
972
+ creationTime: Date | undefined;
973
+ }
974
+ /**
975
+ * @public
976
+ */
977
+ export interface ListVectorBucketsOutput {
978
+ /**
979
+ * <p>The element is included in the response when there are more buckets to be listed with pagination. </p>
980
+ * @public
981
+ */
982
+ nextToken?: string | undefined;
983
+ /**
984
+ * <p>The list of vector buckets owned by the requester. </p>
985
+ * @public
986
+ */
987
+ vectorBuckets: VectorBucketSummary[] | undefined;
988
+ }
989
+ /**
990
+ * @public
991
+ */
992
+ export interface PutVectorBucketPolicyInput {
993
+ /**
994
+ * <p>The name of the vector bucket.</p>
995
+ * @public
996
+ */
997
+ vectorBucketName?: string | undefined;
998
+ /**
999
+ * <p>The Amazon Resource Name (ARN) of the vector bucket.</p>
1000
+ * @public
1001
+ */
1002
+ vectorBucketArn?: string | undefined;
1003
+ /**
1004
+ * <p>The <code>JSON</code> that defines the policy. For more information about bucket policies for S3 Vectors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-bucket-policy.html">Managing vector bucket policies</a> in the <i>Amazon S3 User Guide</i>.</p>
1005
+ * @public
1006
+ */
1007
+ policy: string | undefined;
1008
+ }
1009
+ /**
1010
+ * @public
1011
+ */
1012
+ export interface PutVectorBucketPolicyOutput {
1013
+ }