@aws-sdk/client-batch 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +54 -54
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +115 -91
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +58 -55
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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -96,7 +96,10 @@ import {
|
|
|
96
96
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
97
97
|
import {
|
|
98
98
|
expectBoolean as __expectBoolean,
|
|
99
|
-
|
|
99
|
+
expectInt32 as __expectInt32,
|
|
100
|
+
expectLong as __expectLong,
|
|
101
|
+
expectNonNull as __expectNonNull,
|
|
102
|
+
expectObject as __expectObject,
|
|
100
103
|
expectString as __expectString,
|
|
101
104
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
102
105
|
} from "@aws-sdk/smithy-client";
|
|
@@ -775,7 +778,7 @@ export const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (
|
|
|
775
778
|
computeEnvironmentArn: undefined,
|
|
776
779
|
computeEnvironmentName: undefined,
|
|
777
780
|
};
|
|
778
|
-
const data: any = await parseBody(output.body, context);
|
|
781
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
779
782
|
if (data.computeEnvironmentArn !== undefined && data.computeEnvironmentArn !== null) {
|
|
780
783
|
contents.computeEnvironmentArn = __expectString(data.computeEnvironmentArn);
|
|
781
784
|
}
|
|
@@ -842,7 +845,7 @@ export const deserializeAws_restJson1CreateJobQueueCommand = async (
|
|
|
842
845
|
jobQueueArn: undefined,
|
|
843
846
|
jobQueueName: undefined,
|
|
844
847
|
};
|
|
845
|
-
const data: any = await parseBody(output.body, context);
|
|
848
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
846
849
|
if (data.jobQueueArn !== undefined && data.jobQueueArn !== null) {
|
|
847
850
|
contents.jobQueueArn = __expectString(data.jobQueueArn);
|
|
848
851
|
}
|
|
@@ -1086,7 +1089,7 @@ export const deserializeAws_restJson1DescribeComputeEnvironmentsCommand = async
|
|
|
1086
1089
|
computeEnvironments: undefined,
|
|
1087
1090
|
nextToken: undefined,
|
|
1088
1091
|
};
|
|
1089
|
-
const data: any = await parseBody(output.body, context);
|
|
1092
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1090
1093
|
if (data.computeEnvironments !== undefined && data.computeEnvironments !== null) {
|
|
1091
1094
|
contents.computeEnvironments = deserializeAws_restJson1ComputeEnvironmentDetailList(
|
|
1092
1095
|
data.computeEnvironments,
|
|
@@ -1156,7 +1159,7 @@ export const deserializeAws_restJson1DescribeJobDefinitionsCommand = async (
|
|
|
1156
1159
|
jobDefinitions: undefined,
|
|
1157
1160
|
nextToken: undefined,
|
|
1158
1161
|
};
|
|
1159
|
-
const data: any = await parseBody(output.body, context);
|
|
1162
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1160
1163
|
if (data.jobDefinitions !== undefined && data.jobDefinitions !== null) {
|
|
1161
1164
|
contents.jobDefinitions = deserializeAws_restJson1JobDefinitionList(data.jobDefinitions, context);
|
|
1162
1165
|
}
|
|
@@ -1223,7 +1226,7 @@ export const deserializeAws_restJson1DescribeJobQueuesCommand = async (
|
|
|
1223
1226
|
jobQueues: undefined,
|
|
1224
1227
|
nextToken: undefined,
|
|
1225
1228
|
};
|
|
1226
|
-
const data: any = await parseBody(output.body, context);
|
|
1229
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1227
1230
|
if (data.jobQueues !== undefined && data.jobQueues !== null) {
|
|
1228
1231
|
contents.jobQueues = deserializeAws_restJson1JobQueueDetailList(data.jobQueues, context);
|
|
1229
1232
|
}
|
|
@@ -1289,7 +1292,7 @@ export const deserializeAws_restJson1DescribeJobsCommand = async (
|
|
|
1289
1292
|
$metadata: deserializeMetadata(output),
|
|
1290
1293
|
jobs: undefined,
|
|
1291
1294
|
};
|
|
1292
|
-
const data: any = await parseBody(output.body, context);
|
|
1295
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1293
1296
|
if (data.jobs !== undefined && data.jobs !== null) {
|
|
1294
1297
|
contents.jobs = deserializeAws_restJson1JobDetailList(data.jobs, context);
|
|
1295
1298
|
}
|
|
@@ -1353,7 +1356,7 @@ export const deserializeAws_restJson1ListJobsCommand = async (
|
|
|
1353
1356
|
jobSummaryList: undefined,
|
|
1354
1357
|
nextToken: undefined,
|
|
1355
1358
|
};
|
|
1356
|
-
const data: any = await parseBody(output.body, context);
|
|
1359
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1357
1360
|
if (data.jobSummaryList !== undefined && data.jobSummaryList !== null) {
|
|
1358
1361
|
contents.jobSummaryList = deserializeAws_restJson1JobSummaryList(data.jobSummaryList, context);
|
|
1359
1362
|
}
|
|
@@ -1419,7 +1422,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
1419
1422
|
$metadata: deserializeMetadata(output),
|
|
1420
1423
|
tags: undefined,
|
|
1421
1424
|
};
|
|
1422
|
-
const data: any = await parseBody(output.body, context);
|
|
1425
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1423
1426
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1424
1427
|
contents.tags = deserializeAws_restJson1TagrisTagsMap(data.tags, context);
|
|
1425
1428
|
}
|
|
@@ -1484,7 +1487,7 @@ export const deserializeAws_restJson1RegisterJobDefinitionCommand = async (
|
|
|
1484
1487
|
jobDefinitionName: undefined,
|
|
1485
1488
|
revision: undefined,
|
|
1486
1489
|
};
|
|
1487
|
-
const data: any = await parseBody(output.body, context);
|
|
1490
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1488
1491
|
if (data.jobDefinitionArn !== undefined && data.jobDefinitionArn !== null) {
|
|
1489
1492
|
contents.jobDefinitionArn = __expectString(data.jobDefinitionArn);
|
|
1490
1493
|
}
|
|
@@ -1492,7 +1495,7 @@ export const deserializeAws_restJson1RegisterJobDefinitionCommand = async (
|
|
|
1492
1495
|
contents.jobDefinitionName = __expectString(data.jobDefinitionName);
|
|
1493
1496
|
}
|
|
1494
1497
|
if (data.revision !== undefined && data.revision !== null) {
|
|
1495
|
-
contents.revision =
|
|
1498
|
+
contents.revision = __expectInt32(data.revision);
|
|
1496
1499
|
}
|
|
1497
1500
|
return Promise.resolve(contents);
|
|
1498
1501
|
};
|
|
@@ -1555,7 +1558,7 @@ export const deserializeAws_restJson1SubmitJobCommand = async (
|
|
|
1555
1558
|
jobId: undefined,
|
|
1556
1559
|
jobName: undefined,
|
|
1557
1560
|
};
|
|
1558
|
-
const data: any = await parseBody(output.body, context);
|
|
1561
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1559
1562
|
if (data.jobArn !== undefined && data.jobArn !== null) {
|
|
1560
1563
|
contents.jobArn = __expectString(data.jobArn);
|
|
1561
1564
|
}
|
|
@@ -1802,7 +1805,7 @@ export const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (
|
|
|
1802
1805
|
computeEnvironmentArn: undefined,
|
|
1803
1806
|
computeEnvironmentName: undefined,
|
|
1804
1807
|
};
|
|
1805
|
-
const data: any = await parseBody(output.body, context);
|
|
1808
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1806
1809
|
if (data.computeEnvironmentArn !== undefined && data.computeEnvironmentArn !== null) {
|
|
1807
1810
|
contents.computeEnvironmentArn = __expectString(data.computeEnvironmentArn);
|
|
1808
1811
|
}
|
|
@@ -1869,7 +1872,7 @@ export const deserializeAws_restJson1UpdateJobQueueCommand = async (
|
|
|
1869
1872
|
jobQueueArn: undefined,
|
|
1870
1873
|
jobQueueName: undefined,
|
|
1871
1874
|
};
|
|
1872
|
-
const data: any = await parseBody(output.body, context);
|
|
1875
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1873
1876
|
if (data.jobQueueArn !== undefined && data.jobQueueArn !== null) {
|
|
1874
1877
|
contents.jobQueueArn = __expectString(data.jobQueueArn);
|
|
1875
1878
|
}
|
|
@@ -2609,15 +2612,15 @@ const deserializeAws_restJson1ArrayJobStatusSummary = (
|
|
|
2609
2612
|
}
|
|
2610
2613
|
return {
|
|
2611
2614
|
...acc,
|
|
2612
|
-
[key]:
|
|
2615
|
+
[key]: __expectInt32(value) as any,
|
|
2613
2616
|
};
|
|
2614
2617
|
}, {});
|
|
2615
2618
|
};
|
|
2616
2619
|
|
|
2617
2620
|
const deserializeAws_restJson1ArrayPropertiesDetail = (output: any, context: __SerdeContext): ArrayPropertiesDetail => {
|
|
2618
2621
|
return {
|
|
2619
|
-
index:
|
|
2620
|
-
size:
|
|
2622
|
+
index: __expectInt32(output.index),
|
|
2623
|
+
size: __expectInt32(output.size),
|
|
2621
2624
|
statusSummary:
|
|
2622
2625
|
output.statusSummary !== undefined && output.statusSummary !== null
|
|
2623
2626
|
? deserializeAws_restJson1ArrayJobStatusSummary(output.statusSummary, context)
|
|
@@ -2630,8 +2633,8 @@ const deserializeAws_restJson1ArrayPropertiesSummary = (
|
|
|
2630
2633
|
context: __SerdeContext
|
|
2631
2634
|
): ArrayPropertiesSummary => {
|
|
2632
2635
|
return {
|
|
2633
|
-
index:
|
|
2634
|
-
size:
|
|
2636
|
+
index: __expectInt32(output.index),
|
|
2637
|
+
size: __expectInt32(output.size),
|
|
2635
2638
|
} as any;
|
|
2636
2639
|
};
|
|
2637
2640
|
|
|
@@ -2641,7 +2644,7 @@ const deserializeAws_restJson1AttemptContainerDetail = (
|
|
|
2641
2644
|
): AttemptContainerDetail => {
|
|
2642
2645
|
return {
|
|
2643
2646
|
containerInstanceArn: __expectString(output.containerInstanceArn),
|
|
2644
|
-
exitCode:
|
|
2647
|
+
exitCode: __expectInt32(output.exitCode),
|
|
2645
2648
|
logStreamName: __expectString(output.logStreamName),
|
|
2646
2649
|
networkInterfaces:
|
|
2647
2650
|
output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
@@ -2658,9 +2661,9 @@ const deserializeAws_restJson1AttemptDetail = (output: any, context: __SerdeCont
|
|
|
2658
2661
|
output.container !== undefined && output.container !== null
|
|
2659
2662
|
? deserializeAws_restJson1AttemptContainerDetail(output.container, context)
|
|
2660
2663
|
: undefined,
|
|
2661
|
-
startedAt:
|
|
2664
|
+
startedAt: __expectLong(output.startedAt),
|
|
2662
2665
|
statusReason: __expectString(output.statusReason),
|
|
2663
|
-
stoppedAt:
|
|
2666
|
+
stoppedAt: __expectLong(output.stoppedAt),
|
|
2664
2667
|
} as any;
|
|
2665
2668
|
};
|
|
2666
2669
|
|
|
@@ -2719,7 +2722,7 @@ const deserializeAws_restJson1ComputeEnvironmentOrder = (
|
|
|
2719
2722
|
): ComputeEnvironmentOrder => {
|
|
2720
2723
|
return {
|
|
2721
2724
|
computeEnvironment: __expectString(output.computeEnvironment),
|
|
2722
|
-
order:
|
|
2725
|
+
order: __expectInt32(output.order),
|
|
2723
2726
|
} as any;
|
|
2724
2727
|
};
|
|
2725
2728
|
|
|
@@ -2740,8 +2743,8 @@ const deserializeAws_restJson1ComputeEnvironmentOrders = (
|
|
|
2740
2743
|
const deserializeAws_restJson1ComputeResource = (output: any, context: __SerdeContext): ComputeResource => {
|
|
2741
2744
|
return {
|
|
2742
2745
|
allocationStrategy: __expectString(output.allocationStrategy),
|
|
2743
|
-
bidPercentage:
|
|
2744
|
-
desiredvCpus:
|
|
2746
|
+
bidPercentage: __expectInt32(output.bidPercentage),
|
|
2747
|
+
desiredvCpus: __expectInt32(output.desiredvCpus),
|
|
2745
2748
|
ec2Configuration:
|
|
2746
2749
|
output.ec2Configuration !== undefined && output.ec2Configuration !== null
|
|
2747
2750
|
? deserializeAws_restJson1Ec2ConfigurationList(output.ec2Configuration, context)
|
|
@@ -2757,8 +2760,8 @@ const deserializeAws_restJson1ComputeResource = (output: any, context: __SerdeCo
|
|
|
2757
2760
|
output.launchTemplate !== undefined && output.launchTemplate !== null
|
|
2758
2761
|
? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
|
|
2759
2762
|
: undefined,
|
|
2760
|
-
maxvCpus:
|
|
2761
|
-
minvCpus:
|
|
2763
|
+
maxvCpus: __expectInt32(output.maxvCpus),
|
|
2764
|
+
minvCpus: __expectInt32(output.minvCpus),
|
|
2762
2765
|
placementGroup: __expectString(output.placementGroup),
|
|
2763
2766
|
securityGroupIds:
|
|
2764
2767
|
output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
@@ -2789,7 +2792,7 @@ const deserializeAws_restJson1ContainerDetail = (output: any, context: __SerdeCo
|
|
|
2789
2792
|
? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
|
|
2790
2793
|
: undefined,
|
|
2791
2794
|
executionRoleArn: __expectString(output.executionRoleArn),
|
|
2792
|
-
exitCode:
|
|
2795
|
+
exitCode: __expectInt32(output.exitCode),
|
|
2793
2796
|
fargatePlatformConfiguration:
|
|
2794
2797
|
output.fargatePlatformConfiguration !== undefined && output.fargatePlatformConfiguration !== null
|
|
2795
2798
|
? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
|
|
@@ -2806,7 +2809,7 @@ const deserializeAws_restJson1ContainerDetail = (output: any, context: __SerdeCo
|
|
|
2806
2809
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2807
2810
|
: undefined,
|
|
2808
2811
|
logStreamName: __expectString(output.logStreamName),
|
|
2809
|
-
memory:
|
|
2812
|
+
memory: __expectInt32(output.memory),
|
|
2810
2813
|
mountPoints:
|
|
2811
2814
|
output.mountPoints !== undefined && output.mountPoints !== null
|
|
2812
2815
|
? deserializeAws_restJson1MountPoints(output.mountPoints, context)
|
|
@@ -2836,7 +2839,7 @@ const deserializeAws_restJson1ContainerDetail = (output: any, context: __SerdeCo
|
|
|
2836
2839
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2837
2840
|
: undefined,
|
|
2838
2841
|
user: __expectString(output.user),
|
|
2839
|
-
vcpus:
|
|
2842
|
+
vcpus: __expectInt32(output.vcpus),
|
|
2840
2843
|
volumes:
|
|
2841
2844
|
output.volumes !== undefined && output.volumes !== null
|
|
2842
2845
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
@@ -2870,7 +2873,7 @@ const deserializeAws_restJson1ContainerProperties = (output: any, context: __Ser
|
|
|
2870
2873
|
output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2871
2874
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2872
2875
|
: undefined,
|
|
2873
|
-
memory:
|
|
2876
|
+
memory: __expectInt32(output.memory),
|
|
2874
2877
|
mountPoints:
|
|
2875
2878
|
output.mountPoints !== undefined && output.mountPoints !== null
|
|
2876
2879
|
? deserializeAws_restJson1MountPoints(output.mountPoints, context)
|
|
@@ -2894,7 +2897,7 @@ const deserializeAws_restJson1ContainerProperties = (output: any, context: __Ser
|
|
|
2894
2897
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2895
2898
|
: undefined,
|
|
2896
2899
|
user: __expectString(output.user),
|
|
2897
|
-
vcpus:
|
|
2900
|
+
vcpus: __expectInt32(output.vcpus),
|
|
2898
2901
|
volumes:
|
|
2899
2902
|
output.volumes !== undefined && output.volumes !== null
|
|
2900
2903
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
@@ -2904,7 +2907,7 @@ const deserializeAws_restJson1ContainerProperties = (output: any, context: __Ser
|
|
|
2904
2907
|
|
|
2905
2908
|
const deserializeAws_restJson1ContainerSummary = (output: any, context: __SerdeContext): ContainerSummary => {
|
|
2906
2909
|
return {
|
|
2907
|
-
exitCode:
|
|
2910
|
+
exitCode: __expectInt32(output.exitCode),
|
|
2908
2911
|
reason: __expectString(output.reason),
|
|
2909
2912
|
} as any;
|
|
2910
2913
|
};
|
|
@@ -2985,7 +2988,7 @@ const deserializeAws_restJson1EFSVolumeConfiguration = (
|
|
|
2985
2988
|
fileSystemId: __expectString(output.fileSystemId),
|
|
2986
2989
|
rootDirectory: __expectString(output.rootDirectory),
|
|
2987
2990
|
transitEncryption: __expectString(output.transitEncryption),
|
|
2988
|
-
transitEncryptionPort:
|
|
2991
|
+
transitEncryptionPort: __expectInt32(output.transitEncryptionPort),
|
|
2989
2992
|
} as any;
|
|
2990
2993
|
};
|
|
2991
2994
|
|
|
@@ -3060,7 +3063,7 @@ const deserializeAws_restJson1JobDefinition = (output: any, context: __SerdeCont
|
|
|
3060
3063
|
output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
3061
3064
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
3062
3065
|
: undefined,
|
|
3063
|
-
revision:
|
|
3066
|
+
revision: __expectInt32(output.revision),
|
|
3064
3067
|
status: __expectString(output.status),
|
|
3065
3068
|
tags:
|
|
3066
3069
|
output.tags !== undefined && output.tags !== null
|
|
@@ -3117,7 +3120,7 @@ const deserializeAws_restJson1JobDetail = (output: any, context: __SerdeContext)
|
|
|
3117
3120
|
output.container !== undefined && output.container !== null
|
|
3118
3121
|
? deserializeAws_restJson1ContainerDetail(output.container, context)
|
|
3119
3122
|
: undefined,
|
|
3120
|
-
createdAt:
|
|
3123
|
+
createdAt: __expectLong(output.createdAt),
|
|
3121
3124
|
dependsOn:
|
|
3122
3125
|
output.dependsOn !== undefined && output.dependsOn !== null
|
|
3123
3126
|
? deserializeAws_restJson1JobDependencyList(output.dependsOn, context)
|
|
@@ -3148,10 +3151,10 @@ const deserializeAws_restJson1JobDetail = (output: any, context: __SerdeContext)
|
|
|
3148
3151
|
output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
3149
3152
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
3150
3153
|
: undefined,
|
|
3151
|
-
startedAt:
|
|
3154
|
+
startedAt: __expectLong(output.startedAt),
|
|
3152
3155
|
status: __expectString(output.status),
|
|
3153
3156
|
statusReason: __expectString(output.statusReason),
|
|
3154
|
-
stoppedAt:
|
|
3157
|
+
stoppedAt: __expectLong(output.stoppedAt),
|
|
3155
3158
|
tags:
|
|
3156
3159
|
output.tags !== undefined && output.tags !== null
|
|
3157
3160
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
@@ -3182,7 +3185,7 @@ const deserializeAws_restJson1JobQueueDetail = (output: any, context: __SerdeCon
|
|
|
3182
3185
|
: undefined,
|
|
3183
3186
|
jobQueueArn: __expectString(output.jobQueueArn),
|
|
3184
3187
|
jobQueueName: __expectString(output.jobQueueName),
|
|
3185
|
-
priority:
|
|
3188
|
+
priority: __expectInt32(output.priority),
|
|
3186
3189
|
state: __expectString(output.state),
|
|
3187
3190
|
status: __expectString(output.status),
|
|
3188
3191
|
statusReason: __expectString(output.statusReason),
|
|
@@ -3214,7 +3217,7 @@ const deserializeAws_restJson1JobSummary = (output: any, context: __SerdeContext
|
|
|
3214
3217
|
output.container !== undefined && output.container !== null
|
|
3215
3218
|
? deserializeAws_restJson1ContainerSummary(output.container, context)
|
|
3216
3219
|
: undefined,
|
|
3217
|
-
createdAt:
|
|
3220
|
+
createdAt: __expectLong(output.createdAt),
|
|
3218
3221
|
jobArn: __expectString(output.jobArn),
|
|
3219
3222
|
jobDefinition: __expectString(output.jobDefinition),
|
|
3220
3223
|
jobId: __expectString(output.jobId),
|
|
@@ -3223,10 +3226,10 @@ const deserializeAws_restJson1JobSummary = (output: any, context: __SerdeContext
|
|
|
3223
3226
|
output.nodeProperties !== undefined && output.nodeProperties !== null
|
|
3224
3227
|
? deserializeAws_restJson1NodePropertiesSummary(output.nodeProperties, context)
|
|
3225
3228
|
: undefined,
|
|
3226
|
-
startedAt:
|
|
3229
|
+
startedAt: __expectLong(output.startedAt),
|
|
3227
3230
|
status: __expectString(output.status),
|
|
3228
3231
|
statusReason: __expectString(output.statusReason),
|
|
3229
|
-
stoppedAt:
|
|
3232
|
+
stoppedAt: __expectLong(output.stoppedAt),
|
|
3230
3233
|
} as any;
|
|
3231
3234
|
};
|
|
3232
3235
|
|
|
@@ -3243,7 +3246,7 @@ const deserializeAws_restJson1JobSummaryList = (output: any, context: __SerdeCon
|
|
|
3243
3246
|
|
|
3244
3247
|
const deserializeAws_restJson1JobTimeout = (output: any, context: __SerdeContext): JobTimeout => {
|
|
3245
3248
|
return {
|
|
3246
|
-
attemptDurationSeconds:
|
|
3249
|
+
attemptDurationSeconds: __expectInt32(output.attemptDurationSeconds),
|
|
3247
3250
|
} as any;
|
|
3248
3251
|
};
|
|
3249
3252
|
|
|
@@ -3272,9 +3275,9 @@ const deserializeAws_restJson1LinuxParameters = (output: any, context: __SerdeCo
|
|
|
3272
3275
|
? deserializeAws_restJson1DevicesList(output.devices, context)
|
|
3273
3276
|
: undefined,
|
|
3274
3277
|
initProcessEnabled: __expectBoolean(output.initProcessEnabled),
|
|
3275
|
-
maxSwap:
|
|
3276
|
-
sharedMemorySize:
|
|
3277
|
-
swappiness:
|
|
3278
|
+
maxSwap: __expectInt32(output.maxSwap),
|
|
3279
|
+
sharedMemorySize: __expectInt32(output.sharedMemorySize),
|
|
3280
|
+
swappiness: __expectInt32(output.swappiness),
|
|
3278
3281
|
tmpfs:
|
|
3279
3282
|
output.tmpfs !== undefined && output.tmpfs !== null
|
|
3280
3283
|
? deserializeAws_restJson1TmpfsList(output.tmpfs, context)
|
|
@@ -3358,26 +3361,26 @@ const deserializeAws_restJson1NetworkInterfaceList = (output: any, context: __Se
|
|
|
3358
3361
|
const deserializeAws_restJson1NodeDetails = (output: any, context: __SerdeContext): NodeDetails => {
|
|
3359
3362
|
return {
|
|
3360
3363
|
isMainNode: __expectBoolean(output.isMainNode),
|
|
3361
|
-
nodeIndex:
|
|
3364
|
+
nodeIndex: __expectInt32(output.nodeIndex),
|
|
3362
3365
|
} as any;
|
|
3363
3366
|
};
|
|
3364
3367
|
|
|
3365
3368
|
const deserializeAws_restJson1NodeProperties = (output: any, context: __SerdeContext): NodeProperties => {
|
|
3366
3369
|
return {
|
|
3367
|
-
mainNode:
|
|
3370
|
+
mainNode: __expectInt32(output.mainNode),
|
|
3368
3371
|
nodeRangeProperties:
|
|
3369
3372
|
output.nodeRangeProperties !== undefined && output.nodeRangeProperties !== null
|
|
3370
3373
|
? deserializeAws_restJson1NodeRangeProperties(output.nodeRangeProperties, context)
|
|
3371
3374
|
: undefined,
|
|
3372
|
-
numNodes:
|
|
3375
|
+
numNodes: __expectInt32(output.numNodes),
|
|
3373
3376
|
} as any;
|
|
3374
3377
|
};
|
|
3375
3378
|
|
|
3376
3379
|
const deserializeAws_restJson1NodePropertiesSummary = (output: any, context: __SerdeContext): NodePropertiesSummary => {
|
|
3377
3380
|
return {
|
|
3378
3381
|
isMainNode: __expectBoolean(output.isMainNode),
|
|
3379
|
-
nodeIndex:
|
|
3380
|
-
numNodes:
|
|
3382
|
+
nodeIndex: __expectInt32(output.nodeIndex),
|
|
3383
|
+
numNodes: __expectInt32(output.numNodes),
|
|
3381
3384
|
} as any;
|
|
3382
3385
|
};
|
|
3383
3386
|
|
|
@@ -3448,7 +3451,7 @@ const deserializeAws_restJson1ResourceRequirements = (output: any, context: __Se
|
|
|
3448
3451
|
|
|
3449
3452
|
const deserializeAws_restJson1RetryStrategy = (output: any, context: __SerdeContext): RetryStrategy => {
|
|
3450
3453
|
return {
|
|
3451
|
-
attempts:
|
|
3454
|
+
attempts: __expectInt32(output.attempts),
|
|
3452
3455
|
evaluateOnExit:
|
|
3453
3456
|
output.evaluateOnExit !== undefined && output.evaluateOnExit !== null
|
|
3454
3457
|
? deserializeAws_restJson1EvaluateOnExitList(output.evaluateOnExit, context)
|
|
@@ -3516,7 +3519,7 @@ const deserializeAws_restJson1Tmpfs = (output: any, context: __SerdeContext): Tm
|
|
|
3516
3519
|
output.mountOptions !== undefined && output.mountOptions !== null
|
|
3517
3520
|
? deserializeAws_restJson1StringList(output.mountOptions, context)
|
|
3518
3521
|
: undefined,
|
|
3519
|
-
size:
|
|
3522
|
+
size: __expectInt32(output.size),
|
|
3520
3523
|
} as any;
|
|
3521
3524
|
};
|
|
3522
3525
|
|
|
@@ -3533,9 +3536,9 @@ const deserializeAws_restJson1TmpfsList = (output: any, context: __SerdeContext)
|
|
|
3533
3536
|
|
|
3534
3537
|
const deserializeAws_restJson1Ulimit = (output: any, context: __SerdeContext): Ulimit => {
|
|
3535
3538
|
return {
|
|
3536
|
-
hardLimit:
|
|
3539
|
+
hardLimit: __expectInt32(output.hardLimit),
|
|
3537
3540
|
name: __expectString(output.name),
|
|
3538
|
-
softLimit:
|
|
3541
|
+
softLimit: __expectInt32(output.softLimit),
|
|
3539
3542
|
} as any;
|
|
3540
3543
|
};
|
|
3541
3544
|
|