@aws-sdk/client-s3vectors 3.941.0 → 3.946.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 (64) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +130 -196
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/S3Vectors.js +6 -0
  6. package/dist-es/S3VectorsClient.js +2 -2
  7. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  8. package/dist-es/commands/TagResourceCommand.js +16 -0
  9. package/dist-es/commands/UntagResourceCommand.js +16 -0
  10. package/dist-es/commands/index.js +3 -0
  11. package/dist-es/runtimeConfig.browser.js +2 -2
  12. package/dist-es/runtimeConfig.js +2 -3
  13. package/dist-es/schemas/schemas_0.js +90 -196
  14. package/dist-types/S3Vectors.d.ts +22 -1
  15. package/dist-types/S3VectorsClient.d.ts +15 -12
  16. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  17. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  18. package/dist-types/commands/CreateIndexCommand.d.ts +11 -4
  19. package/dist-types/commands/CreateVectorBucketCommand.d.ts +7 -4
  20. package/dist-types/commands/DeleteIndexCommand.d.ts +7 -4
  21. package/dist-types/commands/DeleteVectorBucketCommand.d.ts +7 -4
  22. package/dist-types/commands/DeleteVectorBucketPolicyCommand.d.ts +4 -4
  23. package/dist-types/commands/DeleteVectorsCommand.d.ts +4 -4
  24. package/dist-types/commands/GetIndexCommand.d.ts +8 -4
  25. package/dist-types/commands/GetVectorBucketCommand.d.ts +4 -4
  26. package/dist-types/commands/GetVectorBucketPolicyCommand.d.ts +4 -4
  27. package/dist-types/commands/GetVectorsCommand.d.ts +4 -4
  28. package/dist-types/commands/ListIndexesCommand.d.ts +4 -4
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
  30. package/dist-types/commands/ListVectorBucketsCommand.d.ts +4 -4
  31. package/dist-types/commands/ListVectorsCommand.d.ts +4 -4
  32. package/dist-types/commands/PutVectorBucketPolicyCommand.d.ts +4 -4
  33. package/dist-types/commands/PutVectorsCommand.d.ts +4 -4
  34. package/dist-types/commands/QueryVectorsCommand.d.ts +5 -10
  35. package/dist-types/commands/TagResourceCommand.d.ts +99 -0
  36. package/dist-types/commands/UntagResourceCommand.d.ts +99 -0
  37. package/dist-types/commands/index.d.ts +3 -0
  38. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  39. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  40. package/dist-types/extensionConfiguration.d.ts +4 -4
  41. package/dist-types/models/S3VectorsServiceException.d.ts +1 -1
  42. package/dist-types/models/errors.d.ts +1 -1
  43. package/dist-types/models/models_0.d.ts +110 -35
  44. package/dist-types/pagination/Interfaces.d.ts +1 -1
  45. package/dist-types/pagination/ListIndexesPaginator.d.ts +1 -1
  46. package/dist-types/pagination/ListVectorBucketsPaginator.d.ts +1 -1
  47. package/dist-types/pagination/ListVectorsPaginator.d.ts +1 -1
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  52. package/dist-types/runtimeExtensions.d.ts +1 -1
  53. package/dist-types/schemas/schemas_0.d.ts +12 -1
  54. package/dist-types/ts3.4/S3Vectors.d.ts +51 -0
  55. package/dist-types/ts3.4/S3VectorsClient.d.ts +23 -5
  56. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  59. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  61. package/dist-types/ts3.4/models/S3VectorsServiceException.d.ts +1 -1
  62. package/dist-types/ts3.4/models/models_0.d.ts +25 -6
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  64. package/package.json +13 -12
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var AccessDeniedException: StaticErrorSchema;
3
3
  export declare var ConflictException: StaticErrorSchema;
4
4
  export declare var CreateIndexInput: StaticStructureSchema;
@@ -33,6 +33,8 @@ export declare var KmsNotFoundException: StaticErrorSchema;
33
33
  export declare var ListIndexesInput: StaticStructureSchema;
34
34
  export declare var ListIndexesOutput: StaticStructureSchema;
35
35
  export declare var ListOutputVector: StaticStructureSchema;
36
+ export declare var ListTagsForResourceInput: StaticStructureSchema;
37
+ export declare var ListTagsForResourceOutput: StaticStructureSchema;
36
38
  export declare var ListVectorBucketsInput: StaticStructureSchema;
37
39
  export declare var ListVectorBucketsOutput: StaticStructureSchema;
38
40
  export declare var ListVectorsInput: StaticStructureSchema;
@@ -50,7 +52,11 @@ export declare var QueryVectorsOutput: StaticStructureSchema;
50
52
  export declare var RequestTimeoutException: StaticErrorSchema;
51
53
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
52
54
  export declare var ServiceUnavailableException: StaticErrorSchema;
55
+ export declare var TagResourceInput: StaticStructureSchema;
56
+ export declare var TagResourceOutput: StaticStructureSchema;
53
57
  export declare var TooManyRequestsException: StaticErrorSchema;
58
+ export declare var UntagResourceInput: StaticStructureSchema;
59
+ export declare var UntagResourceOutput: StaticStructureSchema;
54
60
  export declare var ValidationException: StaticErrorSchema;
55
61
  export declare var ValidationExceptionField: StaticStructureSchema;
56
62
  export declare var VectorBucket: StaticStructureSchema;
@@ -67,7 +73,9 @@ export declare var ListVectorsOutputList: StaticListSchema;
67
73
  export declare var NonFilterableMetadataKeys: number;
68
74
  export declare var PutVectorsInputList: StaticListSchema;
69
75
  export declare var QueryVectorsOutputList: StaticListSchema;
76
+ export declare var TagKeyList: number;
70
77
  export declare var ValidationExceptionFieldList: StaticListSchema;
78
+ export declare var TagsMap: number;
71
79
  export declare var VectorData: StaticStructureSchema;
72
80
  export declare var CreateIndex: StaticOperationSchema;
73
81
  export declare var CreateVectorBucket: StaticOperationSchema;
@@ -80,8 +88,11 @@ export declare var GetVectorBucket: StaticOperationSchema;
80
88
  export declare var GetVectorBucketPolicy: StaticOperationSchema;
81
89
  export declare var GetVectors: StaticOperationSchema;
82
90
  export declare var ListIndexes: StaticOperationSchema;
91
+ export declare var ListTagsForResource: StaticOperationSchema;
83
92
  export declare var ListVectorBuckets: StaticOperationSchema;
84
93
  export declare var ListVectors: StaticOperationSchema;
85
94
  export declare var PutVectorBucketPolicy: StaticOperationSchema;
86
95
  export declare var PutVectors: StaticOperationSchema;
87
96
  export declare var QueryVectors: StaticOperationSchema;
97
+ export declare var TagResource: StaticOperationSchema;
98
+ export declare var UntagResource: StaticOperationSchema;
@@ -43,6 +43,10 @@ import {
43
43
  ListIndexesCommandInput,
44
44
  ListIndexesCommandOutput,
45
45
  } from "./commands/ListIndexesCommand";
46
+ import {
47
+ ListTagsForResourceCommandInput,
48
+ ListTagsForResourceCommandOutput,
49
+ } from "./commands/ListTagsForResourceCommand";
46
50
  import {
47
51
  ListVectorBucketsCommandInput,
48
52
  ListVectorBucketsCommandOutput,
@@ -63,6 +67,14 @@ import {
63
67
  QueryVectorsCommandInput,
64
68
  QueryVectorsCommandOutput,
65
69
  } from "./commands/QueryVectorsCommand";
70
+ import {
71
+ TagResourceCommandInput,
72
+ TagResourceCommandOutput,
73
+ } from "./commands/TagResourceCommand";
74
+ import {
75
+ UntagResourceCommandInput,
76
+ UntagResourceCommandOutput,
77
+ } from "./commands/UntagResourceCommand";
66
78
  import { S3VectorsClient } from "./S3VectorsClient";
67
79
  export interface S3Vectors {
68
80
  createIndex(
@@ -215,6 +227,19 @@ export interface S3Vectors {
215
227
  options: __HttpHandlerOptions,
216
228
  cb: (err: any, data?: ListIndexesCommandOutput) => void
217
229
  ): void;
230
+ listTagsForResource(
231
+ args: ListTagsForResourceCommandInput,
232
+ options?: __HttpHandlerOptions
233
+ ): Promise<ListTagsForResourceCommandOutput>;
234
+ listTagsForResource(
235
+ args: ListTagsForResourceCommandInput,
236
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
237
+ ): void;
238
+ listTagsForResource(
239
+ args: ListTagsForResourceCommandInput,
240
+ options: __HttpHandlerOptions,
241
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
242
+ ): void;
218
243
  listVectorBuckets(): Promise<ListVectorBucketsCommandOutput>;
219
244
  listVectorBuckets(
220
245
  args: ListVectorBucketsCommandInput,
@@ -282,5 +307,31 @@ export interface S3Vectors {
282
307
  options: __HttpHandlerOptions,
283
308
  cb: (err: any, data?: QueryVectorsCommandOutput) => void
284
309
  ): void;
310
+ tagResource(
311
+ args: TagResourceCommandInput,
312
+ options?: __HttpHandlerOptions
313
+ ): Promise<TagResourceCommandOutput>;
314
+ tagResource(
315
+ args: TagResourceCommandInput,
316
+ cb: (err: any, data?: TagResourceCommandOutput) => void
317
+ ): void;
318
+ tagResource(
319
+ args: TagResourceCommandInput,
320
+ options: __HttpHandlerOptions,
321
+ cb: (err: any, data?: TagResourceCommandOutput) => void
322
+ ): void;
323
+ untagResource(
324
+ args: UntagResourceCommandInput,
325
+ options?: __HttpHandlerOptions
326
+ ): Promise<UntagResourceCommandOutput>;
327
+ untagResource(
328
+ args: UntagResourceCommandInput,
329
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
330
+ ): void;
331
+ untagResource(
332
+ args: UntagResourceCommandInput,
333
+ options: __HttpHandlerOptions,
334
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
335
+ ): void;
285
336
  }
286
337
  export declare class S3Vectors extends S3VectorsClient implements S3Vectors {}
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,9 +38,10 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  StreamCollector as __StreamCollector,
44
42
  UrlParser as __UrlParser,
43
+ AwsCredentialIdentityProvider,
44
+ Provider,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
47
  import {
@@ -92,6 +92,10 @@ import {
92
92
  ListIndexesCommandInput,
93
93
  ListIndexesCommandOutput,
94
94
  } from "./commands/ListIndexesCommand";
95
+ import {
96
+ ListTagsForResourceCommandInput,
97
+ ListTagsForResourceCommandOutput,
98
+ } from "./commands/ListTagsForResourceCommand";
95
99
  import {
96
100
  ListVectorBucketsCommandInput,
97
101
  ListVectorBucketsCommandOutput,
@@ -112,6 +116,14 @@ import {
112
116
  QueryVectorsCommandInput,
113
117
  QueryVectorsCommandOutput,
114
118
  } from "./commands/QueryVectorsCommand";
119
+ import {
120
+ TagResourceCommandInput,
121
+ TagResourceCommandOutput,
122
+ } from "./commands/TagResourceCommand";
123
+ import {
124
+ UntagResourceCommandInput,
125
+ UntagResourceCommandOutput,
126
+ } from "./commands/UntagResourceCommand";
115
127
  import {
116
128
  ClientInputEndpointParameters,
117
129
  ClientResolvedEndpointParameters,
@@ -131,11 +143,14 @@ export type ServiceInputTypes =
131
143
  | GetVectorBucketPolicyCommandInput
132
144
  | GetVectorsCommandInput
133
145
  | ListIndexesCommandInput
146
+ | ListTagsForResourceCommandInput
134
147
  | ListVectorBucketsCommandInput
135
148
  | ListVectorsCommandInput
136
149
  | PutVectorBucketPolicyCommandInput
137
150
  | PutVectorsCommandInput
138
- | QueryVectorsCommandInput;
151
+ | QueryVectorsCommandInput
152
+ | TagResourceCommandInput
153
+ | UntagResourceCommandInput;
139
154
  export type ServiceOutputTypes =
140
155
  | CreateIndexCommandOutput
141
156
  | CreateVectorBucketCommandOutput
@@ -148,11 +163,14 @@ export type ServiceOutputTypes =
148
163
  | GetVectorBucketPolicyCommandOutput
149
164
  | GetVectorsCommandOutput
150
165
  | ListIndexesCommandOutput
166
+ | ListTagsForResourceCommandOutput
151
167
  | ListVectorBucketsCommandOutput
152
168
  | ListVectorsCommandOutput
153
169
  | PutVectorBucketPolicyCommandOutput
154
170
  | PutVectorsCommandOutput
155
- | QueryVectorsCommandOutput;
171
+ | QueryVectorsCommandOutput
172
+ | TagResourceCommandOutput
173
+ | UntagResourceCommandOutput;
156
174
  export interface ClientDefaults
157
175
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
158
176
  requestHandler?: __HttpHandlerUserInput;
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { S3VectorsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListTagsForResourceInput,
5
+ ListTagsForResourceOutput,
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 ListTagsForResourceCommandInput
15
+ extends ListTagsForResourceInput {}
16
+ export interface ListTagsForResourceCommandOutput
17
+ extends ListTagsForResourceOutput,
18
+ __MetadataBearer {}
19
+ declare const ListTagsForResourceCommand_base: {
20
+ new (
21
+ input: ListTagsForResourceCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListTagsForResourceCommandInput,
24
+ ListTagsForResourceCommandOutput,
25
+ S3VectorsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListTagsForResourceCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListTagsForResourceCommandInput,
33
+ ListTagsForResourceCommandOutput,
34
+ S3VectorsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListTagsForResourceInput;
44
+ output: ListTagsForResourceOutput;
45
+ };
46
+ sdk: {
47
+ input: ListTagsForResourceCommandInput;
48
+ output: ListTagsForResourceCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TagResourceInput, TagResourceOutput } from "../models/models_0";
4
+ import {
5
+ S3VectorsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../S3VectorsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface TagResourceCommandInput extends TagResourceInput {}
12
+ export interface TagResourceCommandOutput
13
+ extends TagResourceOutput,
14
+ __MetadataBearer {}
15
+ declare const TagResourceCommand_base: {
16
+ new (
17
+ input: TagResourceCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ TagResourceCommandInput,
20
+ TagResourceCommandOutput,
21
+ S3VectorsClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: TagResourceCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ TagResourceCommandInput,
29
+ TagResourceCommandOutput,
30
+ S3VectorsClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class TagResourceCommand extends TagResourceCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: TagResourceInput;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: TagResourceCommandInput;
44
+ output: TagResourceCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
4
+ import {
5
+ S3VectorsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../S3VectorsClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UntagResourceCommandInput extends UntagResourceInput {}
12
+ export interface UntagResourceCommandOutput
13
+ extends UntagResourceOutput,
14
+ __MetadataBearer {}
15
+ declare const UntagResourceCommand_base: {
16
+ new (
17
+ input: UntagResourceCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ UntagResourceCommandInput,
20
+ UntagResourceCommandOutput,
21
+ S3VectorsClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: UntagResourceCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ UntagResourceCommandInput,
29
+ UntagResourceCommandOutput,
30
+ S3VectorsClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UntagResourceInput;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: UntagResourceCommandInput;
44
+ output: UntagResourceCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -9,8 +9,11 @@ export * from "./GetVectorBucketCommand";
9
9
  export * from "./GetVectorBucketPolicyCommand";
10
10
  export * from "./GetVectorsCommand";
11
11
  export * from "./ListIndexesCommand";
12
+ export * from "./ListTagsForResourceCommand";
12
13
  export * from "./ListVectorBucketsCommand";
13
14
  export * from "./ListVectorsCommand";
14
15
  export * from "./PutVectorBucketPolicyCommand";
15
16
  export * from "./PutVectorsCommand";
16
17
  export * from "./QueryVectorsCommand";
18
+ export * from "./TagResourceCommand";
19
+ export * from "./UntagResourceCommand";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -1,5 +1,9 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import { DataType, DistanceMetric, SseType } from "./enums";
3
+ export interface EncryptionConfiguration {
4
+ sseType?: SseType | undefined;
5
+ kmsKeyArn?: string | undefined;
6
+ }
3
7
  export interface MetadataConfiguration {
4
8
  nonFilterableMetadataKeys: string[] | undefined;
5
9
  }
@@ -11,6 +15,8 @@ export interface CreateIndexInput {
11
15
  dimension: number | undefined;
12
16
  distanceMetric: DistanceMetric | undefined;
13
17
  metadataConfiguration?: MetadataConfiguration | undefined;
18
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
19
+ tags?: Record<string, string> | undefined;
14
20
  }
15
21
  export interface CreateIndexOutput {
16
22
  indexArn: string | undefined;
@@ -19,13 +25,10 @@ export interface ValidationExceptionField {
19
25
  path: string | undefined;
20
26
  message: string | undefined;
21
27
  }
22
- export interface EncryptionConfiguration {
23
- sseType?: SseType | undefined;
24
- kmsKeyArn?: string | undefined;
25
- }
26
28
  export interface CreateVectorBucketInput {
27
29
  vectorBucketName: string | undefined;
28
30
  encryptionConfiguration?: EncryptionConfiguration | undefined;
31
+ tags?: Record<string, string> | undefined;
29
32
  }
30
33
  export interface CreateVectorBucketOutput {
31
34
  vectorBucketArn: string | undefined;
@@ -67,6 +70,7 @@ export interface Index {
67
70
  dimension: number | undefined;
68
71
  distanceMetric: DistanceMetric | undefined;
69
72
  metadataConfiguration?: MetadataConfiguration | undefined;
73
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
70
74
  }
71
75
  export interface GetIndexOutput {
72
76
  index: Index | undefined;
@@ -182,15 +186,20 @@ export interface QueryVectorsInput {
182
186
  returnDistance?: boolean | undefined;
183
187
  }
184
188
  export interface QueryOutputVector {
189
+ distance?: number | undefined;
185
190
  key: string | undefined;
186
- data?: VectorData | undefined;
187
191
  metadata?: __DocumentType | undefined;
188
- distance?: number | undefined;
189
192
  }
190
193
  export interface QueryVectorsOutput {
191
194
  vectors: QueryOutputVector[] | undefined;
192
195
  distanceMetric: DistanceMetric | undefined;
193
196
  }
197
+ export interface ListTagsForResourceInput {
198
+ resourceArn: string | undefined;
199
+ }
200
+ export interface ListTagsForResourceOutput {
201
+ tags: Record<string, string> | undefined;
202
+ }
194
203
  export interface ListVectorBucketsInput {
195
204
  maxResults?: number | undefined;
196
205
  nextToken?: string | undefined;
@@ -211,3 +220,13 @@ export interface PutVectorBucketPolicyInput {
211
220
  policy: string | undefined;
212
221
  }
213
222
  export interface PutVectorBucketPolicyOutput {}
223
+ export interface TagResourceInput {
224
+ resourceArn: string | undefined;
225
+ tags: Record<string, string> | undefined;
226
+ }
227
+ export interface TagResourceOutput {}
228
+ export interface UntagResourceInput {
229
+ resourceArn: string | undefined;
230
+ tagKeys: string[] | undefined;
231
+ }
232
+ export interface UntagResourceOutput {}
@@ -38,6 +38,8 @@ export declare var KmsNotFoundException: StaticErrorSchema;
38
38
  export declare var ListIndexesInput: StaticStructureSchema;
39
39
  export declare var ListIndexesOutput: StaticStructureSchema;
40
40
  export declare var ListOutputVector: StaticStructureSchema;
41
+ export declare var ListTagsForResourceInput: StaticStructureSchema;
42
+ export declare var ListTagsForResourceOutput: StaticStructureSchema;
41
43
  export declare var ListVectorBucketsInput: StaticStructureSchema;
42
44
  export declare var ListVectorBucketsOutput: StaticStructureSchema;
43
45
  export declare var ListVectorsInput: StaticStructureSchema;
@@ -55,7 +57,11 @@ export declare var QueryVectorsOutput: StaticStructureSchema;
55
57
  export declare var RequestTimeoutException: StaticErrorSchema;
56
58
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
57
59
  export declare var ServiceUnavailableException: StaticErrorSchema;
60
+ export declare var TagResourceInput: StaticStructureSchema;
61
+ export declare var TagResourceOutput: StaticStructureSchema;
58
62
  export declare var TooManyRequestsException: StaticErrorSchema;
63
+ export declare var UntagResourceInput: StaticStructureSchema;
64
+ export declare var UntagResourceOutput: StaticStructureSchema;
59
65
  export declare var ValidationException: StaticErrorSchema;
60
66
  export declare var ValidationExceptionField: StaticStructureSchema;
61
67
  export declare var VectorBucket: StaticStructureSchema;
@@ -72,7 +78,9 @@ export declare var ListVectorsOutputList: StaticListSchema;
72
78
  export declare var NonFilterableMetadataKeys: number;
73
79
  export declare var PutVectorsInputList: StaticListSchema;
74
80
  export declare var QueryVectorsOutputList: StaticListSchema;
81
+ export declare var TagKeyList: number;
75
82
  export declare var ValidationExceptionFieldList: StaticListSchema;
83
+ export declare var TagsMap: number;
76
84
  export declare var VectorData: StaticStructureSchema;
77
85
  export declare var CreateIndex: StaticOperationSchema;
78
86
  export declare var CreateVectorBucket: StaticOperationSchema;
@@ -85,8 +93,11 @@ export declare var GetVectorBucket: StaticOperationSchema;
85
93
  export declare var GetVectorBucketPolicy: StaticOperationSchema;
86
94
  export declare var GetVectors: StaticOperationSchema;
87
95
  export declare var ListIndexes: StaticOperationSchema;
96
+ export declare var ListTagsForResource: StaticOperationSchema;
88
97
  export declare var ListVectorBuckets: StaticOperationSchema;
89
98
  export declare var ListVectors: StaticOperationSchema;
90
99
  export declare var PutVectorBucketPolicy: StaticOperationSchema;
91
100
  export declare var PutVectors: StaticOperationSchema;
92
101
  export declare var QueryVectors: StaticOperationSchema;
102
+ export declare var TagResource: StaticOperationSchema;
103
+ export declare var UntagResource: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3vectors",
3
3
  "description": "AWS SDK for JavaScript S3vectors Client for Node.js, Browser and React Native",
4
- "version": "3.941.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3vectors",
@@ -13,7 +13,8 @@
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "generate:client": "node ../../scripts/generate-clients/single-service --solo s3vectors",
15
15
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
16
- "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
16
+ "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
17
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
17
18
  },
18
19
  "main": "./dist-cjs/index.js",
19
20
  "types": "./dist-types/index.d.ts",
@@ -22,38 +23,38 @@
22
23
  "dependencies": {
23
24
  "@aws-crypto/sha256-browser": "5.2.0",
24
25
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.940.0",
26
- "@aws-sdk/credential-provider-node": "3.940.0",
26
+ "@aws-sdk/core": "3.946.0",
27
+ "@aws-sdk/credential-provider-node": "3.946.0",
27
28
  "@aws-sdk/middleware-host-header": "3.936.0",
28
29
  "@aws-sdk/middleware-logger": "3.936.0",
29
30
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
30
- "@aws-sdk/middleware-user-agent": "3.940.0",
31
+ "@aws-sdk/middleware-user-agent": "3.946.0",
31
32
  "@aws-sdk/region-config-resolver": "3.936.0",
32
33
  "@aws-sdk/types": "3.936.0",
33
34
  "@aws-sdk/util-endpoints": "3.936.0",
34
35
  "@aws-sdk/util-user-agent-browser": "3.936.0",
35
- "@aws-sdk/util-user-agent-node": "3.940.0",
36
+ "@aws-sdk/util-user-agent-node": "3.946.0",
36
37
  "@smithy/config-resolver": "^4.4.3",
37
- "@smithy/core": "^3.18.5",
38
+ "@smithy/core": "^3.18.7",
38
39
  "@smithy/fetch-http-handler": "^5.3.6",
39
40
  "@smithy/hash-node": "^4.2.5",
40
41
  "@smithy/invalid-dependency": "^4.2.5",
41
42
  "@smithy/middleware-content-length": "^4.2.5",
42
- "@smithy/middleware-endpoint": "^4.3.12",
43
- "@smithy/middleware-retry": "^4.4.12",
43
+ "@smithy/middleware-endpoint": "^4.3.14",
44
+ "@smithy/middleware-retry": "^4.4.14",
44
45
  "@smithy/middleware-serde": "^4.2.6",
45
46
  "@smithy/middleware-stack": "^4.2.5",
46
47
  "@smithy/node-config-provider": "^4.3.5",
47
48
  "@smithy/node-http-handler": "^4.4.5",
48
49
  "@smithy/protocol-http": "^5.3.5",
49
- "@smithy/smithy-client": "^4.9.8",
50
+ "@smithy/smithy-client": "^4.9.10",
50
51
  "@smithy/types": "^4.9.0",
51
52
  "@smithy/url-parser": "^4.2.5",
52
53
  "@smithy/util-base64": "^4.3.0",
53
54
  "@smithy/util-body-length-browser": "^4.2.0",
54
55
  "@smithy/util-body-length-node": "^4.2.1",
55
- "@smithy/util-defaults-mode-browser": "^4.3.11",
56
- "@smithy/util-defaults-mode-node": "^4.2.14",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
57
+ "@smithy/util-defaults-mode-node": "^4.2.16",
57
58
  "@smithy/util-endpoints": "^3.2.5",
58
59
  "@smithy/util-middleware": "^4.2.5",
59
60
  "@smithy/util-retry": "^4.2.5",