@aws-sdk/client-batch 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/BatchClient.js +13 -13
- package/dist/cjs/BatchClient.js.map +1 -1
- package/dist/cjs/commands/CancelJobCommand.js +3 -3
- package/dist/cjs/commands/CancelJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateComputeEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/CreateComputeEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateJobQueueCommand.js +3 -3
- package/dist/cjs/commands/CreateJobQueueCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteComputeEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/DeleteComputeEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteJobQueueCommand.js +3 -3
- package/dist/cjs/commands/DeleteJobQueueCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterJobDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DeregisterJobDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeComputeEnvironmentsCommand.js +3 -3
- package/dist/cjs/commands/DescribeComputeEnvironmentsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeJobDefinitionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeJobDefinitionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeJobQueuesCommand.js +3 -3
- package/dist/cjs/commands/DescribeJobQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeJobsCommand.js +3 -3
- package/dist/cjs/commands/DescribeJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListJobsCommand.js +3 -3
- package/dist/cjs/commands/ListJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterJobDefinitionCommand.js +3 -3
- package/dist/cjs/commands/RegisterJobDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/SubmitJobCommand.js +3 -3
- package/dist/cjs/commands/SubmitJobCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TerminateJobCommand.js +3 -3
- package/dist/cjs/commands/TerminateJobCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateComputeEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/UpdateComputeEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateJobQueueCommand.js +3 -3
- package/dist/cjs/commands/UpdateJobQueueCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_restJson1.js +188 -188
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Batch.js +1 -14
- package/dist/es/Batch.js.map +1 -1
- package/dist/es/BatchClient.js +1 -19
- package/dist/es/BatchClient.js.map +1 -1
- package/dist/es/commands/CancelJobCommand.js +2 -30
- package/dist/es/commands/CancelJobCommand.js.map +1 -1
- package/dist/es/commands/CreateComputeEnvironmentCommand.js +2 -66
- package/dist/es/commands/CreateComputeEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/CreateJobQueueCommand.js +2 -32
- package/dist/es/commands/CreateJobQueueCommand.js.map +1 -1
- package/dist/es/commands/DeleteComputeEnvironmentCommand.js +2 -30
- package/dist/es/commands/DeleteComputeEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/DeleteJobQueueCommand.js +2 -30
- package/dist/es/commands/DeleteJobQueueCommand.js.map +1 -1
- package/dist/es/commands/DeregisterJobDefinitionCommand.js +2 -27
- package/dist/es/commands/DeregisterJobDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DescribeComputeEnvironmentsCommand.js +2 -30
- package/dist/es/commands/DescribeComputeEnvironmentsCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobDefinitionsCommand.js +2 -28
- package/dist/es/commands/DescribeJobDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobQueuesCommand.js +2 -27
- package/dist/es/commands/DescribeJobQueuesCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobsCommand.js +2 -27
- package/dist/es/commands/DescribeJobsCommand.js.map +1 -1
- package/dist/es/commands/ListJobsCommand.js +2 -41
- package/dist/es/commands/ListJobsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -28
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/RegisterJobDefinitionCommand.js +2 -27
- package/dist/es/commands/RegisterJobDefinitionCommand.js.map +1 -1
- package/dist/es/commands/SubmitJobCommand.js +2 -36
- package/dist/es/commands/SubmitJobCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -30
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/TerminateJobCommand.js +2 -29
- package/dist/es/commands/TerminateJobCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateComputeEnvironmentCommand.js +2 -27
- package/dist/es/commands/UpdateComputeEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/UpdateJobQueueCommand.js +2 -27
- package/dist/es/commands/UpdateJobQueueCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -258
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeComputeEnvironmentsPaginator.js +16 -28
- package/dist/es/pagination/DescribeComputeEnvironmentsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeJobDefinitionsPaginator.js +16 -28
- package/dist/es/pagination/DescribeJobDefinitionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeJobQueuesPaginator.js +16 -28
- package/dist/es/pagination/DescribeJobQueuesPaginator.js.map +1 -1
- package/dist/es/pagination/ListJobsPaginator.js +16 -28
- package/dist/es/pagination/ListJobsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +306 -311
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -288,7 +288,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
288
288
|
if (labelValue.length <= 0) {
|
|
289
289
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
290
290
|
}
|
|
291
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
291
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
292
292
|
}
|
|
293
293
|
else {
|
|
294
294
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -410,7 +410,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
410
410
|
if (labelValue.length <= 0) {
|
|
411
411
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
412
412
|
}
|
|
413
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
413
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
414
414
|
}
|
|
415
415
|
else {
|
|
416
416
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -462,7 +462,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
462
462
|
if (labelValue.length <= 0) {
|
|
463
463
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
464
464
|
}
|
|
465
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
465
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
466
466
|
}
|
|
467
467
|
else {
|
|
468
468
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -599,12 +599,12 @@ const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (output, c
|
|
|
599
599
|
computeEnvironmentArn: undefined,
|
|
600
600
|
computeEnvironmentName: undefined,
|
|
601
601
|
};
|
|
602
|
-
const data =
|
|
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
|
-
contents.computeEnvironmentArn =
|
|
604
|
+
contents.computeEnvironmentArn = smithy_client_1.expectString(data.computeEnvironmentArn);
|
|
605
605
|
}
|
|
606
606
|
if (data.computeEnvironmentName !== undefined && data.computeEnvironmentName !== null) {
|
|
607
|
-
contents.computeEnvironmentName =
|
|
607
|
+
contents.computeEnvironmentName = smithy_client_1.expectString(data.computeEnvironmentName);
|
|
608
608
|
}
|
|
609
609
|
return Promise.resolve(contents);
|
|
610
610
|
};
|
|
@@ -659,12 +659,12 @@ const deserializeAws_restJson1CreateJobQueueCommand = async (output, context) =>
|
|
|
659
659
|
jobQueueArn: undefined,
|
|
660
660
|
jobQueueName: undefined,
|
|
661
661
|
};
|
|
662
|
-
const data =
|
|
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
|
-
contents.jobQueueArn =
|
|
664
|
+
contents.jobQueueArn = smithy_client_1.expectString(data.jobQueueArn);
|
|
665
665
|
}
|
|
666
666
|
if (data.jobQueueName !== undefined && data.jobQueueName !== null) {
|
|
667
|
-
contents.jobQueueName =
|
|
667
|
+
contents.jobQueueName = smithy_client_1.expectString(data.jobQueueName);
|
|
668
668
|
}
|
|
669
669
|
return Promise.resolve(contents);
|
|
670
670
|
};
|
|
@@ -875,12 +875,12 @@ const deserializeAws_restJson1DescribeComputeEnvironmentsCommand = async (output
|
|
|
875
875
|
computeEnvironments: undefined,
|
|
876
876
|
nextToken: undefined,
|
|
877
877
|
};
|
|
878
|
-
const data =
|
|
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
|
}
|
|
882
882
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
883
|
-
contents.nextToken =
|
|
883
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
884
884
|
}
|
|
885
885
|
return Promise.resolve(contents);
|
|
886
886
|
};
|
|
@@ -935,12 +935,12 @@ const deserializeAws_restJson1DescribeJobDefinitionsCommand = async (output, con
|
|
|
935
935
|
jobDefinitions: undefined,
|
|
936
936
|
nextToken: undefined,
|
|
937
937
|
};
|
|
938
|
-
const data =
|
|
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
|
}
|
|
942
942
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
943
|
-
contents.nextToken =
|
|
943
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
944
944
|
}
|
|
945
945
|
return Promise.resolve(contents);
|
|
946
946
|
};
|
|
@@ -995,12 +995,12 @@ const deserializeAws_restJson1DescribeJobQueuesCommand = async (output, context)
|
|
|
995
995
|
jobQueues: undefined,
|
|
996
996
|
nextToken: undefined,
|
|
997
997
|
};
|
|
998
|
-
const data =
|
|
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
|
}
|
|
1002
1002
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1003
|
-
contents.nextToken =
|
|
1003
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1004
1004
|
}
|
|
1005
1005
|
return Promise.resolve(contents);
|
|
1006
1006
|
};
|
|
@@ -1054,7 +1054,7 @@ const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
|
|
|
1054
1054
|
$metadata: deserializeMetadata(output),
|
|
1055
1055
|
jobs: undefined,
|
|
1056
1056
|
};
|
|
1057
|
-
const data =
|
|
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,12 +1111,12 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
|
1111
1111
|
jobSummaryList: undefined,
|
|
1112
1112
|
nextToken: undefined,
|
|
1113
1113
|
};
|
|
1114
|
-
const data =
|
|
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
|
}
|
|
1118
1118
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1119
|
-
contents.nextToken =
|
|
1119
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1120
1120
|
}
|
|
1121
1121
|
return Promise.resolve(contents);
|
|
1122
1122
|
};
|
|
@@ -1170,7 +1170,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1170
1170
|
$metadata: deserializeMetadata(output),
|
|
1171
1171
|
tags: undefined,
|
|
1172
1172
|
};
|
|
1173
|
-
const data =
|
|
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,15 +1228,15 @@ const deserializeAws_restJson1RegisterJobDefinitionCommand = async (output, cont
|
|
|
1228
1228
|
jobDefinitionName: undefined,
|
|
1229
1229
|
revision: undefined,
|
|
1230
1230
|
};
|
|
1231
|
-
const data =
|
|
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
|
-
contents.jobDefinitionArn =
|
|
1233
|
+
contents.jobDefinitionArn = smithy_client_1.expectString(data.jobDefinitionArn);
|
|
1234
1234
|
}
|
|
1235
1235
|
if (data.jobDefinitionName !== undefined && data.jobDefinitionName !== null) {
|
|
1236
|
-
contents.jobDefinitionName =
|
|
1236
|
+
contents.jobDefinitionName = smithy_client_1.expectString(data.jobDefinitionName);
|
|
1237
1237
|
}
|
|
1238
1238
|
if (data.revision !== undefined && data.revision !== null) {
|
|
1239
|
-
contents.revision =
|
|
1239
|
+
contents.revision = smithy_client_1.expectInt32(data.revision);
|
|
1240
1240
|
}
|
|
1241
1241
|
return Promise.resolve(contents);
|
|
1242
1242
|
};
|
|
@@ -1292,15 +1292,15 @@ const deserializeAws_restJson1SubmitJobCommand = async (output, context) => {
|
|
|
1292
1292
|
jobId: undefined,
|
|
1293
1293
|
jobName: undefined,
|
|
1294
1294
|
};
|
|
1295
|
-
const data =
|
|
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
|
-
contents.jobArn =
|
|
1297
|
+
contents.jobArn = smithy_client_1.expectString(data.jobArn);
|
|
1298
1298
|
}
|
|
1299
1299
|
if (data.jobId !== undefined && data.jobId !== null) {
|
|
1300
|
-
contents.jobId =
|
|
1300
|
+
contents.jobId = smithy_client_1.expectString(data.jobId);
|
|
1301
1301
|
}
|
|
1302
1302
|
if (data.jobName !== undefined && data.jobName !== null) {
|
|
1303
|
-
contents.jobName =
|
|
1303
|
+
contents.jobName = smithy_client_1.expectString(data.jobName);
|
|
1304
1304
|
}
|
|
1305
1305
|
return Promise.resolve(contents);
|
|
1306
1306
|
};
|
|
@@ -1511,12 +1511,12 @@ const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (output, c
|
|
|
1511
1511
|
computeEnvironmentArn: undefined,
|
|
1512
1512
|
computeEnvironmentName: undefined,
|
|
1513
1513
|
};
|
|
1514
|
-
const data =
|
|
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
|
-
contents.computeEnvironmentArn =
|
|
1516
|
+
contents.computeEnvironmentArn = smithy_client_1.expectString(data.computeEnvironmentArn);
|
|
1517
1517
|
}
|
|
1518
1518
|
if (data.computeEnvironmentName !== undefined && data.computeEnvironmentName !== null) {
|
|
1519
|
-
contents.computeEnvironmentName =
|
|
1519
|
+
contents.computeEnvironmentName = smithy_client_1.expectString(data.computeEnvironmentName);
|
|
1520
1520
|
}
|
|
1521
1521
|
return Promise.resolve(contents);
|
|
1522
1522
|
};
|
|
@@ -1571,12 +1571,12 @@ const deserializeAws_restJson1UpdateJobQueueCommand = async (output, context) =>
|
|
|
1571
1571
|
jobQueueArn: undefined,
|
|
1572
1572
|
jobQueueName: undefined,
|
|
1573
1573
|
};
|
|
1574
|
-
const data =
|
|
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
|
-
contents.jobQueueArn =
|
|
1576
|
+
contents.jobQueueArn = smithy_client_1.expectString(data.jobQueueArn);
|
|
1577
1577
|
}
|
|
1578
1578
|
if (data.jobQueueName !== undefined && data.jobQueueName !== null) {
|
|
1579
|
-
contents.jobQueueName =
|
|
1579
|
+
contents.jobQueueName = smithy_client_1.expectString(data.jobQueueName);
|
|
1580
1580
|
}
|
|
1581
1581
|
return Promise.resolve(contents);
|
|
1582
1582
|
};
|
|
@@ -1631,7 +1631,7 @@ const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, con
|
|
|
1631
1631
|
};
|
|
1632
1632
|
const data = parsedOutput.body;
|
|
1633
1633
|
if (data.message !== undefined && data.message !== null) {
|
|
1634
|
-
contents.message =
|
|
1634
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
1635
1635
|
}
|
|
1636
1636
|
return contents;
|
|
1637
1637
|
};
|
|
@@ -1644,7 +1644,7 @@ const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, con
|
|
|
1644
1644
|
};
|
|
1645
1645
|
const data = parsedOutput.body;
|
|
1646
1646
|
if (data.message !== undefined && data.message !== null) {
|
|
1647
|
-
contents.message =
|
|
1647
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
1648
1648
|
}
|
|
1649
1649
|
return contents;
|
|
1650
1650
|
};
|
|
@@ -2218,14 +2218,14 @@ const deserializeAws_restJson1ArrayJobStatusSummary = (output, context) => {
|
|
|
2218
2218
|
}
|
|
2219
2219
|
return {
|
|
2220
2220
|
...acc,
|
|
2221
|
-
[key]:
|
|
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:
|
|
2228
|
-
size:
|
|
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,20 +2233,20 @@ const deserializeAws_restJson1ArrayPropertiesDetail = (output, context) => {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
const deserializeAws_restJson1ArrayPropertiesSummary = (output, context) => {
|
|
2235
2235
|
return {
|
|
2236
|
-
index:
|
|
2237
|
-
size:
|
|
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
|
-
containerInstanceArn:
|
|
2243
|
-
exitCode:
|
|
2244
|
-
logStreamName:
|
|
2242
|
+
containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
|
|
2243
|
+
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2244
|
+
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
2245
2245
|
networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
2246
2246
|
? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
|
|
2247
2247
|
: undefined,
|
|
2248
|
-
reason:
|
|
2249
|
-
taskArn:
|
|
2248
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
2249
|
+
taskArn: smithy_client_1.expectString(output.taskArn),
|
|
2250
2250
|
};
|
|
2251
2251
|
};
|
|
2252
2252
|
const deserializeAws_restJson1AttemptDetail = (output, 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:
|
|
2258
|
-
statusReason:
|
|
2259
|
-
stoppedAt:
|
|
2257
|
+
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2258
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2259
|
+
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2260
2260
|
};
|
|
2261
2261
|
};
|
|
2262
2262
|
const deserializeAws_restJson1AttemptDetails = (output, context) => {
|
|
@@ -2271,20 +2271,20 @@ const deserializeAws_restJson1AttemptDetails = (output, context) => {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
const deserializeAws_restJson1ComputeEnvironmentDetail = (output, context) => {
|
|
2273
2273
|
return {
|
|
2274
|
-
computeEnvironmentArn:
|
|
2275
|
-
computeEnvironmentName:
|
|
2274
|
+
computeEnvironmentArn: smithy_client_1.expectString(output.computeEnvironmentArn),
|
|
2275
|
+
computeEnvironmentName: smithy_client_1.expectString(output.computeEnvironmentName),
|
|
2276
2276
|
computeResources: output.computeResources !== undefined && output.computeResources !== null
|
|
2277
2277
|
? deserializeAws_restJson1ComputeResource(output.computeResources, context)
|
|
2278
2278
|
: undefined,
|
|
2279
|
-
ecsClusterArn:
|
|
2280
|
-
serviceRole:
|
|
2281
|
-
state:
|
|
2282
|
-
status:
|
|
2283
|
-
statusReason:
|
|
2279
|
+
ecsClusterArn: smithy_client_1.expectString(output.ecsClusterArn),
|
|
2280
|
+
serviceRole: smithy_client_1.expectString(output.serviceRole),
|
|
2281
|
+
state: smithy_client_1.expectString(output.state),
|
|
2282
|
+
status: smithy_client_1.expectString(output.status),
|
|
2283
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2284
2284
|
tags: output.tags !== undefined && output.tags !== null
|
|
2285
2285
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2286
2286
|
: undefined,
|
|
2287
|
-
type:
|
|
2287
|
+
type: smithy_client_1.expectString(output.type),
|
|
2288
2288
|
};
|
|
2289
2289
|
};
|
|
2290
2290
|
const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) => {
|
|
@@ -2299,8 +2299,8 @@ const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) =
|
|
|
2299
2299
|
};
|
|
2300
2300
|
const deserializeAws_restJson1ComputeEnvironmentOrder = (output, context) => {
|
|
2301
2301
|
return {
|
|
2302
|
-
computeEnvironment:
|
|
2303
|
-
order:
|
|
2302
|
+
computeEnvironment: smithy_client_1.expectString(output.computeEnvironment),
|
|
2303
|
+
order: smithy_client_1.expectInt32(output.order),
|
|
2304
2304
|
};
|
|
2305
2305
|
};
|
|
2306
2306
|
const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
|
|
@@ -2315,35 +2315,35 @@ const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
|
|
|
2315
2315
|
};
|
|
2316
2316
|
const deserializeAws_restJson1ComputeResource = (output, context) => {
|
|
2317
2317
|
return {
|
|
2318
|
-
allocationStrategy:
|
|
2319
|
-
bidPercentage:
|
|
2320
|
-
desiredvCpus:
|
|
2318
|
+
allocationStrategy: smithy_client_1.expectString(output.allocationStrategy),
|
|
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,
|
|
2324
|
-
ec2KeyPair:
|
|
2325
|
-
imageId:
|
|
2326
|
-
instanceRole:
|
|
2324
|
+
ec2KeyPair: smithy_client_1.expectString(output.ec2KeyPair),
|
|
2325
|
+
imageId: smithy_client_1.expectString(output.imageId),
|
|
2326
|
+
instanceRole: smithy_client_1.expectString(output.instanceRole),
|
|
2327
2327
|
instanceTypes: output.instanceTypes !== undefined && output.instanceTypes !== null
|
|
2328
2328
|
? deserializeAws_restJson1StringList(output.instanceTypes, context)
|
|
2329
2329
|
: undefined,
|
|
2330
2330
|
launchTemplate: output.launchTemplate !== undefined && output.launchTemplate !== null
|
|
2331
2331
|
? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
|
|
2332
2332
|
: undefined,
|
|
2333
|
-
maxvCpus:
|
|
2334
|
-
minvCpus:
|
|
2335
|
-
placementGroup:
|
|
2333
|
+
maxvCpus: smithy_client_1.expectInt32(output.maxvCpus),
|
|
2334
|
+
minvCpus: smithy_client_1.expectInt32(output.minvCpus),
|
|
2335
|
+
placementGroup: smithy_client_1.expectString(output.placementGroup),
|
|
2336
2336
|
securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
2337
2337
|
? deserializeAws_restJson1StringList(output.securityGroupIds, context)
|
|
2338
2338
|
: undefined,
|
|
2339
|
-
spotIamFleetRole:
|
|
2339
|
+
spotIamFleetRole: smithy_client_1.expectString(output.spotIamFleetRole),
|
|
2340
2340
|
subnets: output.subnets !== undefined && output.subnets !== null
|
|
2341
2341
|
? deserializeAws_restJson1StringList(output.subnets, context)
|
|
2342
2342
|
: undefined,
|
|
2343
2343
|
tags: output.tags !== undefined && output.tags !== null
|
|
2344
2344
|
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
2345
2345
|
: undefined,
|
|
2346
|
-
type:
|
|
2346
|
+
type: smithy_client_1.expectString(output.type),
|
|
2347
2347
|
};
|
|
2348
2348
|
};
|
|
2349
2349
|
const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
@@ -2351,26 +2351,26 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2351
2351
|
command: output.command !== undefined && output.command !== null
|
|
2352
2352
|
? deserializeAws_restJson1StringList(output.command, context)
|
|
2353
2353
|
: undefined,
|
|
2354
|
-
containerInstanceArn:
|
|
2354
|
+
containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
|
|
2355
2355
|
environment: output.environment !== undefined && output.environment !== null
|
|
2356
2356
|
? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
|
|
2357
2357
|
: undefined,
|
|
2358
|
-
executionRoleArn:
|
|
2359
|
-
exitCode:
|
|
2358
|
+
executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
|
|
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,
|
|
2363
|
-
image:
|
|
2364
|
-
instanceType:
|
|
2365
|
-
jobRoleArn:
|
|
2363
|
+
image: smithy_client_1.expectString(output.image),
|
|
2364
|
+
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2365
|
+
jobRoleArn: smithy_client_1.expectString(output.jobRoleArn),
|
|
2366
2366
|
linuxParameters: output.linuxParameters !== undefined && output.linuxParameters !== null
|
|
2367
2367
|
? deserializeAws_restJson1LinuxParameters(output.linuxParameters, context)
|
|
2368
2368
|
: undefined,
|
|
2369
2369
|
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2370
2370
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2371
2371
|
: undefined,
|
|
2372
|
-
logStreamName:
|
|
2373
|
-
memory:
|
|
2372
|
+
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
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,
|
|
@@ -2380,21 +2380,21 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2380
2380
|
networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
2381
2381
|
? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
|
|
2382
2382
|
: undefined,
|
|
2383
|
-
privileged:
|
|
2384
|
-
readonlyRootFilesystem:
|
|
2385
|
-
reason:
|
|
2383
|
+
privileged: smithy_client_1.expectBoolean(output.privileged),
|
|
2384
|
+
readonlyRootFilesystem: smithy_client_1.expectBoolean(output.readonlyRootFilesystem),
|
|
2385
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
2386
2386
|
resourceRequirements: output.resourceRequirements !== undefined && output.resourceRequirements !== null
|
|
2387
2387
|
? deserializeAws_restJson1ResourceRequirements(output.resourceRequirements, context)
|
|
2388
2388
|
: undefined,
|
|
2389
2389
|
secrets: output.secrets !== undefined && output.secrets !== null
|
|
2390
2390
|
? deserializeAws_restJson1SecretList(output.secrets, context)
|
|
2391
2391
|
: undefined,
|
|
2392
|
-
taskArn:
|
|
2392
|
+
taskArn: smithy_client_1.expectString(output.taskArn),
|
|
2393
2393
|
ulimits: output.ulimits !== undefined && output.ulimits !== null
|
|
2394
2394
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2395
2395
|
: undefined,
|
|
2396
|
-
user:
|
|
2397
|
-
vcpus:
|
|
2396
|
+
user: smithy_client_1.expectString(output.user),
|
|
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,
|
|
@@ -2408,28 +2408,28 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2408
2408
|
environment: output.environment !== undefined && output.environment !== null
|
|
2409
2409
|
? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
|
|
2410
2410
|
: undefined,
|
|
2411
|
-
executionRoleArn:
|
|
2411
|
+
executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
|
|
2412
2412
|
fargatePlatformConfiguration: output.fargatePlatformConfiguration !== undefined && output.fargatePlatformConfiguration !== null
|
|
2413
2413
|
? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
|
|
2414
2414
|
: undefined,
|
|
2415
|
-
image:
|
|
2416
|
-
instanceType:
|
|
2417
|
-
jobRoleArn:
|
|
2415
|
+
image: smithy_client_1.expectString(output.image),
|
|
2416
|
+
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2417
|
+
jobRoleArn: smithy_client_1.expectString(output.jobRoleArn),
|
|
2418
2418
|
linuxParameters: output.linuxParameters !== undefined && output.linuxParameters !== null
|
|
2419
2419
|
? deserializeAws_restJson1LinuxParameters(output.linuxParameters, context)
|
|
2420
2420
|
: undefined,
|
|
2421
2421
|
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2422
2422
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2423
2423
|
: undefined,
|
|
2424
|
-
memory:
|
|
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,
|
|
2428
2428
|
networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
|
|
2429
2429
|
? deserializeAws_restJson1NetworkConfiguration(output.networkConfiguration, context)
|
|
2430
2430
|
: undefined,
|
|
2431
|
-
privileged:
|
|
2432
|
-
readonlyRootFilesystem:
|
|
2431
|
+
privileged: smithy_client_1.expectBoolean(output.privileged),
|
|
2432
|
+
readonlyRootFilesystem: smithy_client_1.expectBoolean(output.readonlyRootFilesystem),
|
|
2433
2433
|
resourceRequirements: output.resourceRequirements !== undefined && output.resourceRequirements !== null
|
|
2434
2434
|
? deserializeAws_restJson1ResourceRequirements(output.resourceRequirements, context)
|
|
2435
2435
|
: undefined,
|
|
@@ -2439,8 +2439,8 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2439
2439
|
ulimits: output.ulimits !== undefined && output.ulimits !== null
|
|
2440
2440
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2441
2441
|
: undefined,
|
|
2442
|
-
user:
|
|
2443
|
-
vcpus:
|
|
2442
|
+
user: smithy_client_1.expectString(output.user),
|
|
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,14 +2448,14 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2448
2448
|
};
|
|
2449
2449
|
const deserializeAws_restJson1ContainerSummary = (output, context) => {
|
|
2450
2450
|
return {
|
|
2451
|
-
exitCode:
|
|
2452
|
-
reason:
|
|
2451
|
+
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2452
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
2453
2453
|
};
|
|
2454
2454
|
};
|
|
2455
2455
|
const deserializeAws_restJson1Device = (output, context) => {
|
|
2456
2456
|
return {
|
|
2457
|
-
containerPath:
|
|
2458
|
-
hostPath:
|
|
2457
|
+
containerPath: smithy_client_1.expectString(output.containerPath),
|
|
2458
|
+
hostPath: smithy_client_1.expectString(output.hostPath),
|
|
2459
2459
|
permissions: output.permissions !== undefined && output.permissions !== null
|
|
2460
2460
|
? deserializeAws_restJson1DeviceCgroupPermissions(output.permissions, context)
|
|
2461
2461
|
: undefined,
|
|
@@ -2468,7 +2468,7 @@ const deserializeAws_restJson1DeviceCgroupPermissions = (output, context) => {
|
|
|
2468
2468
|
if (entry === null) {
|
|
2469
2469
|
return null;
|
|
2470
2470
|
}
|
|
2471
|
-
return
|
|
2471
|
+
return smithy_client_1.expectString(entry);
|
|
2472
2472
|
});
|
|
2473
2473
|
};
|
|
2474
2474
|
const deserializeAws_restJson1DevicesList = (output, context) => {
|
|
@@ -2483,8 +2483,8 @@ const deserializeAws_restJson1DevicesList = (output, context) => {
|
|
|
2483
2483
|
};
|
|
2484
2484
|
const deserializeAws_restJson1Ec2Configuration = (output, context) => {
|
|
2485
2485
|
return {
|
|
2486
|
-
imageIdOverride:
|
|
2487
|
-
imageType:
|
|
2486
|
+
imageIdOverride: smithy_client_1.expectString(output.imageIdOverride),
|
|
2487
|
+
imageType: smithy_client_1.expectString(output.imageType),
|
|
2488
2488
|
};
|
|
2489
2489
|
};
|
|
2490
2490
|
const deserializeAws_restJson1Ec2ConfigurationList = (output, context) => {
|
|
@@ -2499,8 +2499,8 @@ const deserializeAws_restJson1Ec2ConfigurationList = (output, context) => {
|
|
|
2499
2499
|
};
|
|
2500
2500
|
const deserializeAws_restJson1EFSAuthorizationConfig = (output, context) => {
|
|
2501
2501
|
return {
|
|
2502
|
-
accessPointId:
|
|
2503
|
-
iam:
|
|
2502
|
+
accessPointId: smithy_client_1.expectString(output.accessPointId),
|
|
2503
|
+
iam: smithy_client_1.expectString(output.iam),
|
|
2504
2504
|
};
|
|
2505
2505
|
};
|
|
2506
2506
|
const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
|
|
@@ -2508,10 +2508,10 @@ const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
|
|
|
2508
2508
|
authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
|
|
2509
2509
|
? deserializeAws_restJson1EFSAuthorizationConfig(output.authorizationConfig, context)
|
|
2510
2510
|
: undefined,
|
|
2511
|
-
fileSystemId:
|
|
2512
|
-
rootDirectory:
|
|
2513
|
-
transitEncryption:
|
|
2514
|
-
transitEncryptionPort:
|
|
2511
|
+
fileSystemId: smithy_client_1.expectString(output.fileSystemId),
|
|
2512
|
+
rootDirectory: smithy_client_1.expectString(output.rootDirectory),
|
|
2513
|
+
transitEncryption: smithy_client_1.expectString(output.transitEncryption),
|
|
2514
|
+
transitEncryptionPort: smithy_client_1.expectInt32(output.transitEncryptionPort),
|
|
2515
2515
|
};
|
|
2516
2516
|
};
|
|
2517
2517
|
const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
@@ -2526,10 +2526,10 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
2526
2526
|
};
|
|
2527
2527
|
const deserializeAws_restJson1EvaluateOnExit = (output, context) => {
|
|
2528
2528
|
return {
|
|
2529
|
-
action:
|
|
2530
|
-
onExitCode:
|
|
2531
|
-
onReason:
|
|
2532
|
-
onStatusReason:
|
|
2529
|
+
action: smithy_client_1.expectString(output.action),
|
|
2530
|
+
onExitCode: smithy_client_1.expectString(output.onExitCode),
|
|
2531
|
+
onReason: smithy_client_1.expectString(output.onReason),
|
|
2532
|
+
onStatusReason: smithy_client_1.expectString(output.onStatusReason),
|
|
2533
2533
|
};
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_restJson1EvaluateOnExitList = (output, context) => {
|
|
@@ -2544,12 +2544,12 @@ const deserializeAws_restJson1EvaluateOnExitList = (output, context) => {
|
|
|
2544
2544
|
};
|
|
2545
2545
|
const deserializeAws_restJson1FargatePlatformConfiguration = (output, context) => {
|
|
2546
2546
|
return {
|
|
2547
|
-
platformVersion:
|
|
2547
|
+
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
2548
2548
|
};
|
|
2549
2549
|
};
|
|
2550
2550
|
const deserializeAws_restJson1Host = (output, context) => {
|
|
2551
2551
|
return {
|
|
2552
|
-
sourcePath:
|
|
2552
|
+
sourcePath: smithy_client_1.expectString(output.sourcePath),
|
|
2553
2553
|
};
|
|
2554
2554
|
};
|
|
2555
2555
|
const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
@@ -2557,8 +2557,8 @@ const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
|
2557
2557
|
containerProperties: output.containerProperties !== undefined && output.containerProperties !== null
|
|
2558
2558
|
? deserializeAws_restJson1ContainerProperties(output.containerProperties, context)
|
|
2559
2559
|
: undefined,
|
|
2560
|
-
jobDefinitionArn:
|
|
2561
|
-
jobDefinitionName:
|
|
2560
|
+
jobDefinitionArn: smithy_client_1.expectString(output.jobDefinitionArn),
|
|
2561
|
+
jobDefinitionName: smithy_client_1.expectString(output.jobDefinitionName),
|
|
2562
2562
|
nodeProperties: output.nodeProperties !== undefined && output.nodeProperties !== null
|
|
2563
2563
|
? deserializeAws_restJson1NodeProperties(output.nodeProperties, context)
|
|
2564
2564
|
: undefined,
|
|
@@ -2568,19 +2568,19 @@ const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
|
2568
2568
|
platformCapabilities: output.platformCapabilities !== undefined && output.platformCapabilities !== null
|
|
2569
2569
|
? deserializeAws_restJson1PlatformCapabilityList(output.platformCapabilities, context)
|
|
2570
2570
|
: undefined,
|
|
2571
|
-
propagateTags:
|
|
2571
|
+
propagateTags: smithy_client_1.expectBoolean(output.propagateTags),
|
|
2572
2572
|
retryStrategy: output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
2573
2573
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
2574
2574
|
: undefined,
|
|
2575
|
-
revision:
|
|
2576
|
-
status:
|
|
2575
|
+
revision: smithy_client_1.expectInt32(output.revision),
|
|
2576
|
+
status: smithy_client_1.expectString(output.status),
|
|
2577
2577
|
tags: output.tags !== undefined && output.tags !== null
|
|
2578
2578
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2579
2579
|
: undefined,
|
|
2580
2580
|
timeout: output.timeout !== undefined && output.timeout !== null
|
|
2581
2581
|
? deserializeAws_restJson1JobTimeout(output.timeout, context)
|
|
2582
2582
|
: undefined,
|
|
2583
|
-
type:
|
|
2583
|
+
type: smithy_client_1.expectString(output.type),
|
|
2584
2584
|
};
|
|
2585
2585
|
};
|
|
2586
2586
|
const deserializeAws_restJson1JobDefinitionList = (output, context) => {
|
|
@@ -2595,8 +2595,8 @@ const deserializeAws_restJson1JobDefinitionList = (output, context) => {
|
|
|
2595
2595
|
};
|
|
2596
2596
|
const deserializeAws_restJson1JobDependency = (output, context) => {
|
|
2597
2597
|
return {
|
|
2598
|
-
jobId:
|
|
2599
|
-
type:
|
|
2598
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2599
|
+
type: smithy_client_1.expectString(output.type),
|
|
2600
2600
|
};
|
|
2601
2601
|
};
|
|
2602
2602
|
const deserializeAws_restJson1JobDependencyList = (output, context) => {
|
|
@@ -2620,15 +2620,15 @@ 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:
|
|
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,
|
|
2627
|
-
jobArn:
|
|
2628
|
-
jobDefinition:
|
|
2629
|
-
jobId:
|
|
2630
|
-
jobName:
|
|
2631
|
-
jobQueue:
|
|
2627
|
+
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
2628
|
+
jobDefinition: smithy_client_1.expectString(output.jobDefinition),
|
|
2629
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2630
|
+
jobName: smithy_client_1.expectString(output.jobName),
|
|
2631
|
+
jobQueue: smithy_client_1.expectString(output.jobQueue),
|
|
2632
2632
|
nodeDetails: output.nodeDetails !== undefined && output.nodeDetails !== null
|
|
2633
2633
|
? deserializeAws_restJson1NodeDetails(output.nodeDetails, context)
|
|
2634
2634
|
: undefined,
|
|
@@ -2641,14 +2641,14 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
|
|
|
2641
2641
|
platformCapabilities: output.platformCapabilities !== undefined && output.platformCapabilities !== null
|
|
2642
2642
|
? deserializeAws_restJson1PlatformCapabilityList(output.platformCapabilities, context)
|
|
2643
2643
|
: undefined,
|
|
2644
|
-
propagateTags:
|
|
2644
|
+
propagateTags: smithy_client_1.expectBoolean(output.propagateTags),
|
|
2645
2645
|
retryStrategy: output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
2646
2646
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
2647
2647
|
: undefined,
|
|
2648
|
-
startedAt:
|
|
2649
|
-
status:
|
|
2650
|
-
statusReason:
|
|
2651
|
-
stoppedAt:
|
|
2648
|
+
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2649
|
+
status: smithy_client_1.expectString(output.status),
|
|
2650
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
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,
|
|
@@ -2672,12 +2672,12 @@ const deserializeAws_restJson1JobQueueDetail = (output, context) => {
|
|
|
2672
2672
|
computeEnvironmentOrder: output.computeEnvironmentOrder !== undefined && output.computeEnvironmentOrder !== null
|
|
2673
2673
|
? deserializeAws_restJson1ComputeEnvironmentOrders(output.computeEnvironmentOrder, context)
|
|
2674
2674
|
: undefined,
|
|
2675
|
-
jobQueueArn:
|
|
2676
|
-
jobQueueName:
|
|
2677
|
-
priority:
|
|
2678
|
-
state:
|
|
2679
|
-
status:
|
|
2680
|
-
statusReason:
|
|
2675
|
+
jobQueueArn: smithy_client_1.expectString(output.jobQueueArn),
|
|
2676
|
+
jobQueueName: smithy_client_1.expectString(output.jobQueueName),
|
|
2677
|
+
priority: smithy_client_1.expectInt32(output.priority),
|
|
2678
|
+
state: smithy_client_1.expectString(output.state),
|
|
2679
|
+
status: smithy_client_1.expectString(output.status),
|
|
2680
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2681
2681
|
tags: output.tags !== undefined && output.tags !== null
|
|
2682
2682
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2683
2683
|
: undefined,
|
|
@@ -2701,18 +2701,18 @@ 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:
|
|
2705
|
-
jobArn:
|
|
2706
|
-
jobDefinition:
|
|
2707
|
-
jobId:
|
|
2708
|
-
jobName:
|
|
2704
|
+
createdAt: smithy_client_1.expectLong(output.createdAt),
|
|
2705
|
+
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
2706
|
+
jobDefinition: smithy_client_1.expectString(output.jobDefinition),
|
|
2707
|
+
jobId: smithy_client_1.expectString(output.jobId),
|
|
2708
|
+
jobName: smithy_client_1.expectString(output.jobName),
|
|
2709
2709
|
nodeProperties: output.nodeProperties !== undefined && output.nodeProperties !== null
|
|
2710
2710
|
? deserializeAws_restJson1NodePropertiesSummary(output.nodeProperties, context)
|
|
2711
2711
|
: undefined,
|
|
2712
|
-
startedAt:
|
|
2713
|
-
status:
|
|
2714
|
-
statusReason:
|
|
2715
|
-
stoppedAt:
|
|
2712
|
+
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2713
|
+
status: smithy_client_1.expectString(output.status),
|
|
2714
|
+
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2715
|
+
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2716
2716
|
};
|
|
2717
2717
|
};
|
|
2718
2718
|
const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
@@ -2727,20 +2727,20 @@ const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
|
2727
2727
|
};
|
|
2728
2728
|
const deserializeAws_restJson1JobTimeout = (output, context) => {
|
|
2729
2729
|
return {
|
|
2730
|
-
attemptDurationSeconds:
|
|
2730
|
+
attemptDurationSeconds: smithy_client_1.expectInt32(output.attemptDurationSeconds),
|
|
2731
2731
|
};
|
|
2732
2732
|
};
|
|
2733
2733
|
const deserializeAws_restJson1KeyValuePair = (output, context) => {
|
|
2734
2734
|
return {
|
|
2735
|
-
name:
|
|
2736
|
-
value:
|
|
2735
|
+
name: smithy_client_1.expectString(output.name),
|
|
2736
|
+
value: smithy_client_1.expectString(output.value),
|
|
2737
2737
|
};
|
|
2738
2738
|
};
|
|
2739
2739
|
const deserializeAws_restJson1LaunchTemplateSpecification = (output, context) => {
|
|
2740
2740
|
return {
|
|
2741
|
-
launchTemplateId:
|
|
2742
|
-
launchTemplateName:
|
|
2743
|
-
version:
|
|
2741
|
+
launchTemplateId: smithy_client_1.expectString(output.launchTemplateId),
|
|
2742
|
+
launchTemplateName: smithy_client_1.expectString(output.launchTemplateName),
|
|
2743
|
+
version: smithy_client_1.expectString(output.version),
|
|
2744
2744
|
};
|
|
2745
2745
|
};
|
|
2746
2746
|
const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
@@ -2748,10 +2748,10 @@ const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
|
2748
2748
|
devices: output.devices !== undefined && output.devices !== null
|
|
2749
2749
|
? deserializeAws_restJson1DevicesList(output.devices, context)
|
|
2750
2750
|
: undefined,
|
|
2751
|
-
initProcessEnabled:
|
|
2752
|
-
maxSwap:
|
|
2753
|
-
sharedMemorySize:
|
|
2754
|
-
swappiness:
|
|
2751
|
+
initProcessEnabled: smithy_client_1.expectBoolean(output.initProcessEnabled),
|
|
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,
|
|
@@ -2759,7 +2759,7 @@ const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
|
2759
2759
|
};
|
|
2760
2760
|
const deserializeAws_restJson1LogConfiguration = (output, context) => {
|
|
2761
2761
|
return {
|
|
2762
|
-
logDriver:
|
|
2762
|
+
logDriver: smithy_client_1.expectString(output.logDriver),
|
|
2763
2763
|
options: output.options !== undefined && output.options !== null
|
|
2764
2764
|
? deserializeAws_restJson1LogConfigurationOptionsMap(output.options, context)
|
|
2765
2765
|
: undefined,
|
|
@@ -2775,15 +2775,15 @@ const deserializeAws_restJson1LogConfigurationOptionsMap = (output, context) =>
|
|
|
2775
2775
|
}
|
|
2776
2776
|
return {
|
|
2777
2777
|
...acc,
|
|
2778
|
-
[key]:
|
|
2778
|
+
[key]: smithy_client_1.expectString(value),
|
|
2779
2779
|
};
|
|
2780
2780
|
}, {});
|
|
2781
2781
|
};
|
|
2782
2782
|
const deserializeAws_restJson1MountPoint = (output, context) => {
|
|
2783
2783
|
return {
|
|
2784
|
-
containerPath:
|
|
2785
|
-
readOnly:
|
|
2786
|
-
sourceVolume:
|
|
2784
|
+
containerPath: smithy_client_1.expectString(output.containerPath),
|
|
2785
|
+
readOnly: smithy_client_1.expectBoolean(output.readOnly),
|
|
2786
|
+
sourceVolume: smithy_client_1.expectString(output.sourceVolume),
|
|
2787
2787
|
};
|
|
2788
2788
|
};
|
|
2789
2789
|
const deserializeAws_restJson1MountPoints = (output, context) => {
|
|
@@ -2798,14 +2798,14 @@ const deserializeAws_restJson1MountPoints = (output, context) => {
|
|
|
2798
2798
|
};
|
|
2799
2799
|
const deserializeAws_restJson1NetworkConfiguration = (output, context) => {
|
|
2800
2800
|
return {
|
|
2801
|
-
assignPublicIp:
|
|
2801
|
+
assignPublicIp: smithy_client_1.expectString(output.assignPublicIp),
|
|
2802
2802
|
};
|
|
2803
2803
|
};
|
|
2804
2804
|
const deserializeAws_restJson1NetworkInterface = (output, context) => {
|
|
2805
2805
|
return {
|
|
2806
|
-
attachmentId:
|
|
2807
|
-
ipv6Address:
|
|
2808
|
-
privateIpv4Address:
|
|
2806
|
+
attachmentId: smithy_client_1.expectString(output.attachmentId),
|
|
2807
|
+
ipv6Address: smithy_client_1.expectString(output.ipv6Address),
|
|
2808
|
+
privateIpv4Address: smithy_client_1.expectString(output.privateIpv4Address),
|
|
2809
2809
|
};
|
|
2810
2810
|
};
|
|
2811
2811
|
const deserializeAws_restJson1NetworkInterfaceList = (output, context) => {
|
|
@@ -2820,24 +2820,24 @@ const deserializeAws_restJson1NetworkInterfaceList = (output, context) => {
|
|
|
2820
2820
|
};
|
|
2821
2821
|
const deserializeAws_restJson1NodeDetails = (output, context) => {
|
|
2822
2822
|
return {
|
|
2823
|
-
isMainNode:
|
|
2824
|
-
nodeIndex:
|
|
2823
|
+
isMainNode: smithy_client_1.expectBoolean(output.isMainNode),
|
|
2824
|
+
nodeIndex: smithy_client_1.expectInt32(output.nodeIndex),
|
|
2825
2825
|
};
|
|
2826
2826
|
};
|
|
2827
2827
|
const deserializeAws_restJson1NodeProperties = (output, context) => {
|
|
2828
2828
|
return {
|
|
2829
|
-
mainNode:
|
|
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:
|
|
2833
|
+
numNodes: smithy_client_1.expectInt32(output.numNodes),
|
|
2834
2834
|
};
|
|
2835
2835
|
};
|
|
2836
2836
|
const deserializeAws_restJson1NodePropertiesSummary = (output, context) => {
|
|
2837
2837
|
return {
|
|
2838
|
-
isMainNode:
|
|
2839
|
-
nodeIndex:
|
|
2840
|
-
numNodes:
|
|
2838
|
+
isMainNode: smithy_client_1.expectBoolean(output.isMainNode),
|
|
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) => {
|
|
@@ -2855,7 +2855,7 @@ const deserializeAws_restJson1NodeRangeProperty = (output, context) => {
|
|
|
2855
2855
|
container: output.container !== undefined && output.container !== null
|
|
2856
2856
|
? deserializeAws_restJson1ContainerProperties(output.container, context)
|
|
2857
2857
|
: undefined,
|
|
2858
|
-
targetNodes:
|
|
2858
|
+
targetNodes: smithy_client_1.expectString(output.targetNodes),
|
|
2859
2859
|
};
|
|
2860
2860
|
};
|
|
2861
2861
|
const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
@@ -2865,7 +2865,7 @@ const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
return {
|
|
2867
2867
|
...acc,
|
|
2868
|
-
[key]:
|
|
2868
|
+
[key]: smithy_client_1.expectString(value),
|
|
2869
2869
|
};
|
|
2870
2870
|
}, {});
|
|
2871
2871
|
};
|
|
@@ -2876,13 +2876,13 @@ const deserializeAws_restJson1PlatformCapabilityList = (output, context) => {
|
|
|
2876
2876
|
if (entry === null) {
|
|
2877
2877
|
return null;
|
|
2878
2878
|
}
|
|
2879
|
-
return
|
|
2879
|
+
return smithy_client_1.expectString(entry);
|
|
2880
2880
|
});
|
|
2881
2881
|
};
|
|
2882
2882
|
const deserializeAws_restJson1ResourceRequirement = (output, context) => {
|
|
2883
2883
|
return {
|
|
2884
|
-
type:
|
|
2885
|
-
value:
|
|
2884
|
+
type: smithy_client_1.expectString(output.type),
|
|
2885
|
+
value: smithy_client_1.expectString(output.value),
|
|
2886
2886
|
};
|
|
2887
2887
|
};
|
|
2888
2888
|
const deserializeAws_restJson1ResourceRequirements = (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:
|
|
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,
|
|
@@ -2905,8 +2905,8 @@ const deserializeAws_restJson1RetryStrategy = (output, context) => {
|
|
|
2905
2905
|
};
|
|
2906
2906
|
const deserializeAws_restJson1Secret = (output, context) => {
|
|
2907
2907
|
return {
|
|
2908
|
-
name:
|
|
2909
|
-
valueFrom:
|
|
2908
|
+
name: smithy_client_1.expectString(output.name),
|
|
2909
|
+
valueFrom: smithy_client_1.expectString(output.valueFrom),
|
|
2910
2910
|
};
|
|
2911
2911
|
};
|
|
2912
2912
|
const deserializeAws_restJson1SecretList = (output, context) => {
|
|
@@ -2926,7 +2926,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
2926
2926
|
if (entry === null) {
|
|
2927
2927
|
return null;
|
|
2928
2928
|
}
|
|
2929
|
-
return
|
|
2929
|
+
return smithy_client_1.expectString(entry);
|
|
2930
2930
|
});
|
|
2931
2931
|
};
|
|
2932
2932
|
const deserializeAws_restJson1TagrisTagsMap = (output, context) => {
|
|
@@ -2936,7 +2936,7 @@ const deserializeAws_restJson1TagrisTagsMap = (output, context) => {
|
|
|
2936
2936
|
}
|
|
2937
2937
|
return {
|
|
2938
2938
|
...acc,
|
|
2939
|
-
[key]:
|
|
2939
|
+
[key]: smithy_client_1.expectString(value),
|
|
2940
2940
|
};
|
|
2941
2941
|
}, {});
|
|
2942
2942
|
};
|
|
@@ -2947,17 +2947,17 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
return {
|
|
2949
2949
|
...acc,
|
|
2950
|
-
[key]:
|
|
2950
|
+
[key]: smithy_client_1.expectString(value),
|
|
2951
2951
|
};
|
|
2952
2952
|
}, {});
|
|
2953
2953
|
};
|
|
2954
2954
|
const deserializeAws_restJson1Tmpfs = (output, context) => {
|
|
2955
2955
|
return {
|
|
2956
|
-
containerPath:
|
|
2956
|
+
containerPath: smithy_client_1.expectString(output.containerPath),
|
|
2957
2957
|
mountOptions: output.mountOptions !== undefined && output.mountOptions !== null
|
|
2958
2958
|
? deserializeAws_restJson1StringList(output.mountOptions, context)
|
|
2959
2959
|
: undefined,
|
|
2960
|
-
size:
|
|
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:
|
|
2976
|
-
name:
|
|
2977
|
-
softLimit:
|
|
2975
|
+
hardLimit: smithy_client_1.expectInt32(output.hardLimit),
|
|
2976
|
+
name: smithy_client_1.expectString(output.name),
|
|
2977
|
+
softLimit: smithy_client_1.expectInt32(output.softLimit),
|
|
2978
2978
|
};
|
|
2979
2979
|
};
|
|
2980
2980
|
const deserializeAws_restJson1Ulimits = (output, context) => {
|
|
@@ -2995,7 +2995,7 @@ const deserializeAws_restJson1Volume = (output, context) => {
|
|
|
2995
2995
|
host: output.host !== undefined && output.host !== null
|
|
2996
2996
|
? deserializeAws_restJson1Host(output.host, context)
|
|
2997
2997
|
: undefined,
|
|
2998
|
-
name:
|
|
2998
|
+
name: smithy_client_1.expectString(output.name),
|
|
2999
2999
|
};
|
|
3000
3000
|
};
|
|
3001
3001
|
const deserializeAws_restJson1Volumes = (output, context) => {
|