@aws-sdk/client-evs 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 (86) hide show
  1. package/dist-cjs/index.js +33 -225
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateEipToVlanCommand.js +2 -14
  4. package/dist-es/commands/CreateEntitlementCommand.js +2 -14
  5. package/dist-es/commands/CreateEnvironmentCommand.js +2 -14
  6. package/dist-es/commands/CreateEnvironmentConnectorCommand.js +2 -14
  7. package/dist-es/commands/CreateEnvironmentHostCommand.js +2 -14
  8. package/dist-es/commands/DeleteEntitlementCommand.js +2 -14
  9. package/dist-es/commands/DeleteEnvironmentCommand.js +2 -14
  10. package/dist-es/commands/DeleteEnvironmentConnectorCommand.js +2 -14
  11. package/dist-es/commands/DeleteEnvironmentHostCommand.js +2 -14
  12. package/dist-es/commands/DisassociateEipFromVlanCommand.js +2 -14
  13. package/dist-es/commands/GetDepotUrlCommand.js +2 -14
  14. package/dist-es/commands/GetEnvironmentCommand.js +2 -14
  15. package/dist-es/commands/GetVersionsCommand.js +2 -14
  16. package/dist-es/commands/ListEnvironmentConnectorsCommand.js +2 -14
  17. package/dist-es/commands/ListEnvironmentHostsCommand.js +2 -14
  18. package/dist-es/commands/ListEnvironmentVlansCommand.js +2 -14
  19. package/dist-es/commands/ListEnvironmentsCommand.js +2 -14
  20. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  21. package/dist-es/commands/ListVmEntitlementsCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.js +2 -14
  24. package/dist-es/commands/UpdateEnvironmentConnectorCommand.js +2 -14
  25. package/dist-es/index.js +1 -0
  26. package/dist-es/runtimeConfig.browser.js +0 -2
  27. package/dist-es/runtimeConfig.js +1 -2
  28. package/dist-es/runtimeConfig.native.js +0 -2
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/AssociateEipToVlanCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateEntitlementCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -8
  34. package/dist-types/commands/CreateEnvironmentConnectorCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteEntitlementCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteEnvironmentConnectorCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +3 -8
  40. package/dist-types/commands/DisassociateEipFromVlanCommand.d.ts +3 -8
  41. package/dist-types/commands/GetDepotUrlCommand.d.ts +3 -8
  42. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -8
  43. package/dist-types/commands/GetVersionsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListEnvironmentConnectorsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListEnvironmentHostsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListEnvironmentVlansCommand.d.ts +3 -8
  47. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/ListVmEntitlementsCommand.d.ts +3 -8
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateEnvironmentConnectorCommand.d.ts +3 -8
  53. package/dist-types/index.d.ts +1 -0
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/runtimeConfig.d.ts +1 -1
  56. package/dist-types/runtimeConfig.native.d.ts +1 -1
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  59. package/dist-types/ts3.4/commands/AssociateEipToVlanCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/CreateEnvironmentConnectorCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/CreateEnvironmentHostCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DeleteEnvironmentConnectorCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/DeleteEnvironmentHostCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DisassociateEipFromVlanCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetDepotUrlCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetVersionsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListEnvironmentConnectorsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListEnvironmentHostsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListEnvironmentVlansCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListVmEntitlementsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UpdateEnvironmentConnectorCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/index.d.ts +1 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  86. 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 { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultEvsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -996,6 +998,7 @@ const getRuntimeConfig$1 = (config) => {
996
998
  serviceTarget: "AmazonElasticVMwareService",
997
999
  },
998
1000
  serviceId: config?.serviceId ?? "evs",
1001
+ sha256: config?.sha256 ?? Sha256,
999
1002
  urlParser: config?.urlParser ?? parseUrl,
1000
1003
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1001
1004
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1029,7 +1032,6 @@ const getRuntimeConfig = (config) => {
1029
1032
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1030
1033
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1031
1034
  }, config),
1032
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1033
1035
  streamCollector: config?.streamCollector ?? streamCollector,
1034
1036
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1035
1037
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1117,268 +1119,74 @@ class EvsClient extends Client {
1117
1119
  }
1118
1120
  }
1119
1121
 
1120
- class AssociateEipToVlanCommand extends Command
1121
- .classBuilder()
1122
- .ep(commonParams)
1123
- .m(function (Command, cs, config, o) {
1124
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1125
- })
1126
- .s("AmazonElasticVMwareService", "AssociateEipToVlan", {})
1127
- .n("EvsClient", "AssociateEipToVlanCommand")
1128
- .sc(AssociateEipToVlan$)
1129
- .build() {
1122
+ const command = makeBuilder(commonParams, "AmazonElasticVMwareService", "EvsClient", getEndpointPlugin);
1123
+ const _ep0 = {};
1124
+ const _mw0 = (Command, cs, config, o) => [];
1125
+
1126
+ class AssociateEipToVlanCommand extends command(_ep0, _mw0, "AssociateEipToVlan", AssociateEipToVlan$) {
1130
1127
  }
1131
1128
 
1132
- class CreateEntitlementCommand extends Command
1133
- .classBuilder()
1134
- .ep(commonParams)
1135
- .m(function (Command, cs, config, o) {
1136
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1137
- })
1138
- .s("AmazonElasticVMwareService", "CreateEntitlement", {})
1139
- .n("EvsClient", "CreateEntitlementCommand")
1140
- .sc(CreateEntitlement$)
1141
- .build() {
1129
+ class CreateEntitlementCommand extends command(_ep0, _mw0, "CreateEntitlement", CreateEntitlement$) {
1142
1130
  }
1143
1131
 
1144
- class CreateEnvironmentCommand extends Command
1145
- .classBuilder()
1146
- .ep(commonParams)
1147
- .m(function (Command, cs, config, o) {
1148
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1149
- })
1150
- .s("AmazonElasticVMwareService", "CreateEnvironment", {})
1151
- .n("EvsClient", "CreateEnvironmentCommand")
1152
- .sc(CreateEnvironment$)
1153
- .build() {
1132
+ class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
1154
1133
  }
1155
1134
 
1156
- class CreateEnvironmentConnectorCommand extends Command
1157
- .classBuilder()
1158
- .ep(commonParams)
1159
- .m(function (Command, cs, config, o) {
1160
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1161
- })
1162
- .s("AmazonElasticVMwareService", "CreateEnvironmentConnector", {})
1163
- .n("EvsClient", "CreateEnvironmentConnectorCommand")
1164
- .sc(CreateEnvironmentConnector$)
1165
- .build() {
1135
+ class CreateEnvironmentConnectorCommand extends command(_ep0, _mw0, "CreateEnvironmentConnector", CreateEnvironmentConnector$) {
1166
1136
  }
1167
1137
 
1168
- class CreateEnvironmentHostCommand extends Command
1169
- .classBuilder()
1170
- .ep(commonParams)
1171
- .m(function (Command, cs, config, o) {
1172
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1173
- })
1174
- .s("AmazonElasticVMwareService", "CreateEnvironmentHost", {})
1175
- .n("EvsClient", "CreateEnvironmentHostCommand")
1176
- .sc(CreateEnvironmentHost$)
1177
- .build() {
1138
+ class CreateEnvironmentHostCommand extends command(_ep0, _mw0, "CreateEnvironmentHost", CreateEnvironmentHost$) {
1178
1139
  }
1179
1140
 
1180
- class DeleteEntitlementCommand extends Command
1181
- .classBuilder()
1182
- .ep(commonParams)
1183
- .m(function (Command, cs, config, o) {
1184
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1185
- })
1186
- .s("AmazonElasticVMwareService", "DeleteEntitlement", {})
1187
- .n("EvsClient", "DeleteEntitlementCommand")
1188
- .sc(DeleteEntitlement$)
1189
- .build() {
1141
+ class DeleteEntitlementCommand extends command(_ep0, _mw0, "DeleteEntitlement", DeleteEntitlement$) {
1190
1142
  }
1191
1143
 
1192
- class DeleteEnvironmentCommand extends Command
1193
- .classBuilder()
1194
- .ep(commonParams)
1195
- .m(function (Command, cs, config, o) {
1196
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1197
- })
1198
- .s("AmazonElasticVMwareService", "DeleteEnvironment", {})
1199
- .n("EvsClient", "DeleteEnvironmentCommand")
1200
- .sc(DeleteEnvironment$)
1201
- .build() {
1144
+ class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
1202
1145
  }
1203
1146
 
1204
- class DeleteEnvironmentConnectorCommand extends Command
1205
- .classBuilder()
1206
- .ep(commonParams)
1207
- .m(function (Command, cs, config, o) {
1208
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1209
- })
1210
- .s("AmazonElasticVMwareService", "DeleteEnvironmentConnector", {})
1211
- .n("EvsClient", "DeleteEnvironmentConnectorCommand")
1212
- .sc(DeleteEnvironmentConnector$)
1213
- .build() {
1147
+ class DeleteEnvironmentConnectorCommand extends command(_ep0, _mw0, "DeleteEnvironmentConnector", DeleteEnvironmentConnector$) {
1214
1148
  }
1215
1149
 
1216
- class DeleteEnvironmentHostCommand extends Command
1217
- .classBuilder()
1218
- .ep(commonParams)
1219
- .m(function (Command, cs, config, o) {
1220
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1221
- })
1222
- .s("AmazonElasticVMwareService", "DeleteEnvironmentHost", {})
1223
- .n("EvsClient", "DeleteEnvironmentHostCommand")
1224
- .sc(DeleteEnvironmentHost$)
1225
- .build() {
1150
+ class DeleteEnvironmentHostCommand extends command(_ep0, _mw0, "DeleteEnvironmentHost", DeleteEnvironmentHost$) {
1226
1151
  }
1227
1152
 
1228
- class DisassociateEipFromVlanCommand extends Command
1229
- .classBuilder()
1230
- .ep(commonParams)
1231
- .m(function (Command, cs, config, o) {
1232
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1233
- })
1234
- .s("AmazonElasticVMwareService", "DisassociateEipFromVlan", {})
1235
- .n("EvsClient", "DisassociateEipFromVlanCommand")
1236
- .sc(DisassociateEipFromVlan$)
1237
- .build() {
1153
+ class DisassociateEipFromVlanCommand extends command(_ep0, _mw0, "DisassociateEipFromVlan", DisassociateEipFromVlan$) {
1238
1154
  }
1239
1155
 
1240
- class GetDepotUrlCommand extends Command
1241
- .classBuilder()
1242
- .ep(commonParams)
1243
- .m(function (Command, cs, config, o) {
1244
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
- })
1246
- .s("AmazonElasticVMwareService", "GetDepotUrl", {})
1247
- .n("EvsClient", "GetDepotUrlCommand")
1248
- .sc(GetDepotUrl$)
1249
- .build() {
1156
+ class GetDepotUrlCommand extends command(_ep0, _mw0, "GetDepotUrl", GetDepotUrl$) {
1250
1157
  }
1251
1158
 
1252
- class GetEnvironmentCommand extends Command
1253
- .classBuilder()
1254
- .ep(commonParams)
1255
- .m(function (Command, cs, config, o) {
1256
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1257
- })
1258
- .s("AmazonElasticVMwareService", "GetEnvironment", {})
1259
- .n("EvsClient", "GetEnvironmentCommand")
1260
- .sc(GetEnvironment$)
1261
- .build() {
1159
+ class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
1262
1160
  }
1263
1161
 
1264
- class GetVersionsCommand extends Command
1265
- .classBuilder()
1266
- .ep(commonParams)
1267
- .m(function (Command, cs, config, o) {
1268
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1269
- })
1270
- .s("AmazonElasticVMwareService", "GetVersions", {})
1271
- .n("EvsClient", "GetVersionsCommand")
1272
- .sc(GetVersions$)
1273
- .build() {
1162
+ class GetVersionsCommand extends command(_ep0, _mw0, "GetVersions", GetVersions$) {
1274
1163
  }
1275
1164
 
1276
- class ListEnvironmentConnectorsCommand extends Command
1277
- .classBuilder()
1278
- .ep(commonParams)
1279
- .m(function (Command, cs, config, o) {
1280
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1281
- })
1282
- .s("AmazonElasticVMwareService", "ListEnvironmentConnectors", {})
1283
- .n("EvsClient", "ListEnvironmentConnectorsCommand")
1284
- .sc(ListEnvironmentConnectors$)
1285
- .build() {
1165
+ class ListEnvironmentConnectorsCommand extends command(_ep0, _mw0, "ListEnvironmentConnectors", ListEnvironmentConnectors$) {
1286
1166
  }
1287
1167
 
1288
- class ListEnvironmentHostsCommand extends Command
1289
- .classBuilder()
1290
- .ep(commonParams)
1291
- .m(function (Command, cs, config, o) {
1292
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1293
- })
1294
- .s("AmazonElasticVMwareService", "ListEnvironmentHosts", {})
1295
- .n("EvsClient", "ListEnvironmentHostsCommand")
1296
- .sc(ListEnvironmentHosts$)
1297
- .build() {
1168
+ class ListEnvironmentHostsCommand extends command(_ep0, _mw0, "ListEnvironmentHosts", ListEnvironmentHosts$) {
1298
1169
  }
1299
1170
 
1300
- class ListEnvironmentsCommand extends Command
1301
- .classBuilder()
1302
- .ep(commonParams)
1303
- .m(function (Command, cs, config, o) {
1304
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1305
- })
1306
- .s("AmazonElasticVMwareService", "ListEnvironments", {})
1307
- .n("EvsClient", "ListEnvironmentsCommand")
1308
- .sc(ListEnvironments$)
1309
- .build() {
1171
+ class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
1310
1172
  }
1311
1173
 
1312
- class ListEnvironmentVlansCommand extends Command
1313
- .classBuilder()
1314
- .ep(commonParams)
1315
- .m(function (Command, cs, config, o) {
1316
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1317
- })
1318
- .s("AmazonElasticVMwareService", "ListEnvironmentVlans", {})
1319
- .n("EvsClient", "ListEnvironmentVlansCommand")
1320
- .sc(ListEnvironmentVlans$)
1321
- .build() {
1174
+ class ListEnvironmentVlansCommand extends command(_ep0, _mw0, "ListEnvironmentVlans", ListEnvironmentVlans$) {
1322
1175
  }
1323
1176
 
1324
- class ListTagsForResourceCommand extends Command
1325
- .classBuilder()
1326
- .ep(commonParams)
1327
- .m(function (Command, cs, config, o) {
1328
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1329
- })
1330
- .s("AmazonElasticVMwareService", "ListTagsForResource", {})
1331
- .n("EvsClient", "ListTagsForResourceCommand")
1332
- .sc(ListTagsForResource$)
1333
- .build() {
1177
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1334
1178
  }
1335
1179
 
1336
- class ListVmEntitlementsCommand extends Command
1337
- .classBuilder()
1338
- .ep(commonParams)
1339
- .m(function (Command, cs, config, o) {
1340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1341
- })
1342
- .s("AmazonElasticVMwareService", "ListVmEntitlements", {})
1343
- .n("EvsClient", "ListVmEntitlementsCommand")
1344
- .sc(ListVmEntitlements$)
1345
- .build() {
1180
+ class ListVmEntitlementsCommand extends command(_ep0, _mw0, "ListVmEntitlements", ListVmEntitlements$) {
1346
1181
  }
1347
1182
 
1348
- class TagResourceCommand extends Command
1349
- .classBuilder()
1350
- .ep(commonParams)
1351
- .m(function (Command, cs, config, o) {
1352
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1353
- })
1354
- .s("AmazonElasticVMwareService", "TagResource", {})
1355
- .n("EvsClient", "TagResourceCommand")
1356
- .sc(TagResource$)
1357
- .build() {
1183
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1358
1184
  }
1359
1185
 
1360
- class UntagResourceCommand extends Command
1361
- .classBuilder()
1362
- .ep(commonParams)
1363
- .m(function (Command, cs, config, o) {
1364
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1365
- })
1366
- .s("AmazonElasticVMwareService", "UntagResource", {})
1367
- .n("EvsClient", "UntagResourceCommand")
1368
- .sc(UntagResource$)
1369
- .build() {
1186
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1370
1187
  }
1371
1188
 
1372
- class UpdateEnvironmentConnectorCommand extends Command
1373
- .classBuilder()
1374
- .ep(commonParams)
1375
- .m(function (Command, cs, config, o) {
1376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1377
- })
1378
- .s("AmazonElasticVMwareService", "UpdateEnvironmentConnector", {})
1379
- .n("EvsClient", "UpdateEnvironmentConnectorCommand")
1380
- .sc(UpdateEnvironmentConnector$)
1381
- .build() {
1189
+ class UpdateEnvironmentConnectorCommand extends command(_ep0, _mw0, "UpdateEnvironmentConnector", UpdateEnvironmentConnector$) {
1382
1190
  }
1383
1191
 
1384
1192
  const paginateListEnvironmentConnectors = createPaginator(EvsClient, ListEnvironmentConnectorsCommand, "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, "AmazonElasticVMwareService", "EvsClient", 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 { AssociateEipToVlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateEipToVlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "AssociateEipToVlan", {})
13
- .n("EvsClient", "AssociateEipToVlanCommand")
14
- .sc(AssociateEipToVlan$)
15
- .build() {
3
+ export class AssociateEipToVlanCommand extends command(_ep0, _mw0, "AssociateEipToVlan", AssociateEipToVlan$) {
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 { CreateEntitlement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEntitlementCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "CreateEntitlement", {})
13
- .n("EvsClient", "CreateEntitlementCommand")
14
- .sc(CreateEntitlement$)
15
- .build() {
3
+ export class CreateEntitlementCommand extends command(_ep0, _mw0, "CreateEntitlement", CreateEntitlement$) {
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 { CreateEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "CreateEnvironment", {})
13
- .n("EvsClient", "CreateEnvironmentCommand")
14
- .sc(CreateEnvironment$)
15
- .build() {
3
+ export class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
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 { CreateEnvironmentConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "CreateEnvironmentConnector", {})
13
- .n("EvsClient", "CreateEnvironmentConnectorCommand")
14
- .sc(CreateEnvironmentConnector$)
15
- .build() {
3
+ export class CreateEnvironmentConnectorCommand extends command(_ep0, _mw0, "CreateEnvironmentConnector", CreateEnvironmentConnector$) {
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 { CreateEnvironmentHost$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentHostCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "CreateEnvironmentHost", {})
13
- .n("EvsClient", "CreateEnvironmentHostCommand")
14
- .sc(CreateEnvironmentHost$)
15
- .build() {
3
+ export class CreateEnvironmentHostCommand extends command(_ep0, _mw0, "CreateEnvironmentHost", CreateEnvironmentHost$) {
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 { DeleteEntitlement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEntitlementCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "DeleteEntitlement", {})
13
- .n("EvsClient", "DeleteEntitlementCommand")
14
- .sc(DeleteEntitlement$)
15
- .build() {
3
+ export class DeleteEntitlementCommand extends command(_ep0, _mw0, "DeleteEntitlement", DeleteEntitlement$) {
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 { DeleteEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "DeleteEnvironment", {})
13
- .n("EvsClient", "DeleteEnvironmentCommand")
14
- .sc(DeleteEnvironment$)
15
- .build() {
3
+ export class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
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 { DeleteEnvironmentConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "DeleteEnvironmentConnector", {})
13
- .n("EvsClient", "DeleteEnvironmentConnectorCommand")
14
- .sc(DeleteEnvironmentConnector$)
15
- .build() {
3
+ export class DeleteEnvironmentConnectorCommand extends command(_ep0, _mw0, "DeleteEnvironmentConnector", DeleteEnvironmentConnector$) {
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 { DeleteEnvironmentHost$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentHostCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "DeleteEnvironmentHost", {})
13
- .n("EvsClient", "DeleteEnvironmentHostCommand")
14
- .sc(DeleteEnvironmentHost$)
15
- .build() {
3
+ export class DeleteEnvironmentHostCommand extends command(_ep0, _mw0, "DeleteEnvironmentHost", DeleteEnvironmentHost$) {
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 { DisassociateEipFromVlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateEipFromVlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "DisassociateEipFromVlan", {})
13
- .n("EvsClient", "DisassociateEipFromVlanCommand")
14
- .sc(DisassociateEipFromVlan$)
15
- .build() {
3
+ export class DisassociateEipFromVlanCommand extends command(_ep0, _mw0, "DisassociateEipFromVlan", DisassociateEipFromVlan$) {
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 { GetDepotUrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDepotUrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "GetDepotUrl", {})
13
- .n("EvsClient", "GetDepotUrlCommand")
14
- .sc(GetDepotUrl$)
15
- .build() {
3
+ export class GetDepotUrlCommand extends command(_ep0, _mw0, "GetDepotUrl", GetDepotUrl$) {
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 { GetEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "GetEnvironment", {})
13
- .n("EvsClient", "GetEnvironmentCommand")
14
- .sc(GetEnvironment$)
15
- .build() {
3
+ export class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
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 { GetVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "GetVersions", {})
13
- .n("EvsClient", "GetVersionsCommand")
14
- .sc(GetVersions$)
15
- .build() {
3
+ export class GetVersionsCommand extends command(_ep0, _mw0, "GetVersions", GetVersions$) {
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 { ListEnvironmentConnectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEnvironmentConnectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "ListEnvironmentConnectors", {})
13
- .n("EvsClient", "ListEnvironmentConnectorsCommand")
14
- .sc(ListEnvironmentConnectors$)
15
- .build() {
3
+ export class ListEnvironmentConnectorsCommand extends command(_ep0, _mw0, "ListEnvironmentConnectors", ListEnvironmentConnectors$) {
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 { ListEnvironmentHosts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEnvironmentHostsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonElasticVMwareService", "ListEnvironmentHosts", {})
13
- .n("EvsClient", "ListEnvironmentHostsCommand")
14
- .sc(ListEnvironmentHosts$)
15
- .build() {
3
+ export class ListEnvironmentHostsCommand extends command(_ep0, _mw0, "ListEnvironmentHosts", ListEnvironmentHosts$) {
16
4
  }