@aws-sdk/client-s3vectors 3.952.0 → 3.953.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 (39) hide show
  1. package/dist-cjs/index.js +291 -208
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateIndexCommand.js +2 -2
  4. package/dist-es/commands/CreateVectorBucketCommand.js +2 -2
  5. package/dist-es/commands/DeleteIndexCommand.js +2 -2
  6. package/dist-es/commands/DeleteVectorBucketCommand.js +2 -2
  7. package/dist-es/commands/DeleteVectorBucketPolicyCommand.js +2 -2
  8. package/dist-es/commands/DeleteVectorsCommand.js +2 -2
  9. package/dist-es/commands/GetIndexCommand.js +2 -2
  10. package/dist-es/commands/GetVectorBucketCommand.js +2 -2
  11. package/dist-es/commands/GetVectorBucketPolicyCommand.js +2 -2
  12. package/dist-es/commands/GetVectorsCommand.js +2 -2
  13. package/dist-es/commands/ListIndexesCommand.js +2 -2
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  15. package/dist-es/commands/ListVectorBucketsCommand.js +2 -2
  16. package/dist-es/commands/ListVectorsCommand.js +2 -2
  17. package/dist-es/commands/PutVectorBucketPolicyCommand.js +2 -2
  18. package/dist-es/commands/PutVectorsCommand.js +2 -2
  19. package/dist-es/commands/QueryVectorsCommand.js +2 -2
  20. package/dist-es/commands/TagResourceCommand.js +2 -2
  21. package/dist-es/commands/UntagResourceCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -1
  24. package/dist-es/schemas/schemas_0.js +155 -155
  25. package/dist-types/S3VectorsClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +84 -97
  32. package/dist-types/ts3.4/S3VectorsClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +83 -97
  39. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3vectors" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.s3vectors",
32
+ version: "2025-07-15",
33
+ serviceTarget: "S3Vectors",
34
+ },
30
35
  serviceId: config?.serviceId ?? "S3Vectors",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateIndex } from "../schemas/schemas_0";
4
+ import { CreateIndex$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateIndexCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateIndexCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "CreateIndex", {})
13
13
  .n("S3VectorsClient", "CreateIndexCommand")
14
- .sc(CreateIndex)
14
+ .sc(CreateIndex$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateVectorBucket } from "../schemas/schemas_0";
4
+ import { CreateVectorBucket$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateVectorBucketCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateVectorBucketCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "CreateVectorBucket", {})
13
13
  .n("S3VectorsClient", "CreateVectorBucketCommand")
14
- .sc(CreateVectorBucket)
14
+ .sc(CreateVectorBucket$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteIndex } from "../schemas/schemas_0";
4
+ import { DeleteIndex$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteIndexCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteIndexCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "DeleteIndex", {})
13
13
  .n("S3VectorsClient", "DeleteIndexCommand")
14
- .sc(DeleteIndex)
14
+ .sc(DeleteIndex$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteVectorBucket } from "../schemas/schemas_0";
4
+ import { DeleteVectorBucket$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVectorBucketCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVectorBucketCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "DeleteVectorBucket", {})
13
13
  .n("S3VectorsClient", "DeleteVectorBucketCommand")
14
- .sc(DeleteVectorBucket)
14
+ .sc(DeleteVectorBucket$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteVectorBucketPolicy } from "../schemas/schemas_0";
4
+ import { DeleteVectorBucketPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVectorBucketPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVectorBucketPolicyCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "DeleteVectorBucketPolicy", {})
13
13
  .n("S3VectorsClient", "DeleteVectorBucketPolicyCommand")
14
- .sc(DeleteVectorBucketPolicy)
14
+ .sc(DeleteVectorBucketPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteVectors } from "../schemas/schemas_0";
4
+ import { DeleteVectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVectorsCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "DeleteVectors", {})
13
13
  .n("S3VectorsClient", "DeleteVectorsCommand")
14
- .sc(DeleteVectors)
14
+ .sc(DeleteVectors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetIndex } from "../schemas/schemas_0";
4
+ import { GetIndex$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetIndexCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetIndexCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "GetIndex", {})
13
13
  .n("S3VectorsClient", "GetIndexCommand")
14
- .sc(GetIndex)
14
+ .sc(GetIndex$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVectorBucket } from "../schemas/schemas_0";
4
+ import { GetVectorBucket$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVectorBucketCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVectorBucketCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "GetVectorBucket", {})
13
13
  .n("S3VectorsClient", "GetVectorBucketCommand")
14
- .sc(GetVectorBucket)
14
+ .sc(GetVectorBucket$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVectorBucketPolicy } from "../schemas/schemas_0";
4
+ import { GetVectorBucketPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVectorBucketPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVectorBucketPolicyCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "GetVectorBucketPolicy", {})
13
13
  .n("S3VectorsClient", "GetVectorBucketPolicyCommand")
14
- .sc(GetVectorBucketPolicy)
14
+ .sc(GetVectorBucketPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVectors } from "../schemas/schemas_0";
4
+ import { GetVectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVectorsCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "GetVectors", {})
13
13
  .n("S3VectorsClient", "GetVectorsCommand")
14
- .sc(GetVectors)
14
+ .sc(GetVectors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListIndexes } from "../schemas/schemas_0";
4
+ import { ListIndexes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListIndexesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListIndexesCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "ListIndexes", {})
13
13
  .n("S3VectorsClient", "ListIndexesCommand")
14
- .sc(ListIndexes)
14
+ .sc(ListIndexes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "ListTagsForResource", {})
13
13
  .n("S3VectorsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListVectorBuckets } from "../schemas/schemas_0";
4
+ import { ListVectorBuckets$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListVectorBucketsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListVectorBucketsCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "ListVectorBuckets", {})
13
13
  .n("S3VectorsClient", "ListVectorBucketsCommand")
14
- .sc(ListVectorBuckets)
14
+ .sc(ListVectorBuckets$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListVectors } from "../schemas/schemas_0";
4
+ import { ListVectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListVectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListVectorsCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "ListVectors", {})
13
13
  .n("S3VectorsClient", "ListVectorsCommand")
14
- .sc(ListVectors)
14
+ .sc(ListVectors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutVectorBucketPolicy } from "../schemas/schemas_0";
4
+ import { PutVectorBucketPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutVectorBucketPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutVectorBucketPolicyCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "PutVectorBucketPolicy", {})
13
13
  .n("S3VectorsClient", "PutVectorBucketPolicyCommand")
14
- .sc(PutVectorBucketPolicy)
14
+ .sc(PutVectorBucketPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutVectors } from "../schemas/schemas_0";
4
+ import { PutVectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutVectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutVectorsCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "PutVectors", {})
13
13
  .n("S3VectorsClient", "PutVectorsCommand")
14
- .sc(PutVectors)
14
+ .sc(PutVectors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { QueryVectors } from "../schemas/schemas_0";
4
+ import { QueryVectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class QueryVectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class QueryVectorsCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "QueryVectors", {})
13
13
  .n("S3VectorsClient", "QueryVectorsCommand")
14
- .sc(QueryVectors)
14
+ .sc(QueryVectors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "TagResource", {})
13
13
  .n("S3VectorsClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("S3Vectors", "UntagResource", {})
13
13
  .n("S3VectorsClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./S3VectorsClient";
2
2
  export * from "./S3Vectors";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3vectors" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.s3vectors",
29
+ version: "2025-07-15",
30
+ serviceTarget: "S3Vectors",
31
+ },
27
32
  serviceId: config?.serviceId ?? "S3Vectors",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,