@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-batch
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-batch
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-batch
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-batch
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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"
|
|
@@ -599,7 +599,7 @@ const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (output, c
|
|
|
599
599
|
computeEnvironmentArn: undefined,
|
|
600
600
|
computeEnvironmentName: undefined,
|
|
601
601
|
};
|
|
602
|
-
const data = await parseBody(output.body, context);
|
|
602
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
603
603
|
if (data.computeEnvironmentArn !== undefined && data.computeEnvironmentArn !== null) {
|
|
604
604
|
contents.computeEnvironmentArn = smithy_client_1.expectString(data.computeEnvironmentArn);
|
|
605
605
|
}
|
|
@@ -659,7 +659,7 @@ const deserializeAws_restJson1CreateJobQueueCommand = async (output, context) =>
|
|
|
659
659
|
jobQueueArn: undefined,
|
|
660
660
|
jobQueueName: undefined,
|
|
661
661
|
};
|
|
662
|
-
const data = await parseBody(output.body, context);
|
|
662
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
663
663
|
if (data.jobQueueArn !== undefined && data.jobQueueArn !== null) {
|
|
664
664
|
contents.jobQueueArn = smithy_client_1.expectString(data.jobQueueArn);
|
|
665
665
|
}
|
|
@@ -875,7 +875,7 @@ const deserializeAws_restJson1DescribeComputeEnvironmentsCommand = async (output
|
|
|
875
875
|
computeEnvironments: undefined,
|
|
876
876
|
nextToken: undefined,
|
|
877
877
|
};
|
|
878
|
-
const data = await parseBody(output.body, context);
|
|
878
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
879
879
|
if (data.computeEnvironments !== undefined && data.computeEnvironments !== null) {
|
|
880
880
|
contents.computeEnvironments = deserializeAws_restJson1ComputeEnvironmentDetailList(data.computeEnvironments, context);
|
|
881
881
|
}
|
|
@@ -935,7 +935,7 @@ const deserializeAws_restJson1DescribeJobDefinitionsCommand = async (output, con
|
|
|
935
935
|
jobDefinitions: undefined,
|
|
936
936
|
nextToken: undefined,
|
|
937
937
|
};
|
|
938
|
-
const data = await parseBody(output.body, context);
|
|
938
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
939
939
|
if (data.jobDefinitions !== undefined && data.jobDefinitions !== null) {
|
|
940
940
|
contents.jobDefinitions = deserializeAws_restJson1JobDefinitionList(data.jobDefinitions, context);
|
|
941
941
|
}
|
|
@@ -995,7 +995,7 @@ const deserializeAws_restJson1DescribeJobQueuesCommand = async (output, context)
|
|
|
995
995
|
jobQueues: undefined,
|
|
996
996
|
nextToken: undefined,
|
|
997
997
|
};
|
|
998
|
-
const data = await parseBody(output.body, context);
|
|
998
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
999
999
|
if (data.jobQueues !== undefined && data.jobQueues !== null) {
|
|
1000
1000
|
contents.jobQueues = deserializeAws_restJson1JobQueueDetailList(data.jobQueues, context);
|
|
1001
1001
|
}
|
|
@@ -1054,7 +1054,7 @@ const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
|
|
|
1054
1054
|
$metadata: deserializeMetadata(output),
|
|
1055
1055
|
jobs: undefined,
|
|
1056
1056
|
};
|
|
1057
|
-
const data = await parseBody(output.body, context);
|
|
1057
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1058
1058
|
if (data.jobs !== undefined && data.jobs !== null) {
|
|
1059
1059
|
contents.jobs = deserializeAws_restJson1JobDetailList(data.jobs, context);
|
|
1060
1060
|
}
|
|
@@ -1111,7 +1111,7 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
|
1111
1111
|
jobSummaryList: undefined,
|
|
1112
1112
|
nextToken: undefined,
|
|
1113
1113
|
};
|
|
1114
|
-
const data = await parseBody(output.body, context);
|
|
1114
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1115
1115
|
if (data.jobSummaryList !== undefined && data.jobSummaryList !== null) {
|
|
1116
1116
|
contents.jobSummaryList = deserializeAws_restJson1JobSummaryList(data.jobSummaryList, context);
|
|
1117
1117
|
}
|
|
@@ -1170,7 +1170,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1170
1170
|
$metadata: deserializeMetadata(output),
|
|
1171
1171
|
tags: undefined,
|
|
1172
1172
|
};
|
|
1173
|
-
const data = await parseBody(output.body, context);
|
|
1173
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1174
1174
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1175
1175
|
contents.tags = deserializeAws_restJson1TagrisTagsMap(data.tags, context);
|
|
1176
1176
|
}
|
|
@@ -1228,7 +1228,7 @@ const deserializeAws_restJson1RegisterJobDefinitionCommand = async (output, cont
|
|
|
1228
1228
|
jobDefinitionName: undefined,
|
|
1229
1229
|
revision: undefined,
|
|
1230
1230
|
};
|
|
1231
|
-
const data = await parseBody(output.body, context);
|
|
1231
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1232
1232
|
if (data.jobDefinitionArn !== undefined && data.jobDefinitionArn !== null) {
|
|
1233
1233
|
contents.jobDefinitionArn = smithy_client_1.expectString(data.jobDefinitionArn);
|
|
1234
1234
|
}
|
|
@@ -1236,7 +1236,7 @@ const deserializeAws_restJson1RegisterJobDefinitionCommand = async (output, cont
|
|
|
1236
1236
|
contents.jobDefinitionName = smithy_client_1.expectString(data.jobDefinitionName);
|
|
1237
1237
|
}
|
|
1238
1238
|
if (data.revision !== undefined && data.revision !== null) {
|
|
1239
|
-
contents.revision = smithy_client_1.
|
|
1239
|
+
contents.revision = smithy_client_1.expectInt32(data.revision);
|
|
1240
1240
|
}
|
|
1241
1241
|
return Promise.resolve(contents);
|
|
1242
1242
|
};
|
|
@@ -1292,7 +1292,7 @@ const deserializeAws_restJson1SubmitJobCommand = async (output, context) => {
|
|
|
1292
1292
|
jobId: undefined,
|
|
1293
1293
|
jobName: undefined,
|
|
1294
1294
|
};
|
|
1295
|
-
const data = await parseBody(output.body, context);
|
|
1295
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1296
1296
|
if (data.jobArn !== undefined && data.jobArn !== null) {
|
|
1297
1297
|
contents.jobArn = smithy_client_1.expectString(data.jobArn);
|
|
1298
1298
|
}
|
|
@@ -1511,7 +1511,7 @@ const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (output, c
|
|
|
1511
1511
|
computeEnvironmentArn: undefined,
|
|
1512
1512
|
computeEnvironmentName: undefined,
|
|
1513
1513
|
};
|
|
1514
|
-
const data = await parseBody(output.body, context);
|
|
1514
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1515
1515
|
if (data.computeEnvironmentArn !== undefined && data.computeEnvironmentArn !== null) {
|
|
1516
1516
|
contents.computeEnvironmentArn = smithy_client_1.expectString(data.computeEnvironmentArn);
|
|
1517
1517
|
}
|
|
@@ -1571,7 +1571,7 @@ const deserializeAws_restJson1UpdateJobQueueCommand = async (output, context) =>
|
|
|
1571
1571
|
jobQueueArn: undefined,
|
|
1572
1572
|
jobQueueName: undefined,
|
|
1573
1573
|
};
|
|
1574
|
-
const data = await parseBody(output.body, context);
|
|
1574
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1575
1575
|
if (data.jobQueueArn !== undefined && data.jobQueueArn !== null) {
|
|
1576
1576
|
contents.jobQueueArn = smithy_client_1.expectString(data.jobQueueArn);
|
|
1577
1577
|
}
|
|
@@ -2218,14 +2218,14 @@ const deserializeAws_restJson1ArrayJobStatusSummary = (output, context) => {
|
|
|
2218
2218
|
}
|
|
2219
2219
|
return {
|
|
2220
2220
|
...acc,
|
|
2221
|
-
[key]: smithy_client_1.
|
|
2221
|
+
[key]: smithy_client_1.expectInt32(value),
|
|
2222
2222
|
};
|
|
2223
2223
|
}, {});
|
|
2224
2224
|
};
|
|
2225
2225
|
const deserializeAws_restJson1ArrayPropertiesDetail = (output, context) => {
|
|
2226
2226
|
return {
|
|
2227
|
-
index: smithy_client_1.
|
|
2228
|
-
size: smithy_client_1.
|
|
2227
|
+
index: smithy_client_1.expectInt32(output.index),
|
|
2228
|
+
size: smithy_client_1.expectInt32(output.size),
|
|
2229
2229
|
statusSummary: output.statusSummary !== undefined && output.statusSummary !== null
|
|
2230
2230
|
? deserializeAws_restJson1ArrayJobStatusSummary(output.statusSummary, context)
|
|
2231
2231
|
: undefined,
|
|
@@ -2233,14 +2233,14 @@ const deserializeAws_restJson1ArrayPropertiesDetail = (output, context) => {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
const deserializeAws_restJson1ArrayPropertiesSummary = (output, context) => {
|
|
2235
2235
|
return {
|
|
2236
|
-
index: smithy_client_1.
|
|
2237
|
-
size: smithy_client_1.
|
|
2236
|
+
index: smithy_client_1.expectInt32(output.index),
|
|
2237
|
+
size: smithy_client_1.expectInt32(output.size),
|
|
2238
2238
|
};
|
|
2239
2239
|
};
|
|
2240
2240
|
const deserializeAws_restJson1AttemptContainerDetail = (output, context) => {
|
|
2241
2241
|
return {
|
|
2242
2242
|
containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
|
|
2243
|
-
exitCode: smithy_client_1.
|
|
2243
|
+
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2244
2244
|
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
2245
2245
|
networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
2246
2246
|
? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
|
|
@@ -2254,9 +2254,9 @@ const deserializeAws_restJson1AttemptDetail = (output, context) => {
|
|
|
2254
2254
|
container: output.container !== undefined && output.container !== null
|
|
2255
2255
|
? deserializeAws_restJson1AttemptContainerDetail(output.container, context)
|
|
2256
2256
|
: undefined,
|
|
2257
|
-
startedAt: smithy_client_1.
|
|
2257
|
+
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2258
2258
|
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2259
|
-
stoppedAt: smithy_client_1.
|
|
2259
|
+
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2260
2260
|
};
|
|
2261
2261
|
};
|
|
2262
2262
|
const deserializeAws_restJson1AttemptDetails = (output, context) => {
|
|
@@ -2300,7 +2300,7 @@ const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) =
|
|
|
2300
2300
|
const deserializeAws_restJson1ComputeEnvironmentOrder = (output, context) => {
|
|
2301
2301
|
return {
|
|
2302
2302
|
computeEnvironment: smithy_client_1.expectString(output.computeEnvironment),
|
|
2303
|
-
order: smithy_client_1.
|
|
2303
|
+
order: smithy_client_1.expectInt32(output.order),
|
|
2304
2304
|
};
|
|
2305
2305
|
};
|
|
2306
2306
|
const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
|
|
@@ -2316,8 +2316,8 @@ const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
|
|
|
2316
2316
|
const deserializeAws_restJson1ComputeResource = (output, context) => {
|
|
2317
2317
|
return {
|
|
2318
2318
|
allocationStrategy: smithy_client_1.expectString(output.allocationStrategy),
|
|
2319
|
-
bidPercentage: smithy_client_1.
|
|
2320
|
-
desiredvCpus: smithy_client_1.
|
|
2319
|
+
bidPercentage: smithy_client_1.expectInt32(output.bidPercentage),
|
|
2320
|
+
desiredvCpus: smithy_client_1.expectInt32(output.desiredvCpus),
|
|
2321
2321
|
ec2Configuration: output.ec2Configuration !== undefined && output.ec2Configuration !== null
|
|
2322
2322
|
? deserializeAws_restJson1Ec2ConfigurationList(output.ec2Configuration, context)
|
|
2323
2323
|
: undefined,
|
|
@@ -2330,8 +2330,8 @@ const deserializeAws_restJson1ComputeResource = (output, context) => {
|
|
|
2330
2330
|
launchTemplate: output.launchTemplate !== undefined && output.launchTemplate !== null
|
|
2331
2331
|
? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
|
|
2332
2332
|
: undefined,
|
|
2333
|
-
maxvCpus: smithy_client_1.
|
|
2334
|
-
minvCpus: smithy_client_1.
|
|
2333
|
+
maxvCpus: smithy_client_1.expectInt32(output.maxvCpus),
|
|
2334
|
+
minvCpus: smithy_client_1.expectInt32(output.minvCpus),
|
|
2335
2335
|
placementGroup: smithy_client_1.expectString(output.placementGroup),
|
|
2336
2336
|
securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
2337
2337
|
? deserializeAws_restJson1StringList(output.securityGroupIds, context)
|
|
@@ -2356,7 +2356,7 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2356
2356
|
? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
|
|
2357
2357
|
: undefined,
|
|
2358
2358
|
executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
|
|
2359
|
-
exitCode: smithy_client_1.
|
|
2359
|
+
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2360
2360
|
fargatePlatformConfiguration: output.fargatePlatformConfiguration !== undefined && output.fargatePlatformConfiguration !== null
|
|
2361
2361
|
? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
|
|
2362
2362
|
: undefined,
|
|
@@ -2370,7 +2370,7 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2370
2370
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2371
2371
|
: undefined,
|
|
2372
2372
|
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
2373
|
-
memory: smithy_client_1.
|
|
2373
|
+
memory: smithy_client_1.expectInt32(output.memory),
|
|
2374
2374
|
mountPoints: output.mountPoints !== undefined && output.mountPoints !== null
|
|
2375
2375
|
? deserializeAws_restJson1MountPoints(output.mountPoints, context)
|
|
2376
2376
|
: undefined,
|
|
@@ -2394,7 +2394,7 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2394
2394
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2395
2395
|
: undefined,
|
|
2396
2396
|
user: smithy_client_1.expectString(output.user),
|
|
2397
|
-
vcpus: smithy_client_1.
|
|
2397
|
+
vcpus: smithy_client_1.expectInt32(output.vcpus),
|
|
2398
2398
|
volumes: output.volumes !== undefined && output.volumes !== null
|
|
2399
2399
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
2400
2400
|
: undefined,
|
|
@@ -2421,7 +2421,7 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2421
2421
|
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2422
2422
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2423
2423
|
: undefined,
|
|
2424
|
-
memory: smithy_client_1.
|
|
2424
|
+
memory: smithy_client_1.expectInt32(output.memory),
|
|
2425
2425
|
mountPoints: output.mountPoints !== undefined && output.mountPoints !== null
|
|
2426
2426
|
? deserializeAws_restJson1MountPoints(output.mountPoints, context)
|
|
2427
2427
|
: undefined,
|
|
@@ -2440,7 +2440,7 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2440
2440
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2441
2441
|
: undefined,
|
|
2442
2442
|
user: smithy_client_1.expectString(output.user),
|
|
2443
|
-
vcpus: smithy_client_1.
|
|
2443
|
+
vcpus: smithy_client_1.expectInt32(output.vcpus),
|
|
2444
2444
|
volumes: output.volumes !== undefined && output.volumes !== null
|
|
2445
2445
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
2446
2446
|
: undefined,
|
|
@@ -2448,7 +2448,7 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2448
2448
|
};
|
|
2449
2449
|
const deserializeAws_restJson1ContainerSummary = (output, context) => {
|
|
2450
2450
|
return {
|
|
2451
|
-
exitCode: smithy_client_1.
|
|
2451
|
+
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2452
2452
|
reason: smithy_client_1.expectString(output.reason),
|
|
2453
2453
|
};
|
|
2454
2454
|
};
|
|
@@ -2511,7 +2511,7 @@ const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
|
|
|
2511
2511
|
fileSystemId: smithy_client_1.expectString(output.fileSystemId),
|
|
2512
2512
|
rootDirectory: smithy_client_1.expectString(output.rootDirectory),
|
|
2513
2513
|
transitEncryption: smithy_client_1.expectString(output.transitEncryption),
|
|
2514
|
-
transitEncryptionPort: smithy_client_1.
|
|
2514
|
+
transitEncryptionPort: smithy_client_1.expectInt32(output.transitEncryptionPort),
|
|
2515
2515
|
};
|
|
2516
2516
|
};
|
|
2517
2517
|
const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
@@ -2572,7 +2572,7 @@ const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
|
2572
2572
|
retryStrategy: output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
2573
2573
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
2574
2574
|
: undefined,
|
|
2575
|
-
revision: smithy_client_1.
|
|
2575
|
+
revision: smithy_client_1.expectInt32(output.revision),
|
|
2576
2576
|
status: smithy_client_1.expectString(output.status),
|
|
2577
2577
|
tags: output.tags !== undefined && output.tags !== null
|
|
2578
2578
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
@@ -2620,7 +2620,7 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
|
|
|
2620
2620
|
container: output.container !== undefined && output.container !== null
|
|
2621
2621
|
? deserializeAws_restJson1ContainerDetail(output.container, context)
|
|
2622
2622
|
: undefined,
|
|
2623
|
-
createdAt: smithy_client_1.
|
|
2623
|
+
createdAt: smithy_client_1.expectLong(output.createdAt),
|
|
2624
2624
|
dependsOn: output.dependsOn !== undefined && output.dependsOn !== null
|
|
2625
2625
|
? deserializeAws_restJson1JobDependencyList(output.dependsOn, context)
|
|
2626
2626
|
: undefined,
|
|
@@ -2645,10 +2645,10 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
|
|
|
2645
2645
|
retryStrategy: output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
2646
2646
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
2647
2647
|
: undefined,
|
|
2648
|
-
startedAt: smithy_client_1.
|
|
2648
|
+
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2649
2649
|
status: smithy_client_1.expectString(output.status),
|
|
2650
2650
|
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2651
|
-
stoppedAt: smithy_client_1.
|
|
2651
|
+
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2652
2652
|
tags: output.tags !== undefined && output.tags !== null
|
|
2653
2653
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2654
2654
|
: undefined,
|
|
@@ -2674,7 +2674,7 @@ const deserializeAws_restJson1JobQueueDetail = (output, context) => {
|
|
|
2674
2674
|
: undefined,
|
|
2675
2675
|
jobQueueArn: smithy_client_1.expectString(output.jobQueueArn),
|
|
2676
2676
|
jobQueueName: smithy_client_1.expectString(output.jobQueueName),
|
|
2677
|
-
priority: smithy_client_1.
|
|
2677
|
+
priority: smithy_client_1.expectInt32(output.priority),
|
|
2678
2678
|
state: smithy_client_1.expectString(output.state),
|
|
2679
2679
|
status: smithy_client_1.expectString(output.status),
|
|
2680
2680
|
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
@@ -2701,7 +2701,7 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
|
2701
2701
|
container: output.container !== undefined && output.container !== null
|
|
2702
2702
|
? deserializeAws_restJson1ContainerSummary(output.container, context)
|
|
2703
2703
|
: undefined,
|
|
2704
|
-
createdAt: smithy_client_1.
|
|
2704
|
+
createdAt: smithy_client_1.expectLong(output.createdAt),
|
|
2705
2705
|
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
2706
2706
|
jobDefinition: smithy_client_1.expectString(output.jobDefinition),
|
|
2707
2707
|
jobId: smithy_client_1.expectString(output.jobId),
|
|
@@ -2709,10 +2709,10 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
|
2709
2709
|
nodeProperties: output.nodeProperties !== undefined && output.nodeProperties !== null
|
|
2710
2710
|
? deserializeAws_restJson1NodePropertiesSummary(output.nodeProperties, context)
|
|
2711
2711
|
: undefined,
|
|
2712
|
-
startedAt: smithy_client_1.
|
|
2712
|
+
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2713
2713
|
status: smithy_client_1.expectString(output.status),
|
|
2714
2714
|
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2715
|
-
stoppedAt: smithy_client_1.
|
|
2715
|
+
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2716
2716
|
};
|
|
2717
2717
|
};
|
|
2718
2718
|
const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
@@ -2727,7 +2727,7 @@ const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
|
2727
2727
|
};
|
|
2728
2728
|
const deserializeAws_restJson1JobTimeout = (output, context) => {
|
|
2729
2729
|
return {
|
|
2730
|
-
attemptDurationSeconds: smithy_client_1.
|
|
2730
|
+
attemptDurationSeconds: smithy_client_1.expectInt32(output.attemptDurationSeconds),
|
|
2731
2731
|
};
|
|
2732
2732
|
};
|
|
2733
2733
|
const deserializeAws_restJson1KeyValuePair = (output, context) => {
|
|
@@ -2749,9 +2749,9 @@ const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
|
2749
2749
|
? deserializeAws_restJson1DevicesList(output.devices, context)
|
|
2750
2750
|
: undefined,
|
|
2751
2751
|
initProcessEnabled: smithy_client_1.expectBoolean(output.initProcessEnabled),
|
|
2752
|
-
maxSwap: smithy_client_1.
|
|
2753
|
-
sharedMemorySize: smithy_client_1.
|
|
2754
|
-
swappiness: smithy_client_1.
|
|
2752
|
+
maxSwap: smithy_client_1.expectInt32(output.maxSwap),
|
|
2753
|
+
sharedMemorySize: smithy_client_1.expectInt32(output.sharedMemorySize),
|
|
2754
|
+
swappiness: smithy_client_1.expectInt32(output.swappiness),
|
|
2755
2755
|
tmpfs: output.tmpfs !== undefined && output.tmpfs !== null
|
|
2756
2756
|
? deserializeAws_restJson1TmpfsList(output.tmpfs, context)
|
|
2757
2757
|
: undefined,
|
|
@@ -2821,23 +2821,23 @@ const deserializeAws_restJson1NetworkInterfaceList = (output, context) => {
|
|
|
2821
2821
|
const deserializeAws_restJson1NodeDetails = (output, context) => {
|
|
2822
2822
|
return {
|
|
2823
2823
|
isMainNode: smithy_client_1.expectBoolean(output.isMainNode),
|
|
2824
|
-
nodeIndex: smithy_client_1.
|
|
2824
|
+
nodeIndex: smithy_client_1.expectInt32(output.nodeIndex),
|
|
2825
2825
|
};
|
|
2826
2826
|
};
|
|
2827
2827
|
const deserializeAws_restJson1NodeProperties = (output, context) => {
|
|
2828
2828
|
return {
|
|
2829
|
-
mainNode: smithy_client_1.
|
|
2829
|
+
mainNode: smithy_client_1.expectInt32(output.mainNode),
|
|
2830
2830
|
nodeRangeProperties: output.nodeRangeProperties !== undefined && output.nodeRangeProperties !== null
|
|
2831
2831
|
? deserializeAws_restJson1NodeRangeProperties(output.nodeRangeProperties, context)
|
|
2832
2832
|
: undefined,
|
|
2833
|
-
numNodes: smithy_client_1.
|
|
2833
|
+
numNodes: smithy_client_1.expectInt32(output.numNodes),
|
|
2834
2834
|
};
|
|
2835
2835
|
};
|
|
2836
2836
|
const deserializeAws_restJson1NodePropertiesSummary = (output, context) => {
|
|
2837
2837
|
return {
|
|
2838
2838
|
isMainNode: smithy_client_1.expectBoolean(output.isMainNode),
|
|
2839
|
-
nodeIndex: smithy_client_1.
|
|
2840
|
-
numNodes: smithy_client_1.
|
|
2839
|
+
nodeIndex: smithy_client_1.expectInt32(output.nodeIndex),
|
|
2840
|
+
numNodes: smithy_client_1.expectInt32(output.numNodes),
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
2843
|
const deserializeAws_restJson1NodeRangeProperties = (output, context) => {
|
|
@@ -2897,7 +2897,7 @@ const deserializeAws_restJson1ResourceRequirements = (output, context) => {
|
|
|
2897
2897
|
};
|
|
2898
2898
|
const deserializeAws_restJson1RetryStrategy = (output, context) => {
|
|
2899
2899
|
return {
|
|
2900
|
-
attempts: smithy_client_1.
|
|
2900
|
+
attempts: smithy_client_1.expectInt32(output.attempts),
|
|
2901
2901
|
evaluateOnExit: output.evaluateOnExit !== undefined && output.evaluateOnExit !== null
|
|
2902
2902
|
? deserializeAws_restJson1EvaluateOnExitList(output.evaluateOnExit, context)
|
|
2903
2903
|
: undefined,
|
|
@@ -2957,7 +2957,7 @@ const deserializeAws_restJson1Tmpfs = (output, context) => {
|
|
|
2957
2957
|
mountOptions: output.mountOptions !== undefined && output.mountOptions !== null
|
|
2958
2958
|
? deserializeAws_restJson1StringList(output.mountOptions, context)
|
|
2959
2959
|
: undefined,
|
|
2960
|
-
size: smithy_client_1.
|
|
2960
|
+
size: smithy_client_1.expectInt32(output.size),
|
|
2961
2961
|
};
|
|
2962
2962
|
};
|
|
2963
2963
|
const deserializeAws_restJson1TmpfsList = (output, context) => {
|
|
@@ -2972,9 +2972,9 @@ const deserializeAws_restJson1TmpfsList = (output, context) => {
|
|
|
2972
2972
|
};
|
|
2973
2973
|
const deserializeAws_restJson1Ulimit = (output, context) => {
|
|
2974
2974
|
return {
|
|
2975
|
-
hardLimit: smithy_client_1.
|
|
2975
|
+
hardLimit: smithy_client_1.expectInt32(output.hardLimit),
|
|
2976
2976
|
name: smithy_client_1.expectString(output.name),
|
|
2977
|
-
softLimit: smithy_client_1.
|
|
2977
|
+
softLimit: smithy_client_1.expectInt32(output.softLimit),
|
|
2978
2978
|
};
|
|
2979
2979
|
};
|
|
2980
2980
|
const deserializeAws_restJson1Ulimits = (output, context) => {
|