@aws-sdk/client-batch 3.53.0 → 3.55.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/CHANGELOG.md +24 -0
- package/dist-cjs/BatchClient.js +13 -13
- package/dist-cjs/commands/CancelJobCommand.js +3 -3
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/CreateJobQueueCommand.js +3 -3
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobsCommand.js +3 -3
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/SubmitJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TerminateJobCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobQueueCommand.js +3 -3
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +233 -233
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Batch.js +24 -24
- package/dist-es/pagination/DescribeComputeEnvironmentsPaginator.js +4 -4
- package/dist-es/pagination/DescribeJobDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeJobQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +24 -24
- package/dist-types/BatchClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/BatchClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CancelJobCommand = function (input, context) {
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/canceljob";
|
|
17
17
|
body = JSON.stringify(__assign(__assign({}, (input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId })), (input.reason !== undefined && input.reason !== null && { reason: input.reason })));
|
|
18
18
|
return [2, new __HttpRequest({
|
|
19
19
|
protocol: protocol,
|
|
@@ -37,7 +37,7 @@ export var serializeAws_restJson1CreateComputeEnvironmentCommand = function (inp
|
|
|
37
37
|
headers = {
|
|
38
38
|
"content-type": "application/json",
|
|
39
39
|
};
|
|
40
|
-
resolvedPath = ""
|
|
40
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/createcomputeenvironment";
|
|
41
41
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.computeEnvironmentName !== undefined &&
|
|
42
42
|
input.computeEnvironmentName !== null && { computeEnvironmentName: input.computeEnvironmentName })), (input.computeResources !== undefined &&
|
|
43
43
|
input.computeResources !== null && {
|
|
@@ -67,7 +67,7 @@ export var serializeAws_restJson1CreateJobQueueCommand = function (input, contex
|
|
|
67
67
|
headers = {
|
|
68
68
|
"content-type": "application/json",
|
|
69
69
|
};
|
|
70
|
-
resolvedPath = ""
|
|
70
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/createjobqueue";
|
|
71
71
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.computeEnvironmentOrder !== undefined &&
|
|
72
72
|
input.computeEnvironmentOrder !== null && {
|
|
73
73
|
computeEnvironmentOrder: serializeAws_restJson1ComputeEnvironmentOrders(input.computeEnvironmentOrder, context),
|
|
@@ -96,7 +96,7 @@ export var serializeAws_restJson1CreateSchedulingPolicyCommand = function (input
|
|
|
96
96
|
headers = {
|
|
97
97
|
"content-type": "application/json",
|
|
98
98
|
};
|
|
99
|
-
resolvedPath = ""
|
|
99
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/createschedulingpolicy";
|
|
100
100
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.fairsharePolicy !== undefined &&
|
|
101
101
|
input.fairsharePolicy !== null && {
|
|
102
102
|
fairsharePolicy: serializeAws_restJson1FairsharePolicy(input.fairsharePolicy, context),
|
|
@@ -124,7 +124,7 @@ export var serializeAws_restJson1DeleteComputeEnvironmentCommand = function (inp
|
|
|
124
124
|
headers = {
|
|
125
125
|
"content-type": "application/json",
|
|
126
126
|
};
|
|
127
|
-
resolvedPath = ""
|
|
127
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/deletecomputeenvironment";
|
|
128
128
|
body = JSON.stringify(__assign({}, (input.computeEnvironment !== undefined &&
|
|
129
129
|
input.computeEnvironment !== null && { computeEnvironment: input.computeEnvironment })));
|
|
130
130
|
return [2, new __HttpRequest({
|
|
@@ -149,7 +149,7 @@ export var serializeAws_restJson1DeleteJobQueueCommand = function (input, contex
|
|
|
149
149
|
headers = {
|
|
150
150
|
"content-type": "application/json",
|
|
151
151
|
};
|
|
152
|
-
resolvedPath = ""
|
|
152
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/deletejobqueue";
|
|
153
153
|
body = JSON.stringify(__assign({}, (input.jobQueue !== undefined && input.jobQueue !== null && { jobQueue: input.jobQueue })));
|
|
154
154
|
return [2, new __HttpRequest({
|
|
155
155
|
protocol: protocol,
|
|
@@ -173,7 +173,7 @@ export var serializeAws_restJson1DeleteSchedulingPolicyCommand = function (input
|
|
|
173
173
|
headers = {
|
|
174
174
|
"content-type": "application/json",
|
|
175
175
|
};
|
|
176
|
-
resolvedPath = ""
|
|
176
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/deleteschedulingpolicy";
|
|
177
177
|
body = JSON.stringify(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })));
|
|
178
178
|
return [2, new __HttpRequest({
|
|
179
179
|
protocol: protocol,
|
|
@@ -197,7 +197,7 @@ export var serializeAws_restJson1DeregisterJobDefinitionCommand = function (inpu
|
|
|
197
197
|
headers = {
|
|
198
198
|
"content-type": "application/json",
|
|
199
199
|
};
|
|
200
|
-
resolvedPath = ""
|
|
200
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/deregisterjobdefinition";
|
|
201
201
|
body = JSON.stringify(__assign({}, (input.jobDefinition !== undefined && input.jobDefinition !== null && { jobDefinition: input.jobDefinition })));
|
|
202
202
|
return [2, new __HttpRequest({
|
|
203
203
|
protocol: protocol,
|
|
@@ -221,7 +221,7 @@ export var serializeAws_restJson1DescribeComputeEnvironmentsCommand = function (
|
|
|
221
221
|
headers = {
|
|
222
222
|
"content-type": "application/json",
|
|
223
223
|
};
|
|
224
|
-
resolvedPath = ""
|
|
224
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/describecomputeenvironments";
|
|
225
225
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.computeEnvironments !== undefined &&
|
|
226
226
|
input.computeEnvironments !== null && {
|
|
227
227
|
computeEnvironments: serializeAws_restJson1StringList(input.computeEnvironments, context),
|
|
@@ -248,7 +248,7 @@ export var serializeAws_restJson1DescribeJobDefinitionsCommand = function (input
|
|
|
248
248
|
headers = {
|
|
249
249
|
"content-type": "application/json",
|
|
250
250
|
};
|
|
251
|
-
resolvedPath = ""
|
|
251
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/describejobdefinitions";
|
|
252
252
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.jobDefinitionName !== undefined &&
|
|
253
253
|
input.jobDefinitionName !== null && { jobDefinitionName: input.jobDefinitionName })), (input.jobDefinitions !== undefined &&
|
|
254
254
|
input.jobDefinitions !== null && {
|
|
@@ -276,7 +276,7 @@ export var serializeAws_restJson1DescribeJobQueuesCommand = function (input, con
|
|
|
276
276
|
headers = {
|
|
277
277
|
"content-type": "application/json",
|
|
278
278
|
};
|
|
279
|
-
resolvedPath = ""
|
|
279
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/describejobqueues";
|
|
280
280
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.jobQueues !== undefined &&
|
|
281
281
|
input.jobQueues !== null && { jobQueues: serializeAws_restJson1StringList(input.jobQueues, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
282
282
|
return [2, new __HttpRequest({
|
|
@@ -301,7 +301,7 @@ export var serializeAws_restJson1DescribeJobsCommand = function (input, context)
|
|
|
301
301
|
headers = {
|
|
302
302
|
"content-type": "application/json",
|
|
303
303
|
};
|
|
304
|
-
resolvedPath = ""
|
|
304
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/describejobs";
|
|
305
305
|
body = JSON.stringify(__assign({}, (input.jobs !== undefined &&
|
|
306
306
|
input.jobs !== null && { jobs: serializeAws_restJson1StringList(input.jobs, context) })));
|
|
307
307
|
return [2, new __HttpRequest({
|
|
@@ -326,7 +326,7 @@ export var serializeAws_restJson1DescribeSchedulingPoliciesCommand = function (i
|
|
|
326
326
|
headers = {
|
|
327
327
|
"content-type": "application/json",
|
|
328
328
|
};
|
|
329
|
-
resolvedPath = ""
|
|
329
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/describeschedulingpolicies";
|
|
330
330
|
body = JSON.stringify(__assign({}, (input.arns !== undefined &&
|
|
331
331
|
input.arns !== null && { arns: serializeAws_restJson1StringList(input.arns, context) })));
|
|
332
332
|
return [2, new __HttpRequest({
|
|
@@ -351,7 +351,7 @@ export var serializeAws_restJson1ListJobsCommand = function (input, context) { r
|
|
|
351
351
|
headers = {
|
|
352
352
|
"content-type": "application/json",
|
|
353
353
|
};
|
|
354
|
-
resolvedPath = ""
|
|
354
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/listjobs";
|
|
355
355
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arrayJobId !== undefined && input.arrayJobId !== null && { arrayJobId: input.arrayJobId })), (input.filters !== undefined &&
|
|
356
356
|
input.filters !== null && { filters: serializeAws_restJson1ListJobsFilterList(input.filters, context) })), (input.jobQueue !== undefined && input.jobQueue !== null && { jobQueue: input.jobQueue })), (input.jobStatus !== undefined && input.jobStatus !== null && { jobStatus: input.jobStatus })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.multiNodeJobId !== undefined &&
|
|
357
357
|
input.multiNodeJobId !== null && { multiNodeJobId: input.multiNodeJobId })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
@@ -377,7 +377,7 @@ export var serializeAws_restJson1ListSchedulingPoliciesCommand = function (input
|
|
|
377
377
|
headers = {
|
|
378
378
|
"content-type": "application/json",
|
|
379
379
|
};
|
|
380
|
-
resolvedPath = ""
|
|
380
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/listschedulingpolicies";
|
|
381
381
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
382
382
|
return [2, new __HttpRequest({
|
|
383
383
|
protocol: protocol,
|
|
@@ -399,7 +399,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
399
399
|
case 1:
|
|
400
400
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
401
401
|
headers = {};
|
|
402
|
-
resolvedPath = ""
|
|
402
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{resourceArn}";
|
|
403
403
|
if (input.resourceArn !== undefined) {
|
|
404
404
|
labelValue = input.resourceArn;
|
|
405
405
|
if (labelValue.length <= 0) {
|
|
@@ -432,7 +432,7 @@ export var serializeAws_restJson1RegisterJobDefinitionCommand = function (input,
|
|
|
432
432
|
headers = {
|
|
433
433
|
"content-type": "application/json",
|
|
434
434
|
};
|
|
435
|
-
resolvedPath = ""
|
|
435
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/registerjobdefinition";
|
|
436
436
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.containerProperties !== undefined &&
|
|
437
437
|
input.containerProperties !== null && {
|
|
438
438
|
containerProperties: serializeAws_restJson1ContainerProperties(input.containerProperties, context),
|
|
@@ -473,7 +473,7 @@ export var serializeAws_restJson1SubmitJobCommand = function (input, context) {
|
|
|
473
473
|
headers = {
|
|
474
474
|
"content-type": "application/json",
|
|
475
475
|
};
|
|
476
|
-
resolvedPath = ""
|
|
476
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/submitjob";
|
|
477
477
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arrayProperties !== undefined &&
|
|
478
478
|
input.arrayProperties !== null && {
|
|
479
479
|
arrayProperties: serializeAws_restJson1ArrayProperties(input.arrayProperties, context),
|
|
@@ -515,7 +515,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
515
515
|
headers = {
|
|
516
516
|
"content-type": "application/json",
|
|
517
517
|
};
|
|
518
|
-
resolvedPath = ""
|
|
518
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{resourceArn}";
|
|
519
519
|
if (input.resourceArn !== undefined) {
|
|
520
520
|
labelValue = input.resourceArn;
|
|
521
521
|
if (labelValue.length <= 0) {
|
|
@@ -550,7 +550,7 @@ export var serializeAws_restJson1TerminateJobCommand = function (input, context)
|
|
|
550
550
|
headers = {
|
|
551
551
|
"content-type": "application/json",
|
|
552
552
|
};
|
|
553
|
-
resolvedPath = ""
|
|
553
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/terminatejob";
|
|
554
554
|
body = JSON.stringify(__assign(__assign({}, (input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId })), (input.reason !== undefined && input.reason !== null && { reason: input.reason })));
|
|
555
555
|
return [2, new __HttpRequest({
|
|
556
556
|
protocol: protocol,
|
|
@@ -572,7 +572,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
572
572
|
case 1:
|
|
573
573
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
574
574
|
headers = {};
|
|
575
|
-
resolvedPath = ""
|
|
575
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{resourceArn}";
|
|
576
576
|
if (input.resourceArn !== undefined) {
|
|
577
577
|
labelValue = input.resourceArn;
|
|
578
578
|
if (labelValue.length <= 0) {
|
|
@@ -607,7 +607,7 @@ export var serializeAws_restJson1UpdateComputeEnvironmentCommand = function (inp
|
|
|
607
607
|
headers = {
|
|
608
608
|
"content-type": "application/json",
|
|
609
609
|
};
|
|
610
|
-
resolvedPath = ""
|
|
610
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/updatecomputeenvironment";
|
|
611
611
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.computeEnvironment !== undefined &&
|
|
612
612
|
input.computeEnvironment !== null && { computeEnvironment: input.computeEnvironment })), (input.computeResources !== undefined &&
|
|
613
613
|
input.computeResources !== null && {
|
|
@@ -636,7 +636,7 @@ export var serializeAws_restJson1UpdateJobQueueCommand = function (input, contex
|
|
|
636
636
|
headers = {
|
|
637
637
|
"content-type": "application/json",
|
|
638
638
|
};
|
|
639
|
-
resolvedPath = ""
|
|
639
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/updatejobqueue";
|
|
640
640
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.computeEnvironmentOrder !== undefined &&
|
|
641
641
|
input.computeEnvironmentOrder !== null && {
|
|
642
642
|
computeEnvironmentOrder: serializeAws_restJson1ComputeEnvironmentOrders(input.computeEnvironmentOrder, context),
|
|
@@ -664,7 +664,7 @@ export var serializeAws_restJson1UpdateSchedulingPolicyCommand = function (input
|
|
|
664
664
|
headers = {
|
|
665
665
|
"content-type": "application/json",
|
|
666
666
|
};
|
|
667
|
-
resolvedPath = ""
|
|
667
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/updateschedulingpolicy";
|
|
668
668
|
body = JSON.stringify(__assign(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })), (input.fairsharePolicy !== undefined &&
|
|
669
669
|
input.fairsharePolicy !== null && {
|
|
670
670
|
fairsharePolicy: serializeAws_restJson1FairsharePolicy(input.fairsharePolicy, context),
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
10
10
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
|
|
11
11
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
|
|
@@ -52,7 +52,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
52
52
|
* A function that can calculate the length of a request body.
|
|
53
53
|
* @internal
|
|
54
54
|
*/
|
|
55
|
-
bodyLengthChecker?:
|
|
55
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
56
56
|
/**
|
|
57
57
|
* A function that converts a stream into an array of bytes.
|
|
58
58
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
10
10
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
|
|
11
11
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
|
|
@@ -40,7 +40,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
40
40
|
|
|
41
41
|
urlParser?: __UrlParser;
|
|
42
42
|
|
|
43
|
-
bodyLengthChecker?:
|
|
43
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
44
44
|
|
|
45
45
|
streamCollector?: __StreamCollector;
|
|
46
46
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
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.55.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|