@aws-sdk/client-batch 3.721.0 → 3.723.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.
- package/dist-cjs/index.js +129 -95
- package/dist-es/BatchClient.js +1 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -178,7 +178,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
178
178
|
}, "resolveRuntimeExtensions");
|
|
179
179
|
|
|
180
180
|
// src/BatchClient.ts
|
|
181
|
-
var
|
|
181
|
+
var BatchClient = class extends import_smithy_client.Client {
|
|
182
|
+
static {
|
|
183
|
+
__name(this, "BatchClient");
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* The resolved configuration of BatchClient class. This is resolved and normalized from the {@link BatchClientConfig | constructor configuration interface}.
|
|
187
|
+
*/
|
|
188
|
+
config;
|
|
182
189
|
constructor(...[configuration]) {
|
|
183
190
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
184
191
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -188,7 +195,7 @@ var _BatchClient = class _BatchClient extends import_smithy_client.Client {
|
|
|
188
195
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
189
196
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
190
197
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
191
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
198
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
192
199
|
super(_config_8);
|
|
193
200
|
this.config = _config_8;
|
|
194
201
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -216,8 +223,6 @@ var _BatchClient = class _BatchClient extends import_smithy_client.Client {
|
|
|
216
223
|
super.destroy();
|
|
217
224
|
}
|
|
218
225
|
};
|
|
219
|
-
__name(_BatchClient, "BatchClient");
|
|
220
|
-
var BatchClient = _BatchClient;
|
|
221
226
|
|
|
222
227
|
// src/Batch.ts
|
|
223
228
|
|
|
@@ -234,7 +239,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
234
239
|
|
|
235
240
|
// src/models/BatchServiceException.ts
|
|
236
241
|
|
|
237
|
-
var
|
|
242
|
+
var BatchServiceException = class _BatchServiceException extends import_smithy_client.ServiceException {
|
|
243
|
+
static {
|
|
244
|
+
__name(this, "BatchServiceException");
|
|
245
|
+
}
|
|
238
246
|
/**
|
|
239
247
|
* @internal
|
|
240
248
|
*/
|
|
@@ -243,8 +251,6 @@ var _BatchServiceException = class _BatchServiceException extends import_smithy_
|
|
|
243
251
|
Object.setPrototypeOf(this, _BatchServiceException.prototype);
|
|
244
252
|
}
|
|
245
253
|
};
|
|
246
|
-
__name(_BatchServiceException, "BatchServiceException");
|
|
247
|
-
var BatchServiceException = _BatchServiceException;
|
|
248
254
|
|
|
249
255
|
// src/models/models_0.ts
|
|
250
256
|
var ArrayJobDependency = {
|
|
@@ -255,7 +261,12 @@ var AssignPublicIp = {
|
|
|
255
261
|
DISABLED: "DISABLED",
|
|
256
262
|
ENABLED: "ENABLED"
|
|
257
263
|
};
|
|
258
|
-
var
|
|
264
|
+
var ClientException = class _ClientException extends BatchServiceException {
|
|
265
|
+
static {
|
|
266
|
+
__name(this, "ClientException");
|
|
267
|
+
}
|
|
268
|
+
name = "ClientException";
|
|
269
|
+
$fault = "client";
|
|
259
270
|
/**
|
|
260
271
|
* @internal
|
|
261
272
|
*/
|
|
@@ -265,14 +276,15 @@ var _ClientException = class _ClientException extends BatchServiceException {
|
|
|
265
276
|
$fault: "client",
|
|
266
277
|
...opts
|
|
267
278
|
});
|
|
268
|
-
this.name = "ClientException";
|
|
269
|
-
this.$fault = "client";
|
|
270
279
|
Object.setPrototypeOf(this, _ClientException.prototype);
|
|
271
280
|
}
|
|
272
281
|
};
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
282
|
+
var ServerException = class _ServerException extends BatchServiceException {
|
|
283
|
+
static {
|
|
284
|
+
__name(this, "ServerException");
|
|
285
|
+
}
|
|
286
|
+
name = "ServerException";
|
|
287
|
+
$fault = "server";
|
|
276
288
|
/**
|
|
277
289
|
* @internal
|
|
278
290
|
*/
|
|
@@ -282,13 +294,9 @@ var _ServerException = class _ServerException extends BatchServiceException {
|
|
|
282
294
|
$fault: "server",
|
|
283
295
|
...opts
|
|
284
296
|
});
|
|
285
|
-
this.name = "ServerException";
|
|
286
|
-
this.$fault = "server";
|
|
287
297
|
Object.setPrototypeOf(this, _ServerException.prototype);
|
|
288
298
|
}
|
|
289
299
|
};
|
|
290
|
-
__name(_ServerException, "ServerException");
|
|
291
|
-
var ServerException = _ServerException;
|
|
292
300
|
var CRAllocationStrategy = {
|
|
293
301
|
BEST_FIT: "BEST_FIT",
|
|
294
302
|
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
@@ -1361,351 +1369,376 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1361
1369
|
var _tK = "tagKeys";
|
|
1362
1370
|
|
|
1363
1371
|
// src/commands/CancelJobCommand.ts
|
|
1364
|
-
var
|
|
1372
|
+
var CancelJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1365
1373
|
return [
|
|
1366
1374
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1367
1375
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1368
1376
|
];
|
|
1369
1377
|
}).s("AWSBatchV20160810", "CancelJob", {}).n("BatchClient", "CancelJobCommand").f(void 0, void 0).ser(se_CancelJobCommand).de(de_CancelJobCommand).build() {
|
|
1378
|
+
static {
|
|
1379
|
+
__name(this, "CancelJobCommand");
|
|
1380
|
+
}
|
|
1370
1381
|
};
|
|
1371
|
-
__name(_CancelJobCommand, "CancelJobCommand");
|
|
1372
|
-
var CancelJobCommand = _CancelJobCommand;
|
|
1373
1382
|
|
|
1374
1383
|
// src/commands/CreateComputeEnvironmentCommand.ts
|
|
1375
1384
|
|
|
1376
1385
|
|
|
1377
1386
|
|
|
1378
|
-
var
|
|
1387
|
+
var CreateComputeEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1379
1388
|
return [
|
|
1380
1389
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1381
1390
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1382
1391
|
];
|
|
1383
1392
|
}).s("AWSBatchV20160810", "CreateComputeEnvironment", {}).n("BatchClient", "CreateComputeEnvironmentCommand").f(void 0, void 0).ser(se_CreateComputeEnvironmentCommand).de(de_CreateComputeEnvironmentCommand).build() {
|
|
1393
|
+
static {
|
|
1394
|
+
__name(this, "CreateComputeEnvironmentCommand");
|
|
1395
|
+
}
|
|
1384
1396
|
};
|
|
1385
|
-
__name(_CreateComputeEnvironmentCommand, "CreateComputeEnvironmentCommand");
|
|
1386
|
-
var CreateComputeEnvironmentCommand = _CreateComputeEnvironmentCommand;
|
|
1387
1397
|
|
|
1388
1398
|
// src/commands/CreateJobQueueCommand.ts
|
|
1389
1399
|
|
|
1390
1400
|
|
|
1391
1401
|
|
|
1392
|
-
var
|
|
1402
|
+
var CreateJobQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1393
1403
|
return [
|
|
1394
1404
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1395
1405
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1396
1406
|
];
|
|
1397
1407
|
}).s("AWSBatchV20160810", "CreateJobQueue", {}).n("BatchClient", "CreateJobQueueCommand").f(void 0, void 0).ser(se_CreateJobQueueCommand).de(de_CreateJobQueueCommand).build() {
|
|
1408
|
+
static {
|
|
1409
|
+
__name(this, "CreateJobQueueCommand");
|
|
1410
|
+
}
|
|
1398
1411
|
};
|
|
1399
|
-
__name(_CreateJobQueueCommand, "CreateJobQueueCommand");
|
|
1400
|
-
var CreateJobQueueCommand = _CreateJobQueueCommand;
|
|
1401
1412
|
|
|
1402
1413
|
// src/commands/CreateSchedulingPolicyCommand.ts
|
|
1403
1414
|
|
|
1404
1415
|
|
|
1405
1416
|
|
|
1406
|
-
var
|
|
1417
|
+
var CreateSchedulingPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1407
1418
|
return [
|
|
1408
1419
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1409
1420
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1410
1421
|
];
|
|
1411
1422
|
}).s("AWSBatchV20160810", "CreateSchedulingPolicy", {}).n("BatchClient", "CreateSchedulingPolicyCommand").f(void 0, void 0).ser(se_CreateSchedulingPolicyCommand).de(de_CreateSchedulingPolicyCommand).build() {
|
|
1423
|
+
static {
|
|
1424
|
+
__name(this, "CreateSchedulingPolicyCommand");
|
|
1425
|
+
}
|
|
1412
1426
|
};
|
|
1413
|
-
__name(_CreateSchedulingPolicyCommand, "CreateSchedulingPolicyCommand");
|
|
1414
|
-
var CreateSchedulingPolicyCommand = _CreateSchedulingPolicyCommand;
|
|
1415
1427
|
|
|
1416
1428
|
// src/commands/DeleteComputeEnvironmentCommand.ts
|
|
1417
1429
|
|
|
1418
1430
|
|
|
1419
1431
|
|
|
1420
|
-
var
|
|
1432
|
+
var DeleteComputeEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1421
1433
|
return [
|
|
1422
1434
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1423
1435
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1424
1436
|
];
|
|
1425
1437
|
}).s("AWSBatchV20160810", "DeleteComputeEnvironment", {}).n("BatchClient", "DeleteComputeEnvironmentCommand").f(void 0, void 0).ser(se_DeleteComputeEnvironmentCommand).de(de_DeleteComputeEnvironmentCommand).build() {
|
|
1438
|
+
static {
|
|
1439
|
+
__name(this, "DeleteComputeEnvironmentCommand");
|
|
1440
|
+
}
|
|
1426
1441
|
};
|
|
1427
|
-
__name(_DeleteComputeEnvironmentCommand, "DeleteComputeEnvironmentCommand");
|
|
1428
|
-
var DeleteComputeEnvironmentCommand = _DeleteComputeEnvironmentCommand;
|
|
1429
1442
|
|
|
1430
1443
|
// src/commands/DeleteJobQueueCommand.ts
|
|
1431
1444
|
|
|
1432
1445
|
|
|
1433
1446
|
|
|
1434
|
-
var
|
|
1447
|
+
var DeleteJobQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1435
1448
|
return [
|
|
1436
1449
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1437
1450
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1438
1451
|
];
|
|
1439
1452
|
}).s("AWSBatchV20160810", "DeleteJobQueue", {}).n("BatchClient", "DeleteJobQueueCommand").f(void 0, void 0).ser(se_DeleteJobQueueCommand).de(de_DeleteJobQueueCommand).build() {
|
|
1453
|
+
static {
|
|
1454
|
+
__name(this, "DeleteJobQueueCommand");
|
|
1455
|
+
}
|
|
1440
1456
|
};
|
|
1441
|
-
__name(_DeleteJobQueueCommand, "DeleteJobQueueCommand");
|
|
1442
|
-
var DeleteJobQueueCommand = _DeleteJobQueueCommand;
|
|
1443
1457
|
|
|
1444
1458
|
// src/commands/DeleteSchedulingPolicyCommand.ts
|
|
1445
1459
|
|
|
1446
1460
|
|
|
1447
1461
|
|
|
1448
|
-
var
|
|
1462
|
+
var DeleteSchedulingPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1449
1463
|
return [
|
|
1450
1464
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1451
1465
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1452
1466
|
];
|
|
1453
1467
|
}).s("AWSBatchV20160810", "DeleteSchedulingPolicy", {}).n("BatchClient", "DeleteSchedulingPolicyCommand").f(void 0, void 0).ser(se_DeleteSchedulingPolicyCommand).de(de_DeleteSchedulingPolicyCommand).build() {
|
|
1468
|
+
static {
|
|
1469
|
+
__name(this, "DeleteSchedulingPolicyCommand");
|
|
1470
|
+
}
|
|
1454
1471
|
};
|
|
1455
|
-
__name(_DeleteSchedulingPolicyCommand, "DeleteSchedulingPolicyCommand");
|
|
1456
|
-
var DeleteSchedulingPolicyCommand = _DeleteSchedulingPolicyCommand;
|
|
1457
1472
|
|
|
1458
1473
|
// src/commands/DeregisterJobDefinitionCommand.ts
|
|
1459
1474
|
|
|
1460
1475
|
|
|
1461
1476
|
|
|
1462
|
-
var
|
|
1477
|
+
var DeregisterJobDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1463
1478
|
return [
|
|
1464
1479
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1465
1480
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1466
1481
|
];
|
|
1467
1482
|
}).s("AWSBatchV20160810", "DeregisterJobDefinition", {}).n("BatchClient", "DeregisterJobDefinitionCommand").f(void 0, void 0).ser(se_DeregisterJobDefinitionCommand).de(de_DeregisterJobDefinitionCommand).build() {
|
|
1483
|
+
static {
|
|
1484
|
+
__name(this, "DeregisterJobDefinitionCommand");
|
|
1485
|
+
}
|
|
1468
1486
|
};
|
|
1469
|
-
__name(_DeregisterJobDefinitionCommand, "DeregisterJobDefinitionCommand");
|
|
1470
|
-
var DeregisterJobDefinitionCommand = _DeregisterJobDefinitionCommand;
|
|
1471
1487
|
|
|
1472
1488
|
// src/commands/DescribeComputeEnvironmentsCommand.ts
|
|
1473
1489
|
|
|
1474
1490
|
|
|
1475
1491
|
|
|
1476
|
-
var
|
|
1492
|
+
var DescribeComputeEnvironmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1477
1493
|
return [
|
|
1478
1494
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1479
1495
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1480
1496
|
];
|
|
1481
1497
|
}).s("AWSBatchV20160810", "DescribeComputeEnvironments", {}).n("BatchClient", "DescribeComputeEnvironmentsCommand").f(void 0, void 0).ser(se_DescribeComputeEnvironmentsCommand).de(de_DescribeComputeEnvironmentsCommand).build() {
|
|
1498
|
+
static {
|
|
1499
|
+
__name(this, "DescribeComputeEnvironmentsCommand");
|
|
1500
|
+
}
|
|
1482
1501
|
};
|
|
1483
|
-
__name(_DescribeComputeEnvironmentsCommand, "DescribeComputeEnvironmentsCommand");
|
|
1484
|
-
var DescribeComputeEnvironmentsCommand = _DescribeComputeEnvironmentsCommand;
|
|
1485
1502
|
|
|
1486
1503
|
// src/commands/DescribeJobDefinitionsCommand.ts
|
|
1487
1504
|
|
|
1488
1505
|
|
|
1489
1506
|
|
|
1490
|
-
var
|
|
1507
|
+
var DescribeJobDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1491
1508
|
return [
|
|
1492
1509
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1493
1510
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1494
1511
|
];
|
|
1495
1512
|
}).s("AWSBatchV20160810", "DescribeJobDefinitions", {}).n("BatchClient", "DescribeJobDefinitionsCommand").f(void 0, void 0).ser(se_DescribeJobDefinitionsCommand).de(de_DescribeJobDefinitionsCommand).build() {
|
|
1513
|
+
static {
|
|
1514
|
+
__name(this, "DescribeJobDefinitionsCommand");
|
|
1515
|
+
}
|
|
1496
1516
|
};
|
|
1497
|
-
__name(_DescribeJobDefinitionsCommand, "DescribeJobDefinitionsCommand");
|
|
1498
|
-
var DescribeJobDefinitionsCommand = _DescribeJobDefinitionsCommand;
|
|
1499
1517
|
|
|
1500
1518
|
// src/commands/DescribeJobQueuesCommand.ts
|
|
1501
1519
|
|
|
1502
1520
|
|
|
1503
1521
|
|
|
1504
|
-
var
|
|
1522
|
+
var DescribeJobQueuesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1505
1523
|
return [
|
|
1506
1524
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1507
1525
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1508
1526
|
];
|
|
1509
1527
|
}).s("AWSBatchV20160810", "DescribeJobQueues", {}).n("BatchClient", "DescribeJobQueuesCommand").f(void 0, void 0).ser(se_DescribeJobQueuesCommand).de(de_DescribeJobQueuesCommand).build() {
|
|
1528
|
+
static {
|
|
1529
|
+
__name(this, "DescribeJobQueuesCommand");
|
|
1530
|
+
}
|
|
1510
1531
|
};
|
|
1511
|
-
__name(_DescribeJobQueuesCommand, "DescribeJobQueuesCommand");
|
|
1512
|
-
var DescribeJobQueuesCommand = _DescribeJobQueuesCommand;
|
|
1513
1532
|
|
|
1514
1533
|
// src/commands/DescribeJobsCommand.ts
|
|
1515
1534
|
|
|
1516
1535
|
|
|
1517
1536
|
|
|
1518
|
-
var
|
|
1537
|
+
var DescribeJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1519
1538
|
return [
|
|
1520
1539
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1521
1540
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1522
1541
|
];
|
|
1523
1542
|
}).s("AWSBatchV20160810", "DescribeJobs", {}).n("BatchClient", "DescribeJobsCommand").f(void 0, void 0).ser(se_DescribeJobsCommand).de(de_DescribeJobsCommand).build() {
|
|
1543
|
+
static {
|
|
1544
|
+
__name(this, "DescribeJobsCommand");
|
|
1545
|
+
}
|
|
1524
1546
|
};
|
|
1525
|
-
__name(_DescribeJobsCommand, "DescribeJobsCommand");
|
|
1526
|
-
var DescribeJobsCommand = _DescribeJobsCommand;
|
|
1527
1547
|
|
|
1528
1548
|
// src/commands/DescribeSchedulingPoliciesCommand.ts
|
|
1529
1549
|
|
|
1530
1550
|
|
|
1531
1551
|
|
|
1532
|
-
var
|
|
1552
|
+
var DescribeSchedulingPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1533
1553
|
return [
|
|
1534
1554
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1535
1555
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1536
1556
|
];
|
|
1537
1557
|
}).s("AWSBatchV20160810", "DescribeSchedulingPolicies", {}).n("BatchClient", "DescribeSchedulingPoliciesCommand").f(void 0, void 0).ser(se_DescribeSchedulingPoliciesCommand).de(de_DescribeSchedulingPoliciesCommand).build() {
|
|
1558
|
+
static {
|
|
1559
|
+
__name(this, "DescribeSchedulingPoliciesCommand");
|
|
1560
|
+
}
|
|
1538
1561
|
};
|
|
1539
|
-
__name(_DescribeSchedulingPoliciesCommand, "DescribeSchedulingPoliciesCommand");
|
|
1540
|
-
var DescribeSchedulingPoliciesCommand = _DescribeSchedulingPoliciesCommand;
|
|
1541
1562
|
|
|
1542
1563
|
// src/commands/GetJobQueueSnapshotCommand.ts
|
|
1543
1564
|
|
|
1544
1565
|
|
|
1545
1566
|
|
|
1546
|
-
var
|
|
1567
|
+
var GetJobQueueSnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1547
1568
|
return [
|
|
1548
1569
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1549
1570
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1550
1571
|
];
|
|
1551
1572
|
}).s("AWSBatchV20160810", "GetJobQueueSnapshot", {}).n("BatchClient", "GetJobQueueSnapshotCommand").f(void 0, void 0).ser(se_GetJobQueueSnapshotCommand).de(de_GetJobQueueSnapshotCommand).build() {
|
|
1573
|
+
static {
|
|
1574
|
+
__name(this, "GetJobQueueSnapshotCommand");
|
|
1575
|
+
}
|
|
1552
1576
|
};
|
|
1553
|
-
__name(_GetJobQueueSnapshotCommand, "GetJobQueueSnapshotCommand");
|
|
1554
|
-
var GetJobQueueSnapshotCommand = _GetJobQueueSnapshotCommand;
|
|
1555
1577
|
|
|
1556
1578
|
// src/commands/ListJobsCommand.ts
|
|
1557
1579
|
|
|
1558
1580
|
|
|
1559
1581
|
|
|
1560
|
-
var
|
|
1582
|
+
var ListJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1561
1583
|
return [
|
|
1562
1584
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1563
1585
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1564
1586
|
];
|
|
1565
1587
|
}).s("AWSBatchV20160810", "ListJobs", {}).n("BatchClient", "ListJobsCommand").f(void 0, void 0).ser(se_ListJobsCommand).de(de_ListJobsCommand).build() {
|
|
1588
|
+
static {
|
|
1589
|
+
__name(this, "ListJobsCommand");
|
|
1590
|
+
}
|
|
1566
1591
|
};
|
|
1567
|
-
__name(_ListJobsCommand, "ListJobsCommand");
|
|
1568
|
-
var ListJobsCommand = _ListJobsCommand;
|
|
1569
1592
|
|
|
1570
1593
|
// src/commands/ListSchedulingPoliciesCommand.ts
|
|
1571
1594
|
|
|
1572
1595
|
|
|
1573
1596
|
|
|
1574
|
-
var
|
|
1597
|
+
var ListSchedulingPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1575
1598
|
return [
|
|
1576
1599
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1577
1600
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1578
1601
|
];
|
|
1579
1602
|
}).s("AWSBatchV20160810", "ListSchedulingPolicies", {}).n("BatchClient", "ListSchedulingPoliciesCommand").f(void 0, void 0).ser(se_ListSchedulingPoliciesCommand).de(de_ListSchedulingPoliciesCommand).build() {
|
|
1603
|
+
static {
|
|
1604
|
+
__name(this, "ListSchedulingPoliciesCommand");
|
|
1605
|
+
}
|
|
1580
1606
|
};
|
|
1581
|
-
__name(_ListSchedulingPoliciesCommand, "ListSchedulingPoliciesCommand");
|
|
1582
|
-
var ListSchedulingPoliciesCommand = _ListSchedulingPoliciesCommand;
|
|
1583
1607
|
|
|
1584
1608
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1585
1609
|
|
|
1586
1610
|
|
|
1587
1611
|
|
|
1588
|
-
var
|
|
1612
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1589
1613
|
return [
|
|
1590
1614
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1591
1615
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1592
1616
|
];
|
|
1593
1617
|
}).s("AWSBatchV20160810", "ListTagsForResource", {}).n("BatchClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1618
|
+
static {
|
|
1619
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1620
|
+
}
|
|
1594
1621
|
};
|
|
1595
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1596
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1597
1622
|
|
|
1598
1623
|
// src/commands/RegisterJobDefinitionCommand.ts
|
|
1599
1624
|
|
|
1600
1625
|
|
|
1601
1626
|
|
|
1602
|
-
var
|
|
1627
|
+
var RegisterJobDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1603
1628
|
return [
|
|
1604
1629
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1605
1630
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1606
1631
|
];
|
|
1607
1632
|
}).s("AWSBatchV20160810", "RegisterJobDefinition", {}).n("BatchClient", "RegisterJobDefinitionCommand").f(void 0, void 0).ser(se_RegisterJobDefinitionCommand).de(de_RegisterJobDefinitionCommand).build() {
|
|
1633
|
+
static {
|
|
1634
|
+
__name(this, "RegisterJobDefinitionCommand");
|
|
1635
|
+
}
|
|
1608
1636
|
};
|
|
1609
|
-
__name(_RegisterJobDefinitionCommand, "RegisterJobDefinitionCommand");
|
|
1610
|
-
var RegisterJobDefinitionCommand = _RegisterJobDefinitionCommand;
|
|
1611
1637
|
|
|
1612
1638
|
// src/commands/SubmitJobCommand.ts
|
|
1613
1639
|
|
|
1614
1640
|
|
|
1615
1641
|
|
|
1616
|
-
var
|
|
1642
|
+
var SubmitJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1617
1643
|
return [
|
|
1618
1644
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1619
1645
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1620
1646
|
];
|
|
1621
1647
|
}).s("AWSBatchV20160810", "SubmitJob", {}).n("BatchClient", "SubmitJobCommand").f(void 0, void 0).ser(se_SubmitJobCommand).de(de_SubmitJobCommand).build() {
|
|
1648
|
+
static {
|
|
1649
|
+
__name(this, "SubmitJobCommand");
|
|
1650
|
+
}
|
|
1622
1651
|
};
|
|
1623
|
-
__name(_SubmitJobCommand, "SubmitJobCommand");
|
|
1624
|
-
var SubmitJobCommand = _SubmitJobCommand;
|
|
1625
1652
|
|
|
1626
1653
|
// src/commands/TagResourceCommand.ts
|
|
1627
1654
|
|
|
1628
1655
|
|
|
1629
1656
|
|
|
1630
|
-
var
|
|
1657
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1631
1658
|
return [
|
|
1632
1659
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1633
1660
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1634
1661
|
];
|
|
1635
1662
|
}).s("AWSBatchV20160810", "TagResource", {}).n("BatchClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1663
|
+
static {
|
|
1664
|
+
__name(this, "TagResourceCommand");
|
|
1665
|
+
}
|
|
1636
1666
|
};
|
|
1637
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1638
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1639
1667
|
|
|
1640
1668
|
// src/commands/TerminateJobCommand.ts
|
|
1641
1669
|
|
|
1642
1670
|
|
|
1643
1671
|
|
|
1644
|
-
var
|
|
1672
|
+
var TerminateJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1645
1673
|
return [
|
|
1646
1674
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1647
1675
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1648
1676
|
];
|
|
1649
1677
|
}).s("AWSBatchV20160810", "TerminateJob", {}).n("BatchClient", "TerminateJobCommand").f(void 0, void 0).ser(se_TerminateJobCommand).de(de_TerminateJobCommand).build() {
|
|
1678
|
+
static {
|
|
1679
|
+
__name(this, "TerminateJobCommand");
|
|
1680
|
+
}
|
|
1650
1681
|
};
|
|
1651
|
-
__name(_TerminateJobCommand, "TerminateJobCommand");
|
|
1652
|
-
var TerminateJobCommand = _TerminateJobCommand;
|
|
1653
1682
|
|
|
1654
1683
|
// src/commands/UntagResourceCommand.ts
|
|
1655
1684
|
|
|
1656
1685
|
|
|
1657
1686
|
|
|
1658
|
-
var
|
|
1687
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1659
1688
|
return [
|
|
1660
1689
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1661
1690
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1662
1691
|
];
|
|
1663
1692
|
}).s("AWSBatchV20160810", "UntagResource", {}).n("BatchClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1693
|
+
static {
|
|
1694
|
+
__name(this, "UntagResourceCommand");
|
|
1695
|
+
}
|
|
1664
1696
|
};
|
|
1665
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1666
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1667
1697
|
|
|
1668
1698
|
// src/commands/UpdateComputeEnvironmentCommand.ts
|
|
1669
1699
|
|
|
1670
1700
|
|
|
1671
1701
|
|
|
1672
|
-
var
|
|
1702
|
+
var UpdateComputeEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1673
1703
|
return [
|
|
1674
1704
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1675
1705
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1676
1706
|
];
|
|
1677
1707
|
}).s("AWSBatchV20160810", "UpdateComputeEnvironment", {}).n("BatchClient", "UpdateComputeEnvironmentCommand").f(void 0, void 0).ser(se_UpdateComputeEnvironmentCommand).de(de_UpdateComputeEnvironmentCommand).build() {
|
|
1708
|
+
static {
|
|
1709
|
+
__name(this, "UpdateComputeEnvironmentCommand");
|
|
1710
|
+
}
|
|
1678
1711
|
};
|
|
1679
|
-
__name(_UpdateComputeEnvironmentCommand, "UpdateComputeEnvironmentCommand");
|
|
1680
|
-
var UpdateComputeEnvironmentCommand = _UpdateComputeEnvironmentCommand;
|
|
1681
1712
|
|
|
1682
1713
|
// src/commands/UpdateJobQueueCommand.ts
|
|
1683
1714
|
|
|
1684
1715
|
|
|
1685
1716
|
|
|
1686
|
-
var
|
|
1717
|
+
var UpdateJobQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1687
1718
|
return [
|
|
1688
1719
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1689
1720
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1690
1721
|
];
|
|
1691
1722
|
}).s("AWSBatchV20160810", "UpdateJobQueue", {}).n("BatchClient", "UpdateJobQueueCommand").f(void 0, void 0).ser(se_UpdateJobQueueCommand).de(de_UpdateJobQueueCommand).build() {
|
|
1723
|
+
static {
|
|
1724
|
+
__name(this, "UpdateJobQueueCommand");
|
|
1725
|
+
}
|
|
1692
1726
|
};
|
|
1693
|
-
__name(_UpdateJobQueueCommand, "UpdateJobQueueCommand");
|
|
1694
|
-
var UpdateJobQueueCommand = _UpdateJobQueueCommand;
|
|
1695
1727
|
|
|
1696
1728
|
// src/commands/UpdateSchedulingPolicyCommand.ts
|
|
1697
1729
|
|
|
1698
1730
|
|
|
1699
1731
|
|
|
1700
|
-
var
|
|
1732
|
+
var UpdateSchedulingPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1701
1733
|
return [
|
|
1702
1734
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1703
1735
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1704
1736
|
];
|
|
1705
1737
|
}).s("AWSBatchV20160810", "UpdateSchedulingPolicy", {}).n("BatchClient", "UpdateSchedulingPolicyCommand").f(void 0, void 0).ser(se_UpdateSchedulingPolicyCommand).de(de_UpdateSchedulingPolicyCommand).build() {
|
|
1738
|
+
static {
|
|
1739
|
+
__name(this, "UpdateSchedulingPolicyCommand");
|
|
1740
|
+
}
|
|
1706
1741
|
};
|
|
1707
|
-
__name(_UpdateSchedulingPolicyCommand, "UpdateSchedulingPolicyCommand");
|
|
1708
|
-
var UpdateSchedulingPolicyCommand = _UpdateSchedulingPolicyCommand;
|
|
1709
1742
|
|
|
1710
1743
|
// src/Batch.ts
|
|
1711
1744
|
var commands = {
|
|
@@ -1735,10 +1768,11 @@ var commands = {
|
|
|
1735
1768
|
UpdateJobQueueCommand,
|
|
1736
1769
|
UpdateSchedulingPolicyCommand
|
|
1737
1770
|
};
|
|
1738
|
-
var
|
|
1771
|
+
var Batch = class extends BatchClient {
|
|
1772
|
+
static {
|
|
1773
|
+
__name(this, "Batch");
|
|
1774
|
+
}
|
|
1739
1775
|
};
|
|
1740
|
-
__name(_Batch, "Batch");
|
|
1741
|
-
var Batch = _Batch;
|
|
1742
1776
|
(0, import_smithy_client.createAggregatedClient)(commands, Batch);
|
|
1743
1777
|
|
|
1744
1778
|
// src/pagination/DescribeComputeEnvironmentsPaginator.ts
|
package/dist-es/BatchClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class BatchClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -8,26 +8,26 @@ export const AssignPublicIp = {
|
|
|
8
8
|
ENABLED: "ENABLED",
|
|
9
9
|
};
|
|
10
10
|
export class ClientException extends __BaseException {
|
|
11
|
+
name = "ClientException";
|
|
12
|
+
$fault = "client";
|
|
11
13
|
constructor(opts) {
|
|
12
14
|
super({
|
|
13
15
|
name: "ClientException",
|
|
14
16
|
$fault: "client",
|
|
15
17
|
...opts,
|
|
16
18
|
});
|
|
17
|
-
this.name = "ClientException";
|
|
18
|
-
this.$fault = "client";
|
|
19
19
|
Object.setPrototypeOf(this, ClientException.prototype);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
export class ServerException extends __BaseException {
|
|
23
|
+
name = "ServerException";
|
|
24
|
+
$fault = "server";
|
|
23
25
|
constructor(opts) {
|
|
24
26
|
super({
|
|
25
27
|
name: "ServerException",
|
|
26
28
|
$fault: "server",
|
|
27
29
|
...opts,
|
|
28
30
|
});
|
|
29
|
-
this.name = "ServerException";
|
|
30
|
-
this.$fault = "server";
|
|
31
31
|
Object.setPrototypeOf(this, ServerException.prototype);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-batch",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|