@aws-sdk/client-s3vectors 3.1076.0 → 3.1078.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 (77) hide show
  1. package/dist-cjs/index.js +30 -195
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateIndexCommand.js +2 -14
  4. package/dist-es/commands/CreateVectorBucketCommand.js +2 -14
  5. package/dist-es/commands/DeleteIndexCommand.js +2 -14
  6. package/dist-es/commands/DeleteVectorBucketCommand.js +2 -14
  7. package/dist-es/commands/DeleteVectorBucketPolicyCommand.js +2 -14
  8. package/dist-es/commands/DeleteVectorsCommand.js +2 -14
  9. package/dist-es/commands/GetIndexCommand.js +2 -14
  10. package/dist-es/commands/GetVectorBucketCommand.js +2 -14
  11. package/dist-es/commands/GetVectorBucketPolicyCommand.js +2 -14
  12. package/dist-es/commands/GetVectorsCommand.js +2 -14
  13. package/dist-es/commands/ListIndexesCommand.js +2 -14
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  15. package/dist-es/commands/ListVectorBucketsCommand.js +2 -14
  16. package/dist-es/commands/ListVectorsCommand.js +2 -14
  17. package/dist-es/commands/PutVectorBucketPolicyCommand.js +2 -14
  18. package/dist-es/commands/PutVectorsCommand.js +2 -14
  19. package/dist-es/commands/QueryVectorsCommand.js +2 -14
  20. package/dist-es/commands/TagResourceCommand.js +2 -14
  21. package/dist-es/commands/UntagResourceCommand.js +2 -14
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -2
  24. package/dist-es/runtimeConfig.js +1 -2
  25. package/dist-es/runtimeConfig.native.js +0 -2
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateVectorBucketCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteVectorBucketCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteVectorBucketPolicyCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteVectorsCommand.d.ts +3 -8
  34. package/dist-types/commands/GetIndexCommand.d.ts +3 -8
  35. package/dist-types/commands/GetVectorBucketCommand.d.ts +3 -8
  36. package/dist-types/commands/GetVectorBucketPolicyCommand.d.ts +3 -8
  37. package/dist-types/commands/GetVectorsCommand.d.ts +3 -8
  38. package/dist-types/commands/ListIndexesCommand.d.ts +3 -8
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  40. package/dist-types/commands/ListVectorBucketsCommand.d.ts +3 -8
  41. package/dist-types/commands/ListVectorsCommand.d.ts +3 -8
  42. package/dist-types/commands/PutVectorBucketPolicyCommand.d.ts +3 -8
  43. package/dist-types/commands/PutVectorsCommand.d.ts +3 -8
  44. package/dist-types/commands/QueryVectorsCommand.d.ts +3 -8
  45. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  46. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  47. package/dist-types/index.d.ts +1 -0
  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 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CreateVectorBucketCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteVectorBucketCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteVectorBucketPolicyCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DeleteVectorsCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetVectorBucketCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetVectorBucketPolicyCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetVectorsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListVectorBucketsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ListVectorsCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/PutVectorBucketPolicyCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/PutVectorsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/QueryVectorsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultS3VectorsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -65,7 +67,7 @@ const commonParams = {
65
67
  Region: { type: "builtInParams", name: "region" },
66
68
  };
67
69
 
68
- var version = "3.1075.0";
70
+ var version = "3.1077.0";
69
71
  var packageInfo = {
70
72
  version: version};
71
73
 
@@ -861,6 +863,7 @@ const getRuntimeConfig$1 = (config) => {
861
863
  serviceTarget: "S3Vectors",
862
864
  },
863
865
  serviceId: config?.serviceId ?? "S3Vectors",
866
+ sha256: config?.sha256 ?? Sha256,
864
867
  urlParser: config?.urlParser ?? parseUrl,
865
868
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
866
869
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -894,7 +897,6 @@ const getRuntimeConfig = (config) => {
894
897
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
895
898
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
896
899
  }, config),
897
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
898
900
  streamCollector: config?.streamCollector ?? streamCollector,
899
901
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
900
902
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -982,232 +984,65 @@ class S3VectorsClient extends Client {
982
984
  }
983
985
  }
984
986
 
985
- class CreateIndexCommand extends Command
986
- .classBuilder()
987
- .ep(commonParams)
988
- .m(function (Command, cs, config, o) {
989
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
990
- })
991
- .s("S3Vectors", "CreateIndex", {})
992
- .n("S3VectorsClient", "CreateIndexCommand")
993
- .sc(CreateIndex$)
994
- .build() {
987
+ const command = makeBuilder(commonParams, "S3Vectors", "S3VectorsClient", getEndpointPlugin);
988
+ const _ep0 = {};
989
+ const _mw0 = (Command, cs, config, o) => [];
990
+
991
+ class CreateIndexCommand extends command(_ep0, _mw0, "CreateIndex", CreateIndex$) {
995
992
  }
996
993
 
997
- class CreateVectorBucketCommand extends Command
998
- .classBuilder()
999
- .ep(commonParams)
1000
- .m(function (Command, cs, config, o) {
1001
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1002
- })
1003
- .s("S3Vectors", "CreateVectorBucket", {})
1004
- .n("S3VectorsClient", "CreateVectorBucketCommand")
1005
- .sc(CreateVectorBucket$)
1006
- .build() {
994
+ class CreateVectorBucketCommand extends command(_ep0, _mw0, "CreateVectorBucket", CreateVectorBucket$) {
1007
995
  }
1008
996
 
1009
- class DeleteIndexCommand extends Command
1010
- .classBuilder()
1011
- .ep(commonParams)
1012
- .m(function (Command, cs, config, o) {
1013
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1014
- })
1015
- .s("S3Vectors", "DeleteIndex", {})
1016
- .n("S3VectorsClient", "DeleteIndexCommand")
1017
- .sc(DeleteIndex$)
1018
- .build() {
997
+ class DeleteIndexCommand extends command(_ep0, _mw0, "DeleteIndex", DeleteIndex$) {
1019
998
  }
1020
999
 
1021
- class DeleteVectorBucketCommand extends Command
1022
- .classBuilder()
1023
- .ep(commonParams)
1024
- .m(function (Command, cs, config, o) {
1025
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1026
- })
1027
- .s("S3Vectors", "DeleteVectorBucket", {})
1028
- .n("S3VectorsClient", "DeleteVectorBucketCommand")
1029
- .sc(DeleteVectorBucket$)
1030
- .build() {
1000
+ class DeleteVectorBucketCommand extends command(_ep0, _mw0, "DeleteVectorBucket", DeleteVectorBucket$) {
1031
1001
  }
1032
1002
 
1033
- class DeleteVectorBucketPolicyCommand extends Command
1034
- .classBuilder()
1035
- .ep(commonParams)
1036
- .m(function (Command, cs, config, o) {
1037
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1038
- })
1039
- .s("S3Vectors", "DeleteVectorBucketPolicy", {})
1040
- .n("S3VectorsClient", "DeleteVectorBucketPolicyCommand")
1041
- .sc(DeleteVectorBucketPolicy$)
1042
- .build() {
1003
+ class DeleteVectorBucketPolicyCommand extends command(_ep0, _mw0, "DeleteVectorBucketPolicy", DeleteVectorBucketPolicy$) {
1043
1004
  }
1044
1005
 
1045
- class DeleteVectorsCommand extends Command
1046
- .classBuilder()
1047
- .ep(commonParams)
1048
- .m(function (Command, cs, config, o) {
1049
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1050
- })
1051
- .s("S3Vectors", "DeleteVectors", {})
1052
- .n("S3VectorsClient", "DeleteVectorsCommand")
1053
- .sc(DeleteVectors$)
1054
- .build() {
1006
+ class DeleteVectorsCommand extends command(_ep0, _mw0, "DeleteVectors", DeleteVectors$) {
1055
1007
  }
1056
1008
 
1057
- class GetIndexCommand extends Command
1058
- .classBuilder()
1059
- .ep(commonParams)
1060
- .m(function (Command, cs, config, o) {
1061
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1062
- })
1063
- .s("S3Vectors", "GetIndex", {})
1064
- .n("S3VectorsClient", "GetIndexCommand")
1065
- .sc(GetIndex$)
1066
- .build() {
1009
+ class GetIndexCommand extends command(_ep0, _mw0, "GetIndex", GetIndex$) {
1067
1010
  }
1068
1011
 
1069
- class GetVectorBucketCommand extends Command
1070
- .classBuilder()
1071
- .ep(commonParams)
1072
- .m(function (Command, cs, config, o) {
1073
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1074
- })
1075
- .s("S3Vectors", "GetVectorBucket", {})
1076
- .n("S3VectorsClient", "GetVectorBucketCommand")
1077
- .sc(GetVectorBucket$)
1078
- .build() {
1012
+ class GetVectorBucketCommand extends command(_ep0, _mw0, "GetVectorBucket", GetVectorBucket$) {
1079
1013
  }
1080
1014
 
1081
- class GetVectorBucketPolicyCommand extends Command
1082
- .classBuilder()
1083
- .ep(commonParams)
1084
- .m(function (Command, cs, config, o) {
1085
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1086
- })
1087
- .s("S3Vectors", "GetVectorBucketPolicy", {})
1088
- .n("S3VectorsClient", "GetVectorBucketPolicyCommand")
1089
- .sc(GetVectorBucketPolicy$)
1090
- .build() {
1015
+ class GetVectorBucketPolicyCommand extends command(_ep0, _mw0, "GetVectorBucketPolicy", GetVectorBucketPolicy$) {
1091
1016
  }
1092
1017
 
1093
- class GetVectorsCommand extends Command
1094
- .classBuilder()
1095
- .ep(commonParams)
1096
- .m(function (Command, cs, config, o) {
1097
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1098
- })
1099
- .s("S3Vectors", "GetVectors", {})
1100
- .n("S3VectorsClient", "GetVectorsCommand")
1101
- .sc(GetVectors$)
1102
- .build() {
1018
+ class GetVectorsCommand extends command(_ep0, _mw0, "GetVectors", GetVectors$) {
1103
1019
  }
1104
1020
 
1105
- class ListIndexesCommand extends Command
1106
- .classBuilder()
1107
- .ep(commonParams)
1108
- .m(function (Command, cs, config, o) {
1109
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1110
- })
1111
- .s("S3Vectors", "ListIndexes", {})
1112
- .n("S3VectorsClient", "ListIndexesCommand")
1113
- .sc(ListIndexes$)
1114
- .build() {
1021
+ class ListIndexesCommand extends command(_ep0, _mw0, "ListIndexes", ListIndexes$) {
1115
1022
  }
1116
1023
 
1117
- class ListTagsForResourceCommand extends Command
1118
- .classBuilder()
1119
- .ep(commonParams)
1120
- .m(function (Command, cs, config, o) {
1121
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1122
- })
1123
- .s("S3Vectors", "ListTagsForResource", {})
1124
- .n("S3VectorsClient", "ListTagsForResourceCommand")
1125
- .sc(ListTagsForResource$)
1126
- .build() {
1024
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1127
1025
  }
1128
1026
 
1129
- class ListVectorBucketsCommand extends Command
1130
- .classBuilder()
1131
- .ep(commonParams)
1132
- .m(function (Command, cs, config, o) {
1133
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1134
- })
1135
- .s("S3Vectors", "ListVectorBuckets", {})
1136
- .n("S3VectorsClient", "ListVectorBucketsCommand")
1137
- .sc(ListVectorBuckets$)
1138
- .build() {
1027
+ class ListVectorBucketsCommand extends command(_ep0, _mw0, "ListVectorBuckets", ListVectorBuckets$) {
1139
1028
  }
1140
1029
 
1141
- class ListVectorsCommand extends Command
1142
- .classBuilder()
1143
- .ep(commonParams)
1144
- .m(function (Command, cs, config, o) {
1145
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1146
- })
1147
- .s("S3Vectors", "ListVectors", {})
1148
- .n("S3VectorsClient", "ListVectorsCommand")
1149
- .sc(ListVectors$)
1150
- .build() {
1030
+ class ListVectorsCommand extends command(_ep0, _mw0, "ListVectors", ListVectors$) {
1151
1031
  }
1152
1032
 
1153
- class PutVectorBucketPolicyCommand extends Command
1154
- .classBuilder()
1155
- .ep(commonParams)
1156
- .m(function (Command, cs, config, o) {
1157
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1158
- })
1159
- .s("S3Vectors", "PutVectorBucketPolicy", {})
1160
- .n("S3VectorsClient", "PutVectorBucketPolicyCommand")
1161
- .sc(PutVectorBucketPolicy$)
1162
- .build() {
1033
+ class PutVectorBucketPolicyCommand extends command(_ep0, _mw0, "PutVectorBucketPolicy", PutVectorBucketPolicy$) {
1163
1034
  }
1164
1035
 
1165
- class PutVectorsCommand extends Command
1166
- .classBuilder()
1167
- .ep(commonParams)
1168
- .m(function (Command, cs, config, o) {
1169
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1170
- })
1171
- .s("S3Vectors", "PutVectors", {})
1172
- .n("S3VectorsClient", "PutVectorsCommand")
1173
- .sc(PutVectors$)
1174
- .build() {
1036
+ class PutVectorsCommand extends command(_ep0, _mw0, "PutVectors", PutVectors$) {
1175
1037
  }
1176
1038
 
1177
- class QueryVectorsCommand extends Command
1178
- .classBuilder()
1179
- .ep(commonParams)
1180
- .m(function (Command, cs, config, o) {
1181
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
- })
1183
- .s("S3Vectors", "QueryVectors", {})
1184
- .n("S3VectorsClient", "QueryVectorsCommand")
1185
- .sc(QueryVectors$)
1186
- .build() {
1039
+ class QueryVectorsCommand extends command(_ep0, _mw0, "QueryVectors", QueryVectors$) {
1187
1040
  }
1188
1041
 
1189
- class TagResourceCommand extends Command
1190
- .classBuilder()
1191
- .ep(commonParams)
1192
- .m(function (Command, cs, config, o) {
1193
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
- })
1195
- .s("S3Vectors", "TagResource", {})
1196
- .n("S3VectorsClient", "TagResourceCommand")
1197
- .sc(TagResource$)
1198
- .build() {
1042
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1199
1043
  }
1200
1044
 
1201
- class UntagResourceCommand extends Command
1202
- .classBuilder()
1203
- .ep(commonParams)
1204
- .m(function (Command, cs, config, o) {
1205
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1206
- })
1207
- .s("S3Vectors", "UntagResource", {})
1208
- .n("S3VectorsClient", "UntagResourceCommand")
1209
- .sc(UntagResource$)
1210
- .build() {
1045
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1211
1046
  }
1212
1047
 
1213
1048
  const paginateListIndexes = createPaginator(S3VectorsClient, ListIndexesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "S3Vectors", "S3VectorsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "CreateIndex", {})
13
- .n("S3VectorsClient", "CreateIndexCommand")
14
- .sc(CreateIndex$)
15
- .build() {
3
+ export class CreateIndexCommand extends command(_ep0, _mw0, "CreateIndex", CreateIndex$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateVectorBucket$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateVectorBucketCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "CreateVectorBucket", {})
13
- .n("S3VectorsClient", "CreateVectorBucketCommand")
14
- .sc(CreateVectorBucket$)
15
- .build() {
3
+ export class CreateVectorBucketCommand extends command(_ep0, _mw0, "CreateVectorBucket", CreateVectorBucket$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "DeleteIndex", {})
13
- .n("S3VectorsClient", "DeleteIndexCommand")
14
- .sc(DeleteIndex$)
15
- .build() {
3
+ export class DeleteIndexCommand extends command(_ep0, _mw0, "DeleteIndex", DeleteIndex$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteVectorBucket$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVectorBucketCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "DeleteVectorBucket", {})
13
- .n("S3VectorsClient", "DeleteVectorBucketCommand")
14
- .sc(DeleteVectorBucket$)
15
- .build() {
3
+ export class DeleteVectorBucketCommand extends command(_ep0, _mw0, "DeleteVectorBucket", DeleteVectorBucket$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteVectorBucketPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVectorBucketPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "DeleteVectorBucketPolicy", {})
13
- .n("S3VectorsClient", "DeleteVectorBucketPolicyCommand")
14
- .sc(DeleteVectorBucketPolicy$)
15
- .build() {
3
+ export class DeleteVectorBucketPolicyCommand extends command(_ep0, _mw0, "DeleteVectorBucketPolicy", DeleteVectorBucketPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteVectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "DeleteVectors", {})
13
- .n("S3VectorsClient", "DeleteVectorsCommand")
14
- .sc(DeleteVectors$)
15
- .build() {
3
+ export class DeleteVectorsCommand extends command(_ep0, _mw0, "DeleteVectors", DeleteVectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "GetIndex", {})
13
- .n("S3VectorsClient", "GetIndexCommand")
14
- .sc(GetIndex$)
15
- .build() {
3
+ export class GetIndexCommand extends command(_ep0, _mw0, "GetIndex", GetIndex$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVectorBucket$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVectorBucketCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "GetVectorBucket", {})
13
- .n("S3VectorsClient", "GetVectorBucketCommand")
14
- .sc(GetVectorBucket$)
15
- .build() {
3
+ export class GetVectorBucketCommand extends command(_ep0, _mw0, "GetVectorBucket", GetVectorBucket$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVectorBucketPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVectorBucketPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "GetVectorBucketPolicy", {})
13
- .n("S3VectorsClient", "GetVectorBucketPolicyCommand")
14
- .sc(GetVectorBucketPolicy$)
15
- .build() {
3
+ export class GetVectorBucketPolicyCommand extends command(_ep0, _mw0, "GetVectorBucketPolicy", GetVectorBucketPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "GetVectors", {})
13
- .n("S3VectorsClient", "GetVectorsCommand")
14
- .sc(GetVectors$)
15
- .build() {
3
+ export class GetVectorsCommand extends command(_ep0, _mw0, "GetVectors", GetVectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIndexes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIndexesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "ListIndexes", {})
13
- .n("S3VectorsClient", "ListIndexesCommand")
14
- .sc(ListIndexes$)
15
- .build() {
3
+ export class ListIndexesCommand extends command(_ep0, _mw0, "ListIndexes", ListIndexes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "ListTagsForResource", {})
13
- .n("S3VectorsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListVectorBuckets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListVectorBucketsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "ListVectorBuckets", {})
13
- .n("S3VectorsClient", "ListVectorBucketsCommand")
14
- .sc(ListVectorBuckets$)
15
- .build() {
3
+ export class ListVectorBucketsCommand extends command(_ep0, _mw0, "ListVectorBuckets", ListVectorBuckets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListVectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListVectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "ListVectors", {})
13
- .n("S3VectorsClient", "ListVectorsCommand")
14
- .sc(ListVectors$)
15
- .build() {
3
+ export class ListVectorsCommand extends command(_ep0, _mw0, "ListVectors", ListVectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutVectorBucketPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutVectorBucketPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "PutVectorBucketPolicy", {})
13
- .n("S3VectorsClient", "PutVectorBucketPolicyCommand")
14
- .sc(PutVectorBucketPolicy$)
15
- .build() {
3
+ export class PutVectorBucketPolicyCommand extends command(_ep0, _mw0, "PutVectorBucketPolicy", PutVectorBucketPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutVectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutVectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "PutVectors", {})
13
- .n("S3VectorsClient", "PutVectorsCommand")
14
- .sc(PutVectors$)
15
- .build() {
3
+ export class PutVectorsCommand extends command(_ep0, _mw0, "PutVectors", PutVectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { QueryVectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class QueryVectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("S3Vectors", "QueryVectors", {})
13
- .n("S3VectorsClient", "QueryVectorsCommand")
14
- .sc(QueryVectors$)
15
- .build() {
3
+ export class QueryVectorsCommand extends command(_ep0, _mw0, "QueryVectors", QueryVectors$) {
16
4
  }