@aws-sdk/client-pcs 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/CreateClusterCommand.js +2 -14
  4. package/dist-es/commands/CreateComputeNodeGroupCommand.js +2 -14
  5. package/dist-es/commands/CreateQueueCommand.js +2 -14
  6. package/dist-es/commands/DeleteClusterCommand.js +2 -14
  7. package/dist-es/commands/DeleteComputeNodeGroupCommand.js +2 -14
  8. package/dist-es/commands/DeleteQueueCommand.js +2 -14
  9. package/dist-es/commands/GetClusterCommand.js +2 -14
  10. package/dist-es/commands/GetComputeNodeGroupCommand.js +2 -14
  11. package/dist-es/commands/GetQueueCommand.js +2 -14
  12. package/dist-es/commands/ListClustersCommand.js +2 -14
  13. package/dist-es/commands/ListComputeNodeGroupsCommand.js +2 -14
  14. package/dist-es/commands/ListQueuesCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/RegisterComputeNodeGroupInstanceCommand.js +2 -14
  17. package/dist-es/commands/TagResourceCommand.js +2 -14
  18. package/dist-es/commands/UntagResourceCommand.js +2 -14
  19. package/dist-es/commands/UpdateClusterCommand.js +2 -14
  20. package/dist-es/commands/UpdateComputeNodeGroupCommand.js +2 -14
  21. package/dist-es/commands/UpdateQueueCommand.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/CreateClusterCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateQueueCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteComputeNodeGroupCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteQueueCommand.d.ts +3 -8
  34. package/dist-types/commands/GetClusterCommand.d.ts +3 -8
  35. package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +3 -8
  36. package/dist-types/commands/GetQueueCommand.d.ts +3 -8
  37. package/dist-types/commands/ListClustersCommand.d.ts +3 -8
  38. package/dist-types/commands/ListComputeNodeGroupsCommand.d.ts +3 -8
  39. package/dist-types/commands/ListQueuesCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +3 -8
  42. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  43. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/UpdateClusterCommand.d.ts +3 -8
  45. package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +3 -8
  46. package/dist-types/commands/UpdateQueueCommand.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/CreateClusterCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CreateComputeNodeGroupCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteComputeNodeGroupCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetComputeNodeGroupCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetQueueCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListComputeNodeGroupsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/UpdateComputeNodeGroupCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UpdateQueueCommand.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 { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultPCSHttpAuthSchemeParametersProvider = 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
 
@@ -1013,6 +1015,7 @@ const getRuntimeConfig$1 = (config) => {
1013
1015
  serviceTarget: "AWSParallelComputingService",
1014
1016
  },
1015
1017
  serviceId: config?.serviceId ?? "PCS",
1018
+ sha256: config?.sha256 ?? Sha256,
1016
1019
  urlParser: config?.urlParser ?? parseUrl,
1017
1020
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1018
1021
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1046,7 +1049,6 @@ const getRuntimeConfig = (config) => {
1046
1049
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1047
1050
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1048
1051
  }, config),
1049
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1050
1052
  streamCollector: config?.streamCollector ?? streamCollector,
1051
1053
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1052
1054
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1134,232 +1136,65 @@ class PCSClient extends Client {
1134
1136
  }
1135
1137
  }
1136
1138
 
1137
- class CreateClusterCommand extends Command
1138
- .classBuilder()
1139
- .ep(commonParams)
1140
- .m(function (Command, cs, config, o) {
1141
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1142
- })
1143
- .s("AWSParallelComputingService", "CreateCluster", {})
1144
- .n("PCSClient", "CreateClusterCommand")
1145
- .sc(CreateCluster$)
1146
- .build() {
1139
+ const command = makeBuilder(commonParams, "AWSParallelComputingService", "PCSClient", getEndpointPlugin);
1140
+ const _ep0 = {};
1141
+ const _mw0 = (Command, cs, config, o) => [];
1142
+
1143
+ class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
1147
1144
  }
1148
1145
 
1149
- class CreateComputeNodeGroupCommand extends Command
1150
- .classBuilder()
1151
- .ep(commonParams)
1152
- .m(function (Command, cs, config, o) {
1153
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1154
- })
1155
- .s("AWSParallelComputingService", "CreateComputeNodeGroup", {})
1156
- .n("PCSClient", "CreateComputeNodeGroupCommand")
1157
- .sc(CreateComputeNodeGroup$)
1158
- .build() {
1146
+ class CreateComputeNodeGroupCommand extends command(_ep0, _mw0, "CreateComputeNodeGroup", CreateComputeNodeGroup$) {
1159
1147
  }
1160
1148
 
1161
- class CreateQueueCommand extends Command
1162
- .classBuilder()
1163
- .ep(commonParams)
1164
- .m(function (Command, cs, config, o) {
1165
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1166
- })
1167
- .s("AWSParallelComputingService", "CreateQueue", {})
1168
- .n("PCSClient", "CreateQueueCommand")
1169
- .sc(CreateQueue$)
1170
- .build() {
1149
+ class CreateQueueCommand extends command(_ep0, _mw0, "CreateQueue", CreateQueue$) {
1171
1150
  }
1172
1151
 
1173
- class DeleteClusterCommand extends Command
1174
- .classBuilder()
1175
- .ep(commonParams)
1176
- .m(function (Command, cs, config, o) {
1177
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1178
- })
1179
- .s("AWSParallelComputingService", "DeleteCluster", {})
1180
- .n("PCSClient", "DeleteClusterCommand")
1181
- .sc(DeleteCluster$)
1182
- .build() {
1152
+ class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
1183
1153
  }
1184
1154
 
1185
- class DeleteComputeNodeGroupCommand extends Command
1186
- .classBuilder()
1187
- .ep(commonParams)
1188
- .m(function (Command, cs, config, o) {
1189
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1190
- })
1191
- .s("AWSParallelComputingService", "DeleteComputeNodeGroup", {})
1192
- .n("PCSClient", "DeleteComputeNodeGroupCommand")
1193
- .sc(DeleteComputeNodeGroup$)
1194
- .build() {
1155
+ class DeleteComputeNodeGroupCommand extends command(_ep0, _mw0, "DeleteComputeNodeGroup", DeleteComputeNodeGroup$) {
1195
1156
  }
1196
1157
 
1197
- class DeleteQueueCommand extends Command
1198
- .classBuilder()
1199
- .ep(commonParams)
1200
- .m(function (Command, cs, config, o) {
1201
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1202
- })
1203
- .s("AWSParallelComputingService", "DeleteQueue", {})
1204
- .n("PCSClient", "DeleteQueueCommand")
1205
- .sc(DeleteQueue$)
1206
- .build() {
1158
+ class DeleteQueueCommand extends command(_ep0, _mw0, "DeleteQueue", DeleteQueue$) {
1207
1159
  }
1208
1160
 
1209
- class GetClusterCommand extends Command
1210
- .classBuilder()
1211
- .ep(commonParams)
1212
- .m(function (Command, cs, config, o) {
1213
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1214
- })
1215
- .s("AWSParallelComputingService", "GetCluster", {})
1216
- .n("PCSClient", "GetClusterCommand")
1217
- .sc(GetCluster$)
1218
- .build() {
1161
+ class GetClusterCommand extends command(_ep0, _mw0, "GetCluster", GetCluster$) {
1219
1162
  }
1220
1163
 
1221
- class GetComputeNodeGroupCommand extends Command
1222
- .classBuilder()
1223
- .ep(commonParams)
1224
- .m(function (Command, cs, config, o) {
1225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
- })
1227
- .s("AWSParallelComputingService", "GetComputeNodeGroup", {})
1228
- .n("PCSClient", "GetComputeNodeGroupCommand")
1229
- .sc(GetComputeNodeGroup$)
1230
- .build() {
1164
+ class GetComputeNodeGroupCommand extends command(_ep0, _mw0, "GetComputeNodeGroup", GetComputeNodeGroup$) {
1231
1165
  }
1232
1166
 
1233
- class GetQueueCommand extends Command
1234
- .classBuilder()
1235
- .ep(commonParams)
1236
- .m(function (Command, cs, config, o) {
1237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
- })
1239
- .s("AWSParallelComputingService", "GetQueue", {})
1240
- .n("PCSClient", "GetQueueCommand")
1241
- .sc(GetQueue$)
1242
- .build() {
1167
+ class GetQueueCommand extends command(_ep0, _mw0, "GetQueue", GetQueue$) {
1243
1168
  }
1244
1169
 
1245
- class ListClustersCommand extends Command
1246
- .classBuilder()
1247
- .ep(commonParams)
1248
- .m(function (Command, cs, config, o) {
1249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
- })
1251
- .s("AWSParallelComputingService", "ListClusters", {})
1252
- .n("PCSClient", "ListClustersCommand")
1253
- .sc(ListClusters$)
1254
- .build() {
1170
+ class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
1255
1171
  }
1256
1172
 
1257
- class ListComputeNodeGroupsCommand extends Command
1258
- .classBuilder()
1259
- .ep(commonParams)
1260
- .m(function (Command, cs, config, o) {
1261
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
- })
1263
- .s("AWSParallelComputingService", "ListComputeNodeGroups", {})
1264
- .n("PCSClient", "ListComputeNodeGroupsCommand")
1265
- .sc(ListComputeNodeGroups$)
1266
- .build() {
1173
+ class ListComputeNodeGroupsCommand extends command(_ep0, _mw0, "ListComputeNodeGroups", ListComputeNodeGroups$) {
1267
1174
  }
1268
1175
 
1269
- class ListQueuesCommand extends Command
1270
- .classBuilder()
1271
- .ep(commonParams)
1272
- .m(function (Command, cs, config, o) {
1273
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1274
- })
1275
- .s("AWSParallelComputingService", "ListQueues", {})
1276
- .n("PCSClient", "ListQueuesCommand")
1277
- .sc(ListQueues$)
1278
- .build() {
1176
+ class ListQueuesCommand extends command(_ep0, _mw0, "ListQueues", ListQueues$) {
1279
1177
  }
1280
1178
 
1281
- class ListTagsForResourceCommand extends Command
1282
- .classBuilder()
1283
- .ep(commonParams)
1284
- .m(function (Command, cs, config, o) {
1285
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1286
- })
1287
- .s("AWSParallelComputingService", "ListTagsForResource", {})
1288
- .n("PCSClient", "ListTagsForResourceCommand")
1289
- .sc(ListTagsForResource$)
1290
- .build() {
1179
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1291
1180
  }
1292
1181
 
1293
- class RegisterComputeNodeGroupInstanceCommand extends Command
1294
- .classBuilder()
1295
- .ep(commonParams)
1296
- .m(function (Command, cs, config, o) {
1297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1298
- })
1299
- .s("AWSParallelComputingService", "RegisterComputeNodeGroupInstance", {})
1300
- .n("PCSClient", "RegisterComputeNodeGroupInstanceCommand")
1301
- .sc(RegisterComputeNodeGroupInstance$)
1302
- .build() {
1182
+ class RegisterComputeNodeGroupInstanceCommand extends command(_ep0, _mw0, "RegisterComputeNodeGroupInstance", RegisterComputeNodeGroupInstance$) {
1303
1183
  }
1304
1184
 
1305
- class TagResourceCommand extends Command
1306
- .classBuilder()
1307
- .ep(commonParams)
1308
- .m(function (Command, cs, config, o) {
1309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
- })
1311
- .s("AWSParallelComputingService", "TagResource", {})
1312
- .n("PCSClient", "TagResourceCommand")
1313
- .sc(TagResource$)
1314
- .build() {
1185
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1315
1186
  }
1316
1187
 
1317
- class UntagResourceCommand extends Command
1318
- .classBuilder()
1319
- .ep(commonParams)
1320
- .m(function (Command, cs, config, o) {
1321
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1322
- })
1323
- .s("AWSParallelComputingService", "UntagResource", {})
1324
- .n("PCSClient", "UntagResourceCommand")
1325
- .sc(UntagResource$)
1326
- .build() {
1188
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1327
1189
  }
1328
1190
 
1329
- class UpdateClusterCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("AWSParallelComputingService", "UpdateCluster", {})
1336
- .n("PCSClient", "UpdateClusterCommand")
1337
- .sc(UpdateCluster$)
1338
- .build() {
1191
+ class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
1339
1192
  }
1340
1193
 
1341
- class UpdateComputeNodeGroupCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("AWSParallelComputingService", "UpdateComputeNodeGroup", {})
1348
- .n("PCSClient", "UpdateComputeNodeGroupCommand")
1349
- .sc(UpdateComputeNodeGroup$)
1350
- .build() {
1194
+ class UpdateComputeNodeGroupCommand extends command(_ep0, _mw0, "UpdateComputeNodeGroup", UpdateComputeNodeGroup$) {
1351
1195
  }
1352
1196
 
1353
- class UpdateQueueCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("AWSParallelComputingService", "UpdateQueue", {})
1360
- .n("PCSClient", "UpdateQueueCommand")
1361
- .sc(UpdateQueue$)
1362
- .build() {
1197
+ class UpdateQueueCommand extends command(_ep0, _mw0, "UpdateQueue", UpdateQueue$) {
1363
1198
  }
1364
1199
 
1365
1200
  const paginateListClusters = createPaginator(PCSClient, ListClustersCommand, "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, "AWSParallelComputingService", "PCSClient", 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 { CreateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "CreateCluster", {})
13
- .n("PCSClient", "CreateClusterCommand")
14
- .sc(CreateCluster$)
15
- .build() {
3
+ export class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {
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 { CreateComputeNodeGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateComputeNodeGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "CreateComputeNodeGroup", {})
13
- .n("PCSClient", "CreateComputeNodeGroupCommand")
14
- .sc(CreateComputeNodeGroup$)
15
- .build() {
3
+ export class CreateComputeNodeGroupCommand extends command(_ep0, _mw0, "CreateComputeNodeGroup", CreateComputeNodeGroup$) {
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 { CreateQueue$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateQueueCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "CreateQueue", {})
13
- .n("PCSClient", "CreateQueueCommand")
14
- .sc(CreateQueue$)
15
- .build() {
3
+ export class CreateQueueCommand extends command(_ep0, _mw0, "CreateQueue", CreateQueue$) {
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 { DeleteCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "DeleteCluster", {})
13
- .n("PCSClient", "DeleteClusterCommand")
14
- .sc(DeleteCluster$)
15
- .build() {
3
+ export class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {
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 { DeleteComputeNodeGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteComputeNodeGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "DeleteComputeNodeGroup", {})
13
- .n("PCSClient", "DeleteComputeNodeGroupCommand")
14
- .sc(DeleteComputeNodeGroup$)
15
- .build() {
3
+ export class DeleteComputeNodeGroupCommand extends command(_ep0, _mw0, "DeleteComputeNodeGroup", DeleteComputeNodeGroup$) {
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 { DeleteQueue$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteQueueCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "DeleteQueue", {})
13
- .n("PCSClient", "DeleteQueueCommand")
14
- .sc(DeleteQueue$)
15
- .build() {
3
+ export class DeleteQueueCommand extends command(_ep0, _mw0, "DeleteQueue", DeleteQueue$) {
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 { GetCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "GetCluster", {})
13
- .n("PCSClient", "GetClusterCommand")
14
- .sc(GetCluster$)
15
- .build() {
3
+ export class GetClusterCommand extends command(_ep0, _mw0, "GetCluster", GetCluster$) {
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 { GetComputeNodeGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetComputeNodeGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "GetComputeNodeGroup", {})
13
- .n("PCSClient", "GetComputeNodeGroupCommand")
14
- .sc(GetComputeNodeGroup$)
15
- .build() {
3
+ export class GetComputeNodeGroupCommand extends command(_ep0, _mw0, "GetComputeNodeGroup", GetComputeNodeGroup$) {
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 { GetQueue$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetQueueCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "GetQueue", {})
13
- .n("PCSClient", "GetQueueCommand")
14
- .sc(GetQueue$)
15
- .build() {
3
+ export class GetQueueCommand extends command(_ep0, _mw0, "GetQueue", GetQueue$) {
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 { ListClusters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListClustersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "ListClusters", {})
13
- .n("PCSClient", "ListClustersCommand")
14
- .sc(ListClusters$)
15
- .build() {
3
+ export class ListClustersCommand extends command(_ep0, _mw0, "ListClusters", ListClusters$) {
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 { ListComputeNodeGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListComputeNodeGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "ListComputeNodeGroups", {})
13
- .n("PCSClient", "ListComputeNodeGroupsCommand")
14
- .sc(ListComputeNodeGroups$)
15
- .build() {
3
+ export class ListComputeNodeGroupsCommand extends command(_ep0, _mw0, "ListComputeNodeGroups", ListComputeNodeGroups$) {
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 { ListQueues$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListQueuesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "ListQueues", {})
13
- .n("PCSClient", "ListQueuesCommand")
14
- .sc(ListQueues$)
15
- .build() {
3
+ export class ListQueuesCommand extends command(_ep0, _mw0, "ListQueues", ListQueues$) {
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("AWSParallelComputingService", "ListTagsForResource", {})
13
- .n("PCSClient", "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 { RegisterComputeNodeGroupInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterComputeNodeGroupInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "RegisterComputeNodeGroupInstance", {})
13
- .n("PCSClient", "RegisterComputeNodeGroupInstanceCommand")
14
- .sc(RegisterComputeNodeGroupInstance$)
15
- .build() {
3
+ export class RegisterComputeNodeGroupInstanceCommand extends command(_ep0, _mw0, "RegisterComputeNodeGroupInstance", RegisterComputeNodeGroupInstance$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "TagResource", {})
13
- .n("PCSClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "UntagResource", {})
13
- .n("PCSClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSParallelComputingService", "UpdateCluster", {})
13
- .n("PCSClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster$)
15
- .build() {
3
+ export class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {
16
4
  }