@aws-sdk/client-batch 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/BatchClient.js +13 -13
- package/dist-cjs/commands/CancelJobCommand.js +3 -3
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/CreateJobQueueCommand.js +3 -3
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobsCommand.js +3 -3
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/SubmitJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TerminateJobCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobQueueCommand.js +3 -3
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +233 -233
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Batch.js +24 -24
- package/dist-es/pagination/DescribeComputeEnvironmentsPaginator.js +4 -4
- package/dist-es/pagination/DescribeJobDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeJobQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +24 -24
- package/dist-types/BatchClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/BatchClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -386,7 +386,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
386
386
|
if (labelValue.length <= 0) {
|
|
387
387
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
388
388
|
}
|
|
389
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
389
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
392
392
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -514,7 +514,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
514
514
|
if (labelValue.length <= 0) {
|
|
515
515
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
516
516
|
}
|
|
517
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
517
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
518
518
|
}
|
|
519
519
|
else {
|
|
520
520
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -566,7 +566,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
566
566
|
if (labelValue.length <= 0) {
|
|
567
567
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
568
568
|
}
|
|
569
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
569
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
570
570
|
}
|
|
571
571
|
else {
|
|
572
572
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -704,7 +704,7 @@ const deserializeAws_restJson1CancelJobCommandError = async (output, context) =>
|
|
|
704
704
|
$fault: "client",
|
|
705
705
|
$metadata: deserializeMetadata(output),
|
|
706
706
|
});
|
|
707
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
707
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
708
708
|
}
|
|
709
709
|
};
|
|
710
710
|
const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (output, context) => {
|
|
@@ -716,12 +716,12 @@ const deserializeAws_restJson1CreateComputeEnvironmentCommand = async (output, c
|
|
|
716
716
|
computeEnvironmentArn: undefined,
|
|
717
717
|
computeEnvironmentName: undefined,
|
|
718
718
|
};
|
|
719
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
719
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
720
720
|
if (data.computeEnvironmentArn !== undefined && data.computeEnvironmentArn !== null) {
|
|
721
|
-
contents.computeEnvironmentArn = smithy_client_1.expectString(data.computeEnvironmentArn);
|
|
721
|
+
contents.computeEnvironmentArn = (0, smithy_client_1.expectString)(data.computeEnvironmentArn);
|
|
722
722
|
}
|
|
723
723
|
if (data.computeEnvironmentName !== undefined && data.computeEnvironmentName !== null) {
|
|
724
|
-
contents.computeEnvironmentName = smithy_client_1.expectString(data.computeEnvironmentName);
|
|
724
|
+
contents.computeEnvironmentName = (0, smithy_client_1.expectString)(data.computeEnvironmentName);
|
|
725
725
|
}
|
|
726
726
|
return Promise.resolve(contents);
|
|
727
727
|
};
|
|
@@ -748,7 +748,7 @@ const deserializeAws_restJson1CreateComputeEnvironmentCommandError = async (outp
|
|
|
748
748
|
$fault: "client",
|
|
749
749
|
$metadata: deserializeMetadata(output),
|
|
750
750
|
});
|
|
751
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
751
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
754
|
const deserializeAws_restJson1CreateJobQueueCommand = async (output, context) => {
|
|
@@ -760,12 +760,12 @@ const deserializeAws_restJson1CreateJobQueueCommand = async (output, context) =>
|
|
|
760
760
|
jobQueueArn: undefined,
|
|
761
761
|
jobQueueName: undefined,
|
|
762
762
|
};
|
|
763
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
763
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
764
764
|
if (data.jobQueueArn !== undefined && data.jobQueueArn !== null) {
|
|
765
|
-
contents.jobQueueArn = smithy_client_1.expectString(data.jobQueueArn);
|
|
765
|
+
contents.jobQueueArn = (0, smithy_client_1.expectString)(data.jobQueueArn);
|
|
766
766
|
}
|
|
767
767
|
if (data.jobQueueName !== undefined && data.jobQueueName !== null) {
|
|
768
|
-
contents.jobQueueName = smithy_client_1.expectString(data.jobQueueName);
|
|
768
|
+
contents.jobQueueName = (0, smithy_client_1.expectString)(data.jobQueueName);
|
|
769
769
|
}
|
|
770
770
|
return Promise.resolve(contents);
|
|
771
771
|
};
|
|
@@ -792,7 +792,7 @@ const deserializeAws_restJson1CreateJobQueueCommandError = async (output, contex
|
|
|
792
792
|
$fault: "client",
|
|
793
793
|
$metadata: deserializeMetadata(output),
|
|
794
794
|
});
|
|
795
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
795
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
796
796
|
}
|
|
797
797
|
};
|
|
798
798
|
const deserializeAws_restJson1CreateSchedulingPolicyCommand = async (output, context) => {
|
|
@@ -804,12 +804,12 @@ const deserializeAws_restJson1CreateSchedulingPolicyCommand = async (output, con
|
|
|
804
804
|
arn: undefined,
|
|
805
805
|
name: undefined,
|
|
806
806
|
};
|
|
807
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
807
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
808
808
|
if (data.arn !== undefined && data.arn !== null) {
|
|
809
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
809
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
810
810
|
}
|
|
811
811
|
if (data.name !== undefined && data.name !== null) {
|
|
812
|
-
contents.name = smithy_client_1.expectString(data.name);
|
|
812
|
+
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
813
813
|
}
|
|
814
814
|
return Promise.resolve(contents);
|
|
815
815
|
};
|
|
@@ -836,7 +836,7 @@ const deserializeAws_restJson1CreateSchedulingPolicyCommandError = async (output
|
|
|
836
836
|
$fault: "client",
|
|
837
837
|
$metadata: deserializeMetadata(output),
|
|
838
838
|
});
|
|
839
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
839
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
840
840
|
}
|
|
841
841
|
};
|
|
842
842
|
const deserializeAws_restJson1DeleteComputeEnvironmentCommand = async (output, context) => {
|
|
@@ -872,7 +872,7 @@ const deserializeAws_restJson1DeleteComputeEnvironmentCommandError = async (outp
|
|
|
872
872
|
$fault: "client",
|
|
873
873
|
$metadata: deserializeMetadata(output),
|
|
874
874
|
});
|
|
875
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
875
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
878
|
const deserializeAws_restJson1DeleteJobQueueCommand = async (output, context) => {
|
|
@@ -908,7 +908,7 @@ const deserializeAws_restJson1DeleteJobQueueCommandError = async (output, contex
|
|
|
908
908
|
$fault: "client",
|
|
909
909
|
$metadata: deserializeMetadata(output),
|
|
910
910
|
});
|
|
911
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
911
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
914
|
const deserializeAws_restJson1DeleteSchedulingPolicyCommand = async (output, context) => {
|
|
@@ -944,7 +944,7 @@ const deserializeAws_restJson1DeleteSchedulingPolicyCommandError = async (output
|
|
|
944
944
|
$fault: "client",
|
|
945
945
|
$metadata: deserializeMetadata(output),
|
|
946
946
|
});
|
|
947
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
947
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
948
948
|
}
|
|
949
949
|
};
|
|
950
950
|
const deserializeAws_restJson1DeregisterJobDefinitionCommand = async (output, context) => {
|
|
@@ -980,7 +980,7 @@ const deserializeAws_restJson1DeregisterJobDefinitionCommandError = async (outpu
|
|
|
980
980
|
$fault: "client",
|
|
981
981
|
$metadata: deserializeMetadata(output),
|
|
982
982
|
});
|
|
983
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
983
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
const deserializeAws_restJson1DescribeComputeEnvironmentsCommand = async (output, context) => {
|
|
@@ -992,12 +992,12 @@ const deserializeAws_restJson1DescribeComputeEnvironmentsCommand = async (output
|
|
|
992
992
|
computeEnvironments: undefined,
|
|
993
993
|
nextToken: undefined,
|
|
994
994
|
};
|
|
995
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
995
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
996
996
|
if (data.computeEnvironments !== undefined && data.computeEnvironments !== null) {
|
|
997
997
|
contents.computeEnvironments = deserializeAws_restJson1ComputeEnvironmentDetailList(data.computeEnvironments, context);
|
|
998
998
|
}
|
|
999
999
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1000
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1000
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1001
1001
|
}
|
|
1002
1002
|
return Promise.resolve(contents);
|
|
1003
1003
|
};
|
|
@@ -1024,7 +1024,7 @@ const deserializeAws_restJson1DescribeComputeEnvironmentsCommandError = async (o
|
|
|
1024
1024
|
$fault: "client",
|
|
1025
1025
|
$metadata: deserializeMetadata(output),
|
|
1026
1026
|
});
|
|
1027
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1027
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1028
1028
|
}
|
|
1029
1029
|
};
|
|
1030
1030
|
const deserializeAws_restJson1DescribeJobDefinitionsCommand = async (output, context) => {
|
|
@@ -1036,12 +1036,12 @@ const deserializeAws_restJson1DescribeJobDefinitionsCommand = async (output, con
|
|
|
1036
1036
|
jobDefinitions: undefined,
|
|
1037
1037
|
nextToken: undefined,
|
|
1038
1038
|
};
|
|
1039
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1039
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1040
1040
|
if (data.jobDefinitions !== undefined && data.jobDefinitions !== null) {
|
|
1041
1041
|
contents.jobDefinitions = deserializeAws_restJson1JobDefinitionList(data.jobDefinitions, context);
|
|
1042
1042
|
}
|
|
1043
1043
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1044
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1044
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1045
1045
|
}
|
|
1046
1046
|
return Promise.resolve(contents);
|
|
1047
1047
|
};
|
|
@@ -1068,7 +1068,7 @@ const deserializeAws_restJson1DescribeJobDefinitionsCommandError = async (output
|
|
|
1068
1068
|
$fault: "client",
|
|
1069
1069
|
$metadata: deserializeMetadata(output),
|
|
1070
1070
|
});
|
|
1071
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1071
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1072
1072
|
}
|
|
1073
1073
|
};
|
|
1074
1074
|
const deserializeAws_restJson1DescribeJobQueuesCommand = async (output, context) => {
|
|
@@ -1080,12 +1080,12 @@ const deserializeAws_restJson1DescribeJobQueuesCommand = async (output, context)
|
|
|
1080
1080
|
jobQueues: undefined,
|
|
1081
1081
|
nextToken: undefined,
|
|
1082
1082
|
};
|
|
1083
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1083
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1084
1084
|
if (data.jobQueues !== undefined && data.jobQueues !== null) {
|
|
1085
1085
|
contents.jobQueues = deserializeAws_restJson1JobQueueDetailList(data.jobQueues, context);
|
|
1086
1086
|
}
|
|
1087
1087
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1088
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1088
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1089
1089
|
}
|
|
1090
1090
|
return Promise.resolve(contents);
|
|
1091
1091
|
};
|
|
@@ -1112,7 +1112,7 @@ const deserializeAws_restJson1DescribeJobQueuesCommandError = async (output, con
|
|
|
1112
1112
|
$fault: "client",
|
|
1113
1113
|
$metadata: deserializeMetadata(output),
|
|
1114
1114
|
});
|
|
1115
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1115
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1116
1116
|
}
|
|
1117
1117
|
};
|
|
1118
1118
|
const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
|
|
@@ -1123,7 +1123,7 @@ const deserializeAws_restJson1DescribeJobsCommand = async (output, context) => {
|
|
|
1123
1123
|
$metadata: deserializeMetadata(output),
|
|
1124
1124
|
jobs: undefined,
|
|
1125
1125
|
};
|
|
1126
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1126
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1127
1127
|
if (data.jobs !== undefined && data.jobs !== null) {
|
|
1128
1128
|
contents.jobs = deserializeAws_restJson1JobDetailList(data.jobs, context);
|
|
1129
1129
|
}
|
|
@@ -1152,7 +1152,7 @@ const deserializeAws_restJson1DescribeJobsCommandError = async (output, context)
|
|
|
1152
1152
|
$fault: "client",
|
|
1153
1153
|
$metadata: deserializeMetadata(output),
|
|
1154
1154
|
});
|
|
1155
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1155
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1156
1156
|
}
|
|
1157
1157
|
};
|
|
1158
1158
|
const deserializeAws_restJson1DescribeSchedulingPoliciesCommand = async (output, context) => {
|
|
@@ -1163,7 +1163,7 @@ const deserializeAws_restJson1DescribeSchedulingPoliciesCommand = async (output,
|
|
|
1163
1163
|
$metadata: deserializeMetadata(output),
|
|
1164
1164
|
schedulingPolicies: undefined,
|
|
1165
1165
|
};
|
|
1166
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1166
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1167
1167
|
if (data.schedulingPolicies !== undefined && data.schedulingPolicies !== null) {
|
|
1168
1168
|
contents.schedulingPolicies = deserializeAws_restJson1SchedulingPolicyDetailList(data.schedulingPolicies, context);
|
|
1169
1169
|
}
|
|
@@ -1192,7 +1192,7 @@ const deserializeAws_restJson1DescribeSchedulingPoliciesCommandError = async (ou
|
|
|
1192
1192
|
$fault: "client",
|
|
1193
1193
|
$metadata: deserializeMetadata(output),
|
|
1194
1194
|
});
|
|
1195
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1195
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1196
1196
|
}
|
|
1197
1197
|
};
|
|
1198
1198
|
const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
@@ -1204,12 +1204,12 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
|
|
|
1204
1204
|
jobSummaryList: undefined,
|
|
1205
1205
|
nextToken: undefined,
|
|
1206
1206
|
};
|
|
1207
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1207
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1208
1208
|
if (data.jobSummaryList !== undefined && data.jobSummaryList !== null) {
|
|
1209
1209
|
contents.jobSummaryList = deserializeAws_restJson1JobSummaryList(data.jobSummaryList, context);
|
|
1210
1210
|
}
|
|
1211
1211
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1212
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1212
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1213
1213
|
}
|
|
1214
1214
|
return Promise.resolve(contents);
|
|
1215
1215
|
};
|
|
@@ -1236,7 +1236,7 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
|
|
|
1236
1236
|
$fault: "client",
|
|
1237
1237
|
$metadata: deserializeMetadata(output),
|
|
1238
1238
|
});
|
|
1239
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1239
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
const deserializeAws_restJson1ListSchedulingPoliciesCommand = async (output, context) => {
|
|
@@ -1248,9 +1248,9 @@ const deserializeAws_restJson1ListSchedulingPoliciesCommand = async (output, con
|
|
|
1248
1248
|
nextToken: undefined,
|
|
1249
1249
|
schedulingPolicies: undefined,
|
|
1250
1250
|
};
|
|
1251
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1251
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1252
1252
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1253
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1253
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1254
1254
|
}
|
|
1255
1255
|
if (data.schedulingPolicies !== undefined && data.schedulingPolicies !== null) {
|
|
1256
1256
|
contents.schedulingPolicies = deserializeAws_restJson1SchedulingPolicyListingDetailList(data.schedulingPolicies, context);
|
|
@@ -1280,7 +1280,7 @@ const deserializeAws_restJson1ListSchedulingPoliciesCommandError = async (output
|
|
|
1280
1280
|
$fault: "client",
|
|
1281
1281
|
$metadata: deserializeMetadata(output),
|
|
1282
1282
|
});
|
|
1283
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1283
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1284
1284
|
}
|
|
1285
1285
|
};
|
|
1286
1286
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1291,7 +1291,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1291
1291
|
$metadata: deserializeMetadata(output),
|
|
1292
1292
|
tags: undefined,
|
|
1293
1293
|
};
|
|
1294
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1294
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1295
1295
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1296
1296
|
contents.tags = deserializeAws_restJson1TagrisTagsMap(data.tags, context);
|
|
1297
1297
|
}
|
|
@@ -1320,7 +1320,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1320
1320
|
$fault: "client",
|
|
1321
1321
|
$metadata: deserializeMetadata(output),
|
|
1322
1322
|
});
|
|
1323
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1323
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1324
1324
|
}
|
|
1325
1325
|
};
|
|
1326
1326
|
const deserializeAws_restJson1RegisterJobDefinitionCommand = async (output, context) => {
|
|
@@ -1333,15 +1333,15 @@ const deserializeAws_restJson1RegisterJobDefinitionCommand = async (output, cont
|
|
|
1333
1333
|
jobDefinitionName: undefined,
|
|
1334
1334
|
revision: undefined,
|
|
1335
1335
|
};
|
|
1336
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1336
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1337
1337
|
if (data.jobDefinitionArn !== undefined && data.jobDefinitionArn !== null) {
|
|
1338
|
-
contents.jobDefinitionArn = smithy_client_1.expectString(data.jobDefinitionArn);
|
|
1338
|
+
contents.jobDefinitionArn = (0, smithy_client_1.expectString)(data.jobDefinitionArn);
|
|
1339
1339
|
}
|
|
1340
1340
|
if (data.jobDefinitionName !== undefined && data.jobDefinitionName !== null) {
|
|
1341
|
-
contents.jobDefinitionName = smithy_client_1.expectString(data.jobDefinitionName);
|
|
1341
|
+
contents.jobDefinitionName = (0, smithy_client_1.expectString)(data.jobDefinitionName);
|
|
1342
1342
|
}
|
|
1343
1343
|
if (data.revision !== undefined && data.revision !== null) {
|
|
1344
|
-
contents.revision = smithy_client_1.expectInt32(data.revision);
|
|
1344
|
+
contents.revision = (0, smithy_client_1.expectInt32)(data.revision);
|
|
1345
1345
|
}
|
|
1346
1346
|
return Promise.resolve(contents);
|
|
1347
1347
|
};
|
|
@@ -1368,7 +1368,7 @@ const deserializeAws_restJson1RegisterJobDefinitionCommandError = async (output,
|
|
|
1368
1368
|
$fault: "client",
|
|
1369
1369
|
$metadata: deserializeMetadata(output),
|
|
1370
1370
|
});
|
|
1371
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1371
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1372
1372
|
}
|
|
1373
1373
|
};
|
|
1374
1374
|
const deserializeAws_restJson1SubmitJobCommand = async (output, context) => {
|
|
@@ -1381,15 +1381,15 @@ const deserializeAws_restJson1SubmitJobCommand = async (output, context) => {
|
|
|
1381
1381
|
jobId: undefined,
|
|
1382
1382
|
jobName: undefined,
|
|
1383
1383
|
};
|
|
1384
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1384
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1385
1385
|
if (data.jobArn !== undefined && data.jobArn !== null) {
|
|
1386
|
-
contents.jobArn = smithy_client_1.expectString(data.jobArn);
|
|
1386
|
+
contents.jobArn = (0, smithy_client_1.expectString)(data.jobArn);
|
|
1387
1387
|
}
|
|
1388
1388
|
if (data.jobId !== undefined && data.jobId !== null) {
|
|
1389
|
-
contents.jobId = smithy_client_1.expectString(data.jobId);
|
|
1389
|
+
contents.jobId = (0, smithy_client_1.expectString)(data.jobId);
|
|
1390
1390
|
}
|
|
1391
1391
|
if (data.jobName !== undefined && data.jobName !== null) {
|
|
1392
|
-
contents.jobName = smithy_client_1.expectString(data.jobName);
|
|
1392
|
+
contents.jobName = (0, smithy_client_1.expectString)(data.jobName);
|
|
1393
1393
|
}
|
|
1394
1394
|
return Promise.resolve(contents);
|
|
1395
1395
|
};
|
|
@@ -1416,7 +1416,7 @@ const deserializeAws_restJson1SubmitJobCommandError = async (output, context) =>
|
|
|
1416
1416
|
$fault: "client",
|
|
1417
1417
|
$metadata: deserializeMetadata(output),
|
|
1418
1418
|
});
|
|
1419
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1419
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1420
1420
|
}
|
|
1421
1421
|
};
|
|
1422
1422
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1452,7 +1452,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1452
1452
|
$fault: "client",
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
});
|
|
1455
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1455
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1456
1456
|
}
|
|
1457
1457
|
};
|
|
1458
1458
|
const deserializeAws_restJson1TerminateJobCommand = async (output, context) => {
|
|
@@ -1488,7 +1488,7 @@ const deserializeAws_restJson1TerminateJobCommandError = async (output, context)
|
|
|
1488
1488
|
$fault: "client",
|
|
1489
1489
|
$metadata: deserializeMetadata(output),
|
|
1490
1490
|
});
|
|
1491
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1491
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1492
1492
|
}
|
|
1493
1493
|
};
|
|
1494
1494
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1524,7 +1524,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1524
1524
|
$fault: "client",
|
|
1525
1525
|
$metadata: deserializeMetadata(output),
|
|
1526
1526
|
});
|
|
1527
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1527
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1528
1528
|
}
|
|
1529
1529
|
};
|
|
1530
1530
|
const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (output, context) => {
|
|
@@ -1536,12 +1536,12 @@ const deserializeAws_restJson1UpdateComputeEnvironmentCommand = async (output, c
|
|
|
1536
1536
|
computeEnvironmentArn: undefined,
|
|
1537
1537
|
computeEnvironmentName: undefined,
|
|
1538
1538
|
};
|
|
1539
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1539
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1540
1540
|
if (data.computeEnvironmentArn !== undefined && data.computeEnvironmentArn !== null) {
|
|
1541
|
-
contents.computeEnvironmentArn = smithy_client_1.expectString(data.computeEnvironmentArn);
|
|
1541
|
+
contents.computeEnvironmentArn = (0, smithy_client_1.expectString)(data.computeEnvironmentArn);
|
|
1542
1542
|
}
|
|
1543
1543
|
if (data.computeEnvironmentName !== undefined && data.computeEnvironmentName !== null) {
|
|
1544
|
-
contents.computeEnvironmentName = smithy_client_1.expectString(data.computeEnvironmentName);
|
|
1544
|
+
contents.computeEnvironmentName = (0, smithy_client_1.expectString)(data.computeEnvironmentName);
|
|
1545
1545
|
}
|
|
1546
1546
|
return Promise.resolve(contents);
|
|
1547
1547
|
};
|
|
@@ -1568,7 +1568,7 @@ const deserializeAws_restJson1UpdateComputeEnvironmentCommandError = async (outp
|
|
|
1568
1568
|
$fault: "client",
|
|
1569
1569
|
$metadata: deserializeMetadata(output),
|
|
1570
1570
|
});
|
|
1571
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1571
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1572
1572
|
}
|
|
1573
1573
|
};
|
|
1574
1574
|
const deserializeAws_restJson1UpdateJobQueueCommand = async (output, context) => {
|
|
@@ -1580,12 +1580,12 @@ const deserializeAws_restJson1UpdateJobQueueCommand = async (output, context) =>
|
|
|
1580
1580
|
jobQueueArn: undefined,
|
|
1581
1581
|
jobQueueName: undefined,
|
|
1582
1582
|
};
|
|
1583
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1583
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1584
1584
|
if (data.jobQueueArn !== undefined && data.jobQueueArn !== null) {
|
|
1585
|
-
contents.jobQueueArn = smithy_client_1.expectString(data.jobQueueArn);
|
|
1585
|
+
contents.jobQueueArn = (0, smithy_client_1.expectString)(data.jobQueueArn);
|
|
1586
1586
|
}
|
|
1587
1587
|
if (data.jobQueueName !== undefined && data.jobQueueName !== null) {
|
|
1588
|
-
contents.jobQueueName = smithy_client_1.expectString(data.jobQueueName);
|
|
1588
|
+
contents.jobQueueName = (0, smithy_client_1.expectString)(data.jobQueueName);
|
|
1589
1589
|
}
|
|
1590
1590
|
return Promise.resolve(contents);
|
|
1591
1591
|
};
|
|
@@ -1612,7 +1612,7 @@ const deserializeAws_restJson1UpdateJobQueueCommandError = async (output, contex
|
|
|
1612
1612
|
$fault: "client",
|
|
1613
1613
|
$metadata: deserializeMetadata(output),
|
|
1614
1614
|
});
|
|
1615
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1615
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1616
1616
|
}
|
|
1617
1617
|
};
|
|
1618
1618
|
const deserializeAws_restJson1UpdateSchedulingPolicyCommand = async (output, context) => {
|
|
@@ -1648,32 +1648,32 @@ const deserializeAws_restJson1UpdateSchedulingPolicyCommandError = async (output
|
|
|
1648
1648
|
$fault: "client",
|
|
1649
1649
|
$metadata: deserializeMetadata(output),
|
|
1650
1650
|
});
|
|
1651
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1651
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1652
1652
|
}
|
|
1653
1653
|
};
|
|
1654
1654
|
const deserializeAws_restJson1ClientExceptionResponse = async (parsedOutput, context) => {
|
|
1655
1655
|
const contents = {};
|
|
1656
1656
|
const data = parsedOutput.body;
|
|
1657
1657
|
if (data.message !== undefined && data.message !== null) {
|
|
1658
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1658
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1659
1659
|
}
|
|
1660
1660
|
const exception = new models_0_1.ClientException({
|
|
1661
1661
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1662
1662
|
...contents,
|
|
1663
1663
|
});
|
|
1664
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1664
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1665
1665
|
};
|
|
1666
1666
|
const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, context) => {
|
|
1667
1667
|
const contents = {};
|
|
1668
1668
|
const data = parsedOutput.body;
|
|
1669
1669
|
if (data.message !== undefined && data.message !== null) {
|
|
1670
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1670
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1671
1671
|
}
|
|
1672
1672
|
const exception = new models_0_1.ServerException({
|
|
1673
1673
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1674
1674
|
...contents,
|
|
1675
1675
|
});
|
|
1676
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1676
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1677
1677
|
};
|
|
1678
1678
|
const serializeAws_restJson1ArrayProperties = (input, context) => {
|
|
1679
1679
|
return {
|
|
@@ -2168,7 +2168,7 @@ const serializeAws_restJson1ShareAttributes = (input, context) => {
|
|
|
2168
2168
|
...(input.shareIdentifier !== undefined &&
|
|
2169
2169
|
input.shareIdentifier !== null && { shareIdentifier: input.shareIdentifier }),
|
|
2170
2170
|
...(input.weightFactor !== undefined &&
|
|
2171
|
-
input.weightFactor !== null && { weightFactor: smithy_client_1.serializeFloat(input.weightFactor) }),
|
|
2171
|
+
input.weightFactor !== null && { weightFactor: (0, smithy_client_1.serializeFloat)(input.weightFactor) }),
|
|
2172
2172
|
};
|
|
2173
2173
|
};
|
|
2174
2174
|
const serializeAws_restJson1ShareAttributesList = (input, context) => {
|
|
@@ -2275,14 +2275,14 @@ const deserializeAws_restJson1ArrayJobStatusSummary = (output, context) => {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
return {
|
|
2277
2277
|
...acc,
|
|
2278
|
-
[key]: smithy_client_1.expectInt32(value),
|
|
2278
|
+
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
2279
2279
|
};
|
|
2280
2280
|
}, {});
|
|
2281
2281
|
};
|
|
2282
2282
|
const deserializeAws_restJson1ArrayPropertiesDetail = (output, context) => {
|
|
2283
2283
|
return {
|
|
2284
|
-
index: smithy_client_1.expectInt32(output.index),
|
|
2285
|
-
size: smithy_client_1.expectInt32(output.size),
|
|
2284
|
+
index: (0, smithy_client_1.expectInt32)(output.index),
|
|
2285
|
+
size: (0, smithy_client_1.expectInt32)(output.size),
|
|
2286
2286
|
statusSummary: output.statusSummary !== undefined && output.statusSummary !== null
|
|
2287
2287
|
? deserializeAws_restJson1ArrayJobStatusSummary(output.statusSummary, context)
|
|
2288
2288
|
: undefined,
|
|
@@ -2290,20 +2290,20 @@ const deserializeAws_restJson1ArrayPropertiesDetail = (output, context) => {
|
|
|
2290
2290
|
};
|
|
2291
2291
|
const deserializeAws_restJson1ArrayPropertiesSummary = (output, context) => {
|
|
2292
2292
|
return {
|
|
2293
|
-
index: smithy_client_1.expectInt32(output.index),
|
|
2294
|
-
size: smithy_client_1.expectInt32(output.size),
|
|
2293
|
+
index: (0, smithy_client_1.expectInt32)(output.index),
|
|
2294
|
+
size: (0, smithy_client_1.expectInt32)(output.size),
|
|
2295
2295
|
};
|
|
2296
2296
|
};
|
|
2297
2297
|
const deserializeAws_restJson1AttemptContainerDetail = (output, context) => {
|
|
2298
2298
|
return {
|
|
2299
|
-
containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
|
|
2300
|
-
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2301
|
-
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
2299
|
+
containerInstanceArn: (0, smithy_client_1.expectString)(output.containerInstanceArn),
|
|
2300
|
+
exitCode: (0, smithy_client_1.expectInt32)(output.exitCode),
|
|
2301
|
+
logStreamName: (0, smithy_client_1.expectString)(output.logStreamName),
|
|
2302
2302
|
networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
2303
2303
|
? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
|
|
2304
2304
|
: undefined,
|
|
2305
|
-
reason: smithy_client_1.expectString(output.reason),
|
|
2306
|
-
taskArn: smithy_client_1.expectString(output.taskArn),
|
|
2305
|
+
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2306
|
+
taskArn: (0, smithy_client_1.expectString)(output.taskArn),
|
|
2307
2307
|
};
|
|
2308
2308
|
};
|
|
2309
2309
|
const deserializeAws_restJson1AttemptDetail = (output, context) => {
|
|
@@ -2311,9 +2311,9 @@ const deserializeAws_restJson1AttemptDetail = (output, context) => {
|
|
|
2311
2311
|
container: output.container !== undefined && output.container !== null
|
|
2312
2312
|
? deserializeAws_restJson1AttemptContainerDetail(output.container, context)
|
|
2313
2313
|
: undefined,
|
|
2314
|
-
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2315
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2316
|
-
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2314
|
+
startedAt: (0, smithy_client_1.expectLong)(output.startedAt),
|
|
2315
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2316
|
+
stoppedAt: (0, smithy_client_1.expectLong)(output.stoppedAt),
|
|
2317
2317
|
};
|
|
2318
2318
|
};
|
|
2319
2319
|
const deserializeAws_restJson1AttemptDetails = (output, context) => {
|
|
@@ -2329,21 +2329,21 @@ const deserializeAws_restJson1AttemptDetails = (output, context) => {
|
|
|
2329
2329
|
};
|
|
2330
2330
|
const deserializeAws_restJson1ComputeEnvironmentDetail = (output, context) => {
|
|
2331
2331
|
return {
|
|
2332
|
-
computeEnvironmentArn: smithy_client_1.expectString(output.computeEnvironmentArn),
|
|
2333
|
-
computeEnvironmentName: smithy_client_1.expectString(output.computeEnvironmentName),
|
|
2332
|
+
computeEnvironmentArn: (0, smithy_client_1.expectString)(output.computeEnvironmentArn),
|
|
2333
|
+
computeEnvironmentName: (0, smithy_client_1.expectString)(output.computeEnvironmentName),
|
|
2334
2334
|
computeResources: output.computeResources !== undefined && output.computeResources !== null
|
|
2335
2335
|
? deserializeAws_restJson1ComputeResource(output.computeResources, context)
|
|
2336
2336
|
: undefined,
|
|
2337
|
-
ecsClusterArn: smithy_client_1.expectString(output.ecsClusterArn),
|
|
2338
|
-
serviceRole: smithy_client_1.expectString(output.serviceRole),
|
|
2339
|
-
state: smithy_client_1.expectString(output.state),
|
|
2340
|
-
status: smithy_client_1.expectString(output.status),
|
|
2341
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2337
|
+
ecsClusterArn: (0, smithy_client_1.expectString)(output.ecsClusterArn),
|
|
2338
|
+
serviceRole: (0, smithy_client_1.expectString)(output.serviceRole),
|
|
2339
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2340
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2341
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2342
2342
|
tags: output.tags !== undefined && output.tags !== null
|
|
2343
2343
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2344
2344
|
: undefined,
|
|
2345
|
-
type: smithy_client_1.expectString(output.type),
|
|
2346
|
-
unmanagedvCpus: smithy_client_1.expectInt32(output.unmanagedvCpus),
|
|
2345
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2346
|
+
unmanagedvCpus: (0, smithy_client_1.expectInt32)(output.unmanagedvCpus),
|
|
2347
2347
|
};
|
|
2348
2348
|
};
|
|
2349
2349
|
const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) => {
|
|
@@ -2359,8 +2359,8 @@ const deserializeAws_restJson1ComputeEnvironmentDetailList = (output, context) =
|
|
|
2359
2359
|
};
|
|
2360
2360
|
const deserializeAws_restJson1ComputeEnvironmentOrder = (output, context) => {
|
|
2361
2361
|
return {
|
|
2362
|
-
computeEnvironment: smithy_client_1.expectString(output.computeEnvironment),
|
|
2363
|
-
order: smithy_client_1.expectInt32(output.order),
|
|
2362
|
+
computeEnvironment: (0, smithy_client_1.expectString)(output.computeEnvironment),
|
|
2363
|
+
order: (0, smithy_client_1.expectInt32)(output.order),
|
|
2364
2364
|
};
|
|
2365
2365
|
};
|
|
2366
2366
|
const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
|
|
@@ -2376,35 +2376,35 @@ const deserializeAws_restJson1ComputeEnvironmentOrders = (output, context) => {
|
|
|
2376
2376
|
};
|
|
2377
2377
|
const deserializeAws_restJson1ComputeResource = (output, context) => {
|
|
2378
2378
|
return {
|
|
2379
|
-
allocationStrategy: smithy_client_1.expectString(output.allocationStrategy),
|
|
2380
|
-
bidPercentage: smithy_client_1.expectInt32(output.bidPercentage),
|
|
2381
|
-
desiredvCpus: smithy_client_1.expectInt32(output.desiredvCpus),
|
|
2379
|
+
allocationStrategy: (0, smithy_client_1.expectString)(output.allocationStrategy),
|
|
2380
|
+
bidPercentage: (0, smithy_client_1.expectInt32)(output.bidPercentage),
|
|
2381
|
+
desiredvCpus: (0, smithy_client_1.expectInt32)(output.desiredvCpus),
|
|
2382
2382
|
ec2Configuration: output.ec2Configuration !== undefined && output.ec2Configuration !== null
|
|
2383
2383
|
? deserializeAws_restJson1Ec2ConfigurationList(output.ec2Configuration, context)
|
|
2384
2384
|
: undefined,
|
|
2385
|
-
ec2KeyPair: smithy_client_1.expectString(output.ec2KeyPair),
|
|
2386
|
-
imageId: smithy_client_1.expectString(output.imageId),
|
|
2387
|
-
instanceRole: smithy_client_1.expectString(output.instanceRole),
|
|
2385
|
+
ec2KeyPair: (0, smithy_client_1.expectString)(output.ec2KeyPair),
|
|
2386
|
+
imageId: (0, smithy_client_1.expectString)(output.imageId),
|
|
2387
|
+
instanceRole: (0, smithy_client_1.expectString)(output.instanceRole),
|
|
2388
2388
|
instanceTypes: output.instanceTypes !== undefined && output.instanceTypes !== null
|
|
2389
2389
|
? deserializeAws_restJson1StringList(output.instanceTypes, context)
|
|
2390
2390
|
: undefined,
|
|
2391
2391
|
launchTemplate: output.launchTemplate !== undefined && output.launchTemplate !== null
|
|
2392
2392
|
? deserializeAws_restJson1LaunchTemplateSpecification(output.launchTemplate, context)
|
|
2393
2393
|
: undefined,
|
|
2394
|
-
maxvCpus: smithy_client_1.expectInt32(output.maxvCpus),
|
|
2395
|
-
minvCpus: smithy_client_1.expectInt32(output.minvCpus),
|
|
2396
|
-
placementGroup: smithy_client_1.expectString(output.placementGroup),
|
|
2394
|
+
maxvCpus: (0, smithy_client_1.expectInt32)(output.maxvCpus),
|
|
2395
|
+
minvCpus: (0, smithy_client_1.expectInt32)(output.minvCpus),
|
|
2396
|
+
placementGroup: (0, smithy_client_1.expectString)(output.placementGroup),
|
|
2397
2397
|
securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
|
|
2398
2398
|
? deserializeAws_restJson1StringList(output.securityGroupIds, context)
|
|
2399
2399
|
: undefined,
|
|
2400
|
-
spotIamFleetRole: smithy_client_1.expectString(output.spotIamFleetRole),
|
|
2400
|
+
spotIamFleetRole: (0, smithy_client_1.expectString)(output.spotIamFleetRole),
|
|
2401
2401
|
subnets: output.subnets !== undefined && output.subnets !== null
|
|
2402
2402
|
? deserializeAws_restJson1StringList(output.subnets, context)
|
|
2403
2403
|
: undefined,
|
|
2404
2404
|
tags: output.tags !== undefined && output.tags !== null
|
|
2405
2405
|
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
2406
2406
|
: undefined,
|
|
2407
|
-
type: smithy_client_1.expectString(output.type),
|
|
2407
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2408
2408
|
};
|
|
2409
2409
|
};
|
|
2410
2410
|
const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
@@ -2412,26 +2412,26 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2412
2412
|
command: output.command !== undefined && output.command !== null
|
|
2413
2413
|
? deserializeAws_restJson1StringList(output.command, context)
|
|
2414
2414
|
: undefined,
|
|
2415
|
-
containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
|
|
2415
|
+
containerInstanceArn: (0, smithy_client_1.expectString)(output.containerInstanceArn),
|
|
2416
2416
|
environment: output.environment !== undefined && output.environment !== null
|
|
2417
2417
|
? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
|
|
2418
2418
|
: undefined,
|
|
2419
|
-
executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
|
|
2420
|
-
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2419
|
+
executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
|
|
2420
|
+
exitCode: (0, smithy_client_1.expectInt32)(output.exitCode),
|
|
2421
2421
|
fargatePlatformConfiguration: output.fargatePlatformConfiguration !== undefined && output.fargatePlatformConfiguration !== null
|
|
2422
2422
|
? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
|
|
2423
2423
|
: undefined,
|
|
2424
|
-
image: smithy_client_1.expectString(output.image),
|
|
2425
|
-
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2426
|
-
jobRoleArn: smithy_client_1.expectString(output.jobRoleArn),
|
|
2424
|
+
image: (0, smithy_client_1.expectString)(output.image),
|
|
2425
|
+
instanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
2426
|
+
jobRoleArn: (0, smithy_client_1.expectString)(output.jobRoleArn),
|
|
2427
2427
|
linuxParameters: output.linuxParameters !== undefined && output.linuxParameters !== null
|
|
2428
2428
|
? deserializeAws_restJson1LinuxParameters(output.linuxParameters, context)
|
|
2429
2429
|
: undefined,
|
|
2430
2430
|
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2431
2431
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2432
2432
|
: undefined,
|
|
2433
|
-
logStreamName: smithy_client_1.expectString(output.logStreamName),
|
|
2434
|
-
memory: smithy_client_1.expectInt32(output.memory),
|
|
2433
|
+
logStreamName: (0, smithy_client_1.expectString)(output.logStreamName),
|
|
2434
|
+
memory: (0, smithy_client_1.expectInt32)(output.memory),
|
|
2435
2435
|
mountPoints: output.mountPoints !== undefined && output.mountPoints !== null
|
|
2436
2436
|
? deserializeAws_restJson1MountPoints(output.mountPoints, context)
|
|
2437
2437
|
: undefined,
|
|
@@ -2441,21 +2441,21 @@ const deserializeAws_restJson1ContainerDetail = (output, context) => {
|
|
|
2441
2441
|
networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
2442
2442
|
? deserializeAws_restJson1NetworkInterfaceList(output.networkInterfaces, context)
|
|
2443
2443
|
: undefined,
|
|
2444
|
-
privileged: smithy_client_1.expectBoolean(output.privileged),
|
|
2445
|
-
readonlyRootFilesystem: smithy_client_1.expectBoolean(output.readonlyRootFilesystem),
|
|
2446
|
-
reason: smithy_client_1.expectString(output.reason),
|
|
2444
|
+
privileged: (0, smithy_client_1.expectBoolean)(output.privileged),
|
|
2445
|
+
readonlyRootFilesystem: (0, smithy_client_1.expectBoolean)(output.readonlyRootFilesystem),
|
|
2446
|
+
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2447
2447
|
resourceRequirements: output.resourceRequirements !== undefined && output.resourceRequirements !== null
|
|
2448
2448
|
? deserializeAws_restJson1ResourceRequirements(output.resourceRequirements, context)
|
|
2449
2449
|
: undefined,
|
|
2450
2450
|
secrets: output.secrets !== undefined && output.secrets !== null
|
|
2451
2451
|
? deserializeAws_restJson1SecretList(output.secrets, context)
|
|
2452
2452
|
: undefined,
|
|
2453
|
-
taskArn: smithy_client_1.expectString(output.taskArn),
|
|
2453
|
+
taskArn: (0, smithy_client_1.expectString)(output.taskArn),
|
|
2454
2454
|
ulimits: output.ulimits !== undefined && output.ulimits !== null
|
|
2455
2455
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2456
2456
|
: undefined,
|
|
2457
|
-
user: smithy_client_1.expectString(output.user),
|
|
2458
|
-
vcpus: smithy_client_1.expectInt32(output.vcpus),
|
|
2457
|
+
user: (0, smithy_client_1.expectString)(output.user),
|
|
2458
|
+
vcpus: (0, smithy_client_1.expectInt32)(output.vcpus),
|
|
2459
2459
|
volumes: output.volumes !== undefined && output.volumes !== null
|
|
2460
2460
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
2461
2461
|
: undefined,
|
|
@@ -2469,28 +2469,28 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2469
2469
|
environment: output.environment !== undefined && output.environment !== null
|
|
2470
2470
|
? deserializeAws_restJson1EnvironmentVariables(output.environment, context)
|
|
2471
2471
|
: undefined,
|
|
2472
|
-
executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
|
|
2472
|
+
executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
|
|
2473
2473
|
fargatePlatformConfiguration: output.fargatePlatformConfiguration !== undefined && output.fargatePlatformConfiguration !== null
|
|
2474
2474
|
? deserializeAws_restJson1FargatePlatformConfiguration(output.fargatePlatformConfiguration, context)
|
|
2475
2475
|
: undefined,
|
|
2476
|
-
image: smithy_client_1.expectString(output.image),
|
|
2477
|
-
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2478
|
-
jobRoleArn: smithy_client_1.expectString(output.jobRoleArn),
|
|
2476
|
+
image: (0, smithy_client_1.expectString)(output.image),
|
|
2477
|
+
instanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
2478
|
+
jobRoleArn: (0, smithy_client_1.expectString)(output.jobRoleArn),
|
|
2479
2479
|
linuxParameters: output.linuxParameters !== undefined && output.linuxParameters !== null
|
|
2480
2480
|
? deserializeAws_restJson1LinuxParameters(output.linuxParameters, context)
|
|
2481
2481
|
: undefined,
|
|
2482
2482
|
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2483
2483
|
? deserializeAws_restJson1LogConfiguration(output.logConfiguration, context)
|
|
2484
2484
|
: undefined,
|
|
2485
|
-
memory: smithy_client_1.expectInt32(output.memory),
|
|
2485
|
+
memory: (0, smithy_client_1.expectInt32)(output.memory),
|
|
2486
2486
|
mountPoints: output.mountPoints !== undefined && output.mountPoints !== null
|
|
2487
2487
|
? deserializeAws_restJson1MountPoints(output.mountPoints, context)
|
|
2488
2488
|
: undefined,
|
|
2489
2489
|
networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
|
|
2490
2490
|
? deserializeAws_restJson1NetworkConfiguration(output.networkConfiguration, context)
|
|
2491
2491
|
: undefined,
|
|
2492
|
-
privileged: smithy_client_1.expectBoolean(output.privileged),
|
|
2493
|
-
readonlyRootFilesystem: smithy_client_1.expectBoolean(output.readonlyRootFilesystem),
|
|
2492
|
+
privileged: (0, smithy_client_1.expectBoolean)(output.privileged),
|
|
2493
|
+
readonlyRootFilesystem: (0, smithy_client_1.expectBoolean)(output.readonlyRootFilesystem),
|
|
2494
2494
|
resourceRequirements: output.resourceRequirements !== undefined && output.resourceRequirements !== null
|
|
2495
2495
|
? deserializeAws_restJson1ResourceRequirements(output.resourceRequirements, context)
|
|
2496
2496
|
: undefined,
|
|
@@ -2500,8 +2500,8 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2500
2500
|
ulimits: output.ulimits !== undefined && output.ulimits !== null
|
|
2501
2501
|
? deserializeAws_restJson1Ulimits(output.ulimits, context)
|
|
2502
2502
|
: undefined,
|
|
2503
|
-
user: smithy_client_1.expectString(output.user),
|
|
2504
|
-
vcpus: smithy_client_1.expectInt32(output.vcpus),
|
|
2503
|
+
user: (0, smithy_client_1.expectString)(output.user),
|
|
2504
|
+
vcpus: (0, smithy_client_1.expectInt32)(output.vcpus),
|
|
2505
2505
|
volumes: output.volumes !== undefined && output.volumes !== null
|
|
2506
2506
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
2507
2507
|
: undefined,
|
|
@@ -2509,14 +2509,14 @@ const deserializeAws_restJson1ContainerProperties = (output, context) => {
|
|
|
2509
2509
|
};
|
|
2510
2510
|
const deserializeAws_restJson1ContainerSummary = (output, context) => {
|
|
2511
2511
|
return {
|
|
2512
|
-
exitCode: smithy_client_1.expectInt32(output.exitCode),
|
|
2513
|
-
reason: smithy_client_1.expectString(output.reason),
|
|
2512
|
+
exitCode: (0, smithy_client_1.expectInt32)(output.exitCode),
|
|
2513
|
+
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2514
2514
|
};
|
|
2515
2515
|
};
|
|
2516
2516
|
const deserializeAws_restJson1Device = (output, context) => {
|
|
2517
2517
|
return {
|
|
2518
|
-
containerPath: smithy_client_1.expectString(output.containerPath),
|
|
2519
|
-
hostPath: smithy_client_1.expectString(output.hostPath),
|
|
2518
|
+
containerPath: (0, smithy_client_1.expectString)(output.containerPath),
|
|
2519
|
+
hostPath: (0, smithy_client_1.expectString)(output.hostPath),
|
|
2520
2520
|
permissions: output.permissions !== undefined && output.permissions !== null
|
|
2521
2521
|
? deserializeAws_restJson1DeviceCgroupPermissions(output.permissions, context)
|
|
2522
2522
|
: undefined,
|
|
@@ -2529,7 +2529,7 @@ const deserializeAws_restJson1DeviceCgroupPermissions = (output, context) => {
|
|
|
2529
2529
|
if (entry === null) {
|
|
2530
2530
|
return null;
|
|
2531
2531
|
}
|
|
2532
|
-
return smithy_client_1.expectString(entry);
|
|
2532
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2533
2533
|
});
|
|
2534
2534
|
return retVal;
|
|
2535
2535
|
};
|
|
@@ -2546,8 +2546,8 @@ const deserializeAws_restJson1DevicesList = (output, context) => {
|
|
|
2546
2546
|
};
|
|
2547
2547
|
const deserializeAws_restJson1Ec2Configuration = (output, context) => {
|
|
2548
2548
|
return {
|
|
2549
|
-
imageIdOverride: smithy_client_1.expectString(output.imageIdOverride),
|
|
2550
|
-
imageType: smithy_client_1.expectString(output.imageType),
|
|
2549
|
+
imageIdOverride: (0, smithy_client_1.expectString)(output.imageIdOverride),
|
|
2550
|
+
imageType: (0, smithy_client_1.expectString)(output.imageType),
|
|
2551
2551
|
};
|
|
2552
2552
|
};
|
|
2553
2553
|
const deserializeAws_restJson1Ec2ConfigurationList = (output, context) => {
|
|
@@ -2563,8 +2563,8 @@ const deserializeAws_restJson1Ec2ConfigurationList = (output, context) => {
|
|
|
2563
2563
|
};
|
|
2564
2564
|
const deserializeAws_restJson1EFSAuthorizationConfig = (output, context) => {
|
|
2565
2565
|
return {
|
|
2566
|
-
accessPointId: smithy_client_1.expectString(output.accessPointId),
|
|
2567
|
-
iam: smithy_client_1.expectString(output.iam),
|
|
2566
|
+
accessPointId: (0, smithy_client_1.expectString)(output.accessPointId),
|
|
2567
|
+
iam: (0, smithy_client_1.expectString)(output.iam),
|
|
2568
2568
|
};
|
|
2569
2569
|
};
|
|
2570
2570
|
const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
|
|
@@ -2572,10 +2572,10 @@ const deserializeAws_restJson1EFSVolumeConfiguration = (output, context) => {
|
|
|
2572
2572
|
authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
|
|
2573
2573
|
? deserializeAws_restJson1EFSAuthorizationConfig(output.authorizationConfig, context)
|
|
2574
2574
|
: undefined,
|
|
2575
|
-
fileSystemId: smithy_client_1.expectString(output.fileSystemId),
|
|
2576
|
-
rootDirectory: smithy_client_1.expectString(output.rootDirectory),
|
|
2577
|
-
transitEncryption: smithy_client_1.expectString(output.transitEncryption),
|
|
2578
|
-
transitEncryptionPort: smithy_client_1.expectInt32(output.transitEncryptionPort),
|
|
2575
|
+
fileSystemId: (0, smithy_client_1.expectString)(output.fileSystemId),
|
|
2576
|
+
rootDirectory: (0, smithy_client_1.expectString)(output.rootDirectory),
|
|
2577
|
+
transitEncryption: (0, smithy_client_1.expectString)(output.transitEncryption),
|
|
2578
|
+
transitEncryptionPort: (0, smithy_client_1.expectInt32)(output.transitEncryptionPort),
|
|
2579
2579
|
};
|
|
2580
2580
|
};
|
|
2581
2581
|
const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
@@ -2591,10 +2591,10 @@ const deserializeAws_restJson1EnvironmentVariables = (output, context) => {
|
|
|
2591
2591
|
};
|
|
2592
2592
|
const deserializeAws_restJson1EvaluateOnExit = (output, context) => {
|
|
2593
2593
|
return {
|
|
2594
|
-
action: smithy_client_1.expectString(output.action),
|
|
2595
|
-
onExitCode: smithy_client_1.expectString(output.onExitCode),
|
|
2596
|
-
onReason: smithy_client_1.expectString(output.onReason),
|
|
2597
|
-
onStatusReason: smithy_client_1.expectString(output.onStatusReason),
|
|
2594
|
+
action: (0, smithy_client_1.expectString)(output.action),
|
|
2595
|
+
onExitCode: (0, smithy_client_1.expectString)(output.onExitCode),
|
|
2596
|
+
onReason: (0, smithy_client_1.expectString)(output.onReason),
|
|
2597
|
+
onStatusReason: (0, smithy_client_1.expectString)(output.onStatusReason),
|
|
2598
2598
|
};
|
|
2599
2599
|
};
|
|
2600
2600
|
const deserializeAws_restJson1EvaluateOnExitList = (output, context) => {
|
|
@@ -2610,8 +2610,8 @@ const deserializeAws_restJson1EvaluateOnExitList = (output, context) => {
|
|
|
2610
2610
|
};
|
|
2611
2611
|
const deserializeAws_restJson1FairsharePolicy = (output, context) => {
|
|
2612
2612
|
return {
|
|
2613
|
-
computeReservation: smithy_client_1.expectInt32(output.computeReservation),
|
|
2614
|
-
shareDecaySeconds: smithy_client_1.expectInt32(output.shareDecaySeconds),
|
|
2613
|
+
computeReservation: (0, smithy_client_1.expectInt32)(output.computeReservation),
|
|
2614
|
+
shareDecaySeconds: (0, smithy_client_1.expectInt32)(output.shareDecaySeconds),
|
|
2615
2615
|
shareDistribution: output.shareDistribution !== undefined && output.shareDistribution !== null
|
|
2616
2616
|
? deserializeAws_restJson1ShareAttributesList(output.shareDistribution, context)
|
|
2617
2617
|
: undefined,
|
|
@@ -2619,12 +2619,12 @@ const deserializeAws_restJson1FairsharePolicy = (output, context) => {
|
|
|
2619
2619
|
};
|
|
2620
2620
|
const deserializeAws_restJson1FargatePlatformConfiguration = (output, context) => {
|
|
2621
2621
|
return {
|
|
2622
|
-
platformVersion: smithy_client_1.expectString(output.platformVersion),
|
|
2622
|
+
platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
|
|
2623
2623
|
};
|
|
2624
2624
|
};
|
|
2625
2625
|
const deserializeAws_restJson1Host = (output, context) => {
|
|
2626
2626
|
return {
|
|
2627
|
-
sourcePath: smithy_client_1.expectString(output.sourcePath),
|
|
2627
|
+
sourcePath: (0, smithy_client_1.expectString)(output.sourcePath),
|
|
2628
2628
|
};
|
|
2629
2629
|
};
|
|
2630
2630
|
const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
@@ -2632,8 +2632,8 @@ const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
|
2632
2632
|
containerProperties: output.containerProperties !== undefined && output.containerProperties !== null
|
|
2633
2633
|
? deserializeAws_restJson1ContainerProperties(output.containerProperties, context)
|
|
2634
2634
|
: undefined,
|
|
2635
|
-
jobDefinitionArn: smithy_client_1.expectString(output.jobDefinitionArn),
|
|
2636
|
-
jobDefinitionName: smithy_client_1.expectString(output.jobDefinitionName),
|
|
2635
|
+
jobDefinitionArn: (0, smithy_client_1.expectString)(output.jobDefinitionArn),
|
|
2636
|
+
jobDefinitionName: (0, smithy_client_1.expectString)(output.jobDefinitionName),
|
|
2637
2637
|
nodeProperties: output.nodeProperties !== undefined && output.nodeProperties !== null
|
|
2638
2638
|
? deserializeAws_restJson1NodeProperties(output.nodeProperties, context)
|
|
2639
2639
|
: undefined,
|
|
@@ -2643,20 +2643,20 @@ const deserializeAws_restJson1JobDefinition = (output, context) => {
|
|
|
2643
2643
|
platformCapabilities: output.platformCapabilities !== undefined && output.platformCapabilities !== null
|
|
2644
2644
|
? deserializeAws_restJson1PlatformCapabilityList(output.platformCapabilities, context)
|
|
2645
2645
|
: undefined,
|
|
2646
|
-
propagateTags: smithy_client_1.expectBoolean(output.propagateTags),
|
|
2646
|
+
propagateTags: (0, smithy_client_1.expectBoolean)(output.propagateTags),
|
|
2647
2647
|
retryStrategy: output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
2648
2648
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
2649
2649
|
: undefined,
|
|
2650
|
-
revision: smithy_client_1.expectInt32(output.revision),
|
|
2651
|
-
schedulingPriority: smithy_client_1.expectInt32(output.schedulingPriority),
|
|
2652
|
-
status: smithy_client_1.expectString(output.status),
|
|
2650
|
+
revision: (0, smithy_client_1.expectInt32)(output.revision),
|
|
2651
|
+
schedulingPriority: (0, smithy_client_1.expectInt32)(output.schedulingPriority),
|
|
2652
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2653
2653
|
tags: output.tags !== undefined && output.tags !== null
|
|
2654
2654
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2655
2655
|
: undefined,
|
|
2656
2656
|
timeout: output.timeout !== undefined && output.timeout !== null
|
|
2657
2657
|
? deserializeAws_restJson1JobTimeout(output.timeout, context)
|
|
2658
2658
|
: undefined,
|
|
2659
|
-
type: smithy_client_1.expectString(output.type),
|
|
2659
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2660
2660
|
};
|
|
2661
2661
|
};
|
|
2662
2662
|
const deserializeAws_restJson1JobDefinitionList = (output, context) => {
|
|
@@ -2672,8 +2672,8 @@ const deserializeAws_restJson1JobDefinitionList = (output, context) => {
|
|
|
2672
2672
|
};
|
|
2673
2673
|
const deserializeAws_restJson1JobDependency = (output, context) => {
|
|
2674
2674
|
return {
|
|
2675
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
2676
|
-
type: smithy_client_1.expectString(output.type),
|
|
2675
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2676
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2677
2677
|
};
|
|
2678
2678
|
};
|
|
2679
2679
|
const deserializeAws_restJson1JobDependencyList = (output, context) => {
|
|
@@ -2698,15 +2698,15 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
|
|
|
2698
2698
|
container: output.container !== undefined && output.container !== null
|
|
2699
2699
|
? deserializeAws_restJson1ContainerDetail(output.container, context)
|
|
2700
2700
|
: undefined,
|
|
2701
|
-
createdAt: smithy_client_1.expectLong(output.createdAt),
|
|
2701
|
+
createdAt: (0, smithy_client_1.expectLong)(output.createdAt),
|
|
2702
2702
|
dependsOn: output.dependsOn !== undefined && output.dependsOn !== null
|
|
2703
2703
|
? deserializeAws_restJson1JobDependencyList(output.dependsOn, context)
|
|
2704
2704
|
: undefined,
|
|
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
|
-
jobQueue: smithy_client_1.expectString(output.jobQueue),
|
|
2705
|
+
jobArn: (0, smithy_client_1.expectString)(output.jobArn),
|
|
2706
|
+
jobDefinition: (0, smithy_client_1.expectString)(output.jobDefinition),
|
|
2707
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2708
|
+
jobName: (0, smithy_client_1.expectString)(output.jobName),
|
|
2709
|
+
jobQueue: (0, smithy_client_1.expectString)(output.jobQueue),
|
|
2710
2710
|
nodeDetails: output.nodeDetails !== undefined && output.nodeDetails !== null
|
|
2711
2711
|
? deserializeAws_restJson1NodeDetails(output.nodeDetails, context)
|
|
2712
2712
|
: undefined,
|
|
@@ -2719,16 +2719,16 @@ const deserializeAws_restJson1JobDetail = (output, context) => {
|
|
|
2719
2719
|
platformCapabilities: output.platformCapabilities !== undefined && output.platformCapabilities !== null
|
|
2720
2720
|
? deserializeAws_restJson1PlatformCapabilityList(output.platformCapabilities, context)
|
|
2721
2721
|
: undefined,
|
|
2722
|
-
propagateTags: smithy_client_1.expectBoolean(output.propagateTags),
|
|
2722
|
+
propagateTags: (0, smithy_client_1.expectBoolean)(output.propagateTags),
|
|
2723
2723
|
retryStrategy: output.retryStrategy !== undefined && output.retryStrategy !== null
|
|
2724
2724
|
? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context)
|
|
2725
2725
|
: undefined,
|
|
2726
|
-
schedulingPriority: smithy_client_1.expectInt32(output.schedulingPriority),
|
|
2727
|
-
shareIdentifier: smithy_client_1.expectString(output.shareIdentifier),
|
|
2728
|
-
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2729
|
-
status: smithy_client_1.expectString(output.status),
|
|
2730
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2731
|
-
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2726
|
+
schedulingPriority: (0, smithy_client_1.expectInt32)(output.schedulingPriority),
|
|
2727
|
+
shareIdentifier: (0, smithy_client_1.expectString)(output.shareIdentifier),
|
|
2728
|
+
startedAt: (0, smithy_client_1.expectLong)(output.startedAt),
|
|
2729
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2730
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2731
|
+
stoppedAt: (0, smithy_client_1.expectLong)(output.stoppedAt),
|
|
2732
2732
|
tags: output.tags !== undefined && output.tags !== null
|
|
2733
2733
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2734
2734
|
: undefined,
|
|
@@ -2753,13 +2753,13 @@ const deserializeAws_restJson1JobQueueDetail = (output, context) => {
|
|
|
2753
2753
|
computeEnvironmentOrder: output.computeEnvironmentOrder !== undefined && output.computeEnvironmentOrder !== null
|
|
2754
2754
|
? deserializeAws_restJson1ComputeEnvironmentOrders(output.computeEnvironmentOrder, context)
|
|
2755
2755
|
: undefined,
|
|
2756
|
-
jobQueueArn: smithy_client_1.expectString(output.jobQueueArn),
|
|
2757
|
-
jobQueueName: smithy_client_1.expectString(output.jobQueueName),
|
|
2758
|
-
priority: smithy_client_1.expectInt32(output.priority),
|
|
2759
|
-
schedulingPolicyArn: smithy_client_1.expectString(output.schedulingPolicyArn),
|
|
2760
|
-
state: smithy_client_1.expectString(output.state),
|
|
2761
|
-
status: smithy_client_1.expectString(output.status),
|
|
2762
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2756
|
+
jobQueueArn: (0, smithy_client_1.expectString)(output.jobQueueArn),
|
|
2757
|
+
jobQueueName: (0, smithy_client_1.expectString)(output.jobQueueName),
|
|
2758
|
+
priority: (0, smithy_client_1.expectInt32)(output.priority),
|
|
2759
|
+
schedulingPolicyArn: (0, smithy_client_1.expectString)(output.schedulingPolicyArn),
|
|
2760
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2761
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2762
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2763
2763
|
tags: output.tags !== undefined && output.tags !== null
|
|
2764
2764
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
2765
2765
|
: undefined,
|
|
@@ -2784,18 +2784,18 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
|
2784
2784
|
container: output.container !== undefined && output.container !== null
|
|
2785
2785
|
? deserializeAws_restJson1ContainerSummary(output.container, context)
|
|
2786
2786
|
: undefined,
|
|
2787
|
-
createdAt: smithy_client_1.expectLong(output.createdAt),
|
|
2788
|
-
jobArn: smithy_client_1.expectString(output.jobArn),
|
|
2789
|
-
jobDefinition: smithy_client_1.expectString(output.jobDefinition),
|
|
2790
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
2791
|
-
jobName: smithy_client_1.expectString(output.jobName),
|
|
2787
|
+
createdAt: (0, smithy_client_1.expectLong)(output.createdAt),
|
|
2788
|
+
jobArn: (0, smithy_client_1.expectString)(output.jobArn),
|
|
2789
|
+
jobDefinition: (0, smithy_client_1.expectString)(output.jobDefinition),
|
|
2790
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2791
|
+
jobName: (0, smithy_client_1.expectString)(output.jobName),
|
|
2792
2792
|
nodeProperties: output.nodeProperties !== undefined && output.nodeProperties !== null
|
|
2793
2793
|
? deserializeAws_restJson1NodePropertiesSummary(output.nodeProperties, context)
|
|
2794
2794
|
: undefined,
|
|
2795
|
-
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
2796
|
-
status: smithy_client_1.expectString(output.status),
|
|
2797
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2798
|
-
stoppedAt: smithy_client_1.expectLong(output.stoppedAt),
|
|
2795
|
+
startedAt: (0, smithy_client_1.expectLong)(output.startedAt),
|
|
2796
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2797
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2798
|
+
stoppedAt: (0, smithy_client_1.expectLong)(output.stoppedAt),
|
|
2799
2799
|
};
|
|
2800
2800
|
};
|
|
2801
2801
|
const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
@@ -2811,20 +2811,20 @@ const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
|
2811
2811
|
};
|
|
2812
2812
|
const deserializeAws_restJson1JobTimeout = (output, context) => {
|
|
2813
2813
|
return {
|
|
2814
|
-
attemptDurationSeconds: smithy_client_1.expectInt32(output.attemptDurationSeconds),
|
|
2814
|
+
attemptDurationSeconds: (0, smithy_client_1.expectInt32)(output.attemptDurationSeconds),
|
|
2815
2815
|
};
|
|
2816
2816
|
};
|
|
2817
2817
|
const deserializeAws_restJson1KeyValuePair = (output, context) => {
|
|
2818
2818
|
return {
|
|
2819
|
-
name: smithy_client_1.expectString(output.name),
|
|
2820
|
-
value: smithy_client_1.expectString(output.value),
|
|
2819
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2820
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
2821
2821
|
};
|
|
2822
2822
|
};
|
|
2823
2823
|
const deserializeAws_restJson1LaunchTemplateSpecification = (output, context) => {
|
|
2824
2824
|
return {
|
|
2825
|
-
launchTemplateId: smithy_client_1.expectString(output.launchTemplateId),
|
|
2826
|
-
launchTemplateName: smithy_client_1.expectString(output.launchTemplateName),
|
|
2827
|
-
version: smithy_client_1.expectString(output.version),
|
|
2825
|
+
launchTemplateId: (0, smithy_client_1.expectString)(output.launchTemplateId),
|
|
2826
|
+
launchTemplateName: (0, smithy_client_1.expectString)(output.launchTemplateName),
|
|
2827
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
2828
2828
|
};
|
|
2829
2829
|
};
|
|
2830
2830
|
const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
@@ -2832,10 +2832,10 @@ const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
|
2832
2832
|
devices: output.devices !== undefined && output.devices !== null
|
|
2833
2833
|
? deserializeAws_restJson1DevicesList(output.devices, context)
|
|
2834
2834
|
: undefined,
|
|
2835
|
-
initProcessEnabled: smithy_client_1.expectBoolean(output.initProcessEnabled),
|
|
2836
|
-
maxSwap: smithy_client_1.expectInt32(output.maxSwap),
|
|
2837
|
-
sharedMemorySize: smithy_client_1.expectInt32(output.sharedMemorySize),
|
|
2838
|
-
swappiness: smithy_client_1.expectInt32(output.swappiness),
|
|
2835
|
+
initProcessEnabled: (0, smithy_client_1.expectBoolean)(output.initProcessEnabled),
|
|
2836
|
+
maxSwap: (0, smithy_client_1.expectInt32)(output.maxSwap),
|
|
2837
|
+
sharedMemorySize: (0, smithy_client_1.expectInt32)(output.sharedMemorySize),
|
|
2838
|
+
swappiness: (0, smithy_client_1.expectInt32)(output.swappiness),
|
|
2839
2839
|
tmpfs: output.tmpfs !== undefined && output.tmpfs !== null
|
|
2840
2840
|
? deserializeAws_restJson1TmpfsList(output.tmpfs, context)
|
|
2841
2841
|
: undefined,
|
|
@@ -2843,7 +2843,7 @@ const deserializeAws_restJson1LinuxParameters = (output, context) => {
|
|
|
2843
2843
|
};
|
|
2844
2844
|
const deserializeAws_restJson1LogConfiguration = (output, context) => {
|
|
2845
2845
|
return {
|
|
2846
|
-
logDriver: smithy_client_1.expectString(output.logDriver),
|
|
2846
|
+
logDriver: (0, smithy_client_1.expectString)(output.logDriver),
|
|
2847
2847
|
options: output.options !== undefined && output.options !== null
|
|
2848
2848
|
? deserializeAws_restJson1LogConfigurationOptionsMap(output.options, context)
|
|
2849
2849
|
: undefined,
|
|
@@ -2859,15 +2859,15 @@ const deserializeAws_restJson1LogConfigurationOptionsMap = (output, context) =>
|
|
|
2859
2859
|
}
|
|
2860
2860
|
return {
|
|
2861
2861
|
...acc,
|
|
2862
|
-
[key]: smithy_client_1.expectString(value),
|
|
2862
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2863
2863
|
};
|
|
2864
2864
|
}, {});
|
|
2865
2865
|
};
|
|
2866
2866
|
const deserializeAws_restJson1MountPoint = (output, context) => {
|
|
2867
2867
|
return {
|
|
2868
|
-
containerPath: smithy_client_1.expectString(output.containerPath),
|
|
2869
|
-
readOnly: smithy_client_1.expectBoolean(output.readOnly),
|
|
2870
|
-
sourceVolume: smithy_client_1.expectString(output.sourceVolume),
|
|
2868
|
+
containerPath: (0, smithy_client_1.expectString)(output.containerPath),
|
|
2869
|
+
readOnly: (0, smithy_client_1.expectBoolean)(output.readOnly),
|
|
2870
|
+
sourceVolume: (0, smithy_client_1.expectString)(output.sourceVolume),
|
|
2871
2871
|
};
|
|
2872
2872
|
};
|
|
2873
2873
|
const deserializeAws_restJson1MountPoints = (output, context) => {
|
|
@@ -2883,14 +2883,14 @@ const deserializeAws_restJson1MountPoints = (output, context) => {
|
|
|
2883
2883
|
};
|
|
2884
2884
|
const deserializeAws_restJson1NetworkConfiguration = (output, context) => {
|
|
2885
2885
|
return {
|
|
2886
|
-
assignPublicIp: smithy_client_1.expectString(output.assignPublicIp),
|
|
2886
|
+
assignPublicIp: (0, smithy_client_1.expectString)(output.assignPublicIp),
|
|
2887
2887
|
};
|
|
2888
2888
|
};
|
|
2889
2889
|
const deserializeAws_restJson1NetworkInterface = (output, context) => {
|
|
2890
2890
|
return {
|
|
2891
|
-
attachmentId: smithy_client_1.expectString(output.attachmentId),
|
|
2892
|
-
ipv6Address: smithy_client_1.expectString(output.ipv6Address),
|
|
2893
|
-
privateIpv4Address: smithy_client_1.expectString(output.privateIpv4Address),
|
|
2891
|
+
attachmentId: (0, smithy_client_1.expectString)(output.attachmentId),
|
|
2892
|
+
ipv6Address: (0, smithy_client_1.expectString)(output.ipv6Address),
|
|
2893
|
+
privateIpv4Address: (0, smithy_client_1.expectString)(output.privateIpv4Address),
|
|
2894
2894
|
};
|
|
2895
2895
|
};
|
|
2896
2896
|
const deserializeAws_restJson1NetworkInterfaceList = (output, context) => {
|
|
@@ -2906,24 +2906,24 @@ const deserializeAws_restJson1NetworkInterfaceList = (output, context) => {
|
|
|
2906
2906
|
};
|
|
2907
2907
|
const deserializeAws_restJson1NodeDetails = (output, context) => {
|
|
2908
2908
|
return {
|
|
2909
|
-
isMainNode: smithy_client_1.expectBoolean(output.isMainNode),
|
|
2910
|
-
nodeIndex: smithy_client_1.expectInt32(output.nodeIndex),
|
|
2909
|
+
isMainNode: (0, smithy_client_1.expectBoolean)(output.isMainNode),
|
|
2910
|
+
nodeIndex: (0, smithy_client_1.expectInt32)(output.nodeIndex),
|
|
2911
2911
|
};
|
|
2912
2912
|
};
|
|
2913
2913
|
const deserializeAws_restJson1NodeProperties = (output, context) => {
|
|
2914
2914
|
return {
|
|
2915
|
-
mainNode: smithy_client_1.expectInt32(output.mainNode),
|
|
2915
|
+
mainNode: (0, smithy_client_1.expectInt32)(output.mainNode),
|
|
2916
2916
|
nodeRangeProperties: output.nodeRangeProperties !== undefined && output.nodeRangeProperties !== null
|
|
2917
2917
|
? deserializeAws_restJson1NodeRangeProperties(output.nodeRangeProperties, context)
|
|
2918
2918
|
: undefined,
|
|
2919
|
-
numNodes: smithy_client_1.expectInt32(output.numNodes),
|
|
2919
|
+
numNodes: (0, smithy_client_1.expectInt32)(output.numNodes),
|
|
2920
2920
|
};
|
|
2921
2921
|
};
|
|
2922
2922
|
const deserializeAws_restJson1NodePropertiesSummary = (output, context) => {
|
|
2923
2923
|
return {
|
|
2924
|
-
isMainNode: smithy_client_1.expectBoolean(output.isMainNode),
|
|
2925
|
-
nodeIndex: smithy_client_1.expectInt32(output.nodeIndex),
|
|
2926
|
-
numNodes: smithy_client_1.expectInt32(output.numNodes),
|
|
2924
|
+
isMainNode: (0, smithy_client_1.expectBoolean)(output.isMainNode),
|
|
2925
|
+
nodeIndex: (0, smithy_client_1.expectInt32)(output.nodeIndex),
|
|
2926
|
+
numNodes: (0, smithy_client_1.expectInt32)(output.numNodes),
|
|
2927
2927
|
};
|
|
2928
2928
|
};
|
|
2929
2929
|
const deserializeAws_restJson1NodeRangeProperties = (output, context) => {
|
|
@@ -2942,7 +2942,7 @@ const deserializeAws_restJson1NodeRangeProperty = (output, context) => {
|
|
|
2942
2942
|
container: output.container !== undefined && output.container !== null
|
|
2943
2943
|
? deserializeAws_restJson1ContainerProperties(output.container, context)
|
|
2944
2944
|
: undefined,
|
|
2945
|
-
targetNodes: smithy_client_1.expectString(output.targetNodes),
|
|
2945
|
+
targetNodes: (0, smithy_client_1.expectString)(output.targetNodes),
|
|
2946
2946
|
};
|
|
2947
2947
|
};
|
|
2948
2948
|
const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
@@ -2952,7 +2952,7 @@ const deserializeAws_restJson1ParametersMap = (output, context) => {
|
|
|
2952
2952
|
}
|
|
2953
2953
|
return {
|
|
2954
2954
|
...acc,
|
|
2955
|
-
[key]: smithy_client_1.expectString(value),
|
|
2955
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2956
2956
|
};
|
|
2957
2957
|
}, {});
|
|
2958
2958
|
};
|
|
@@ -2963,14 +2963,14 @@ const deserializeAws_restJson1PlatformCapabilityList = (output, context) => {
|
|
|
2963
2963
|
if (entry === null) {
|
|
2964
2964
|
return null;
|
|
2965
2965
|
}
|
|
2966
|
-
return smithy_client_1.expectString(entry);
|
|
2966
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2967
2967
|
});
|
|
2968
2968
|
return retVal;
|
|
2969
2969
|
};
|
|
2970
2970
|
const deserializeAws_restJson1ResourceRequirement = (output, context) => {
|
|
2971
2971
|
return {
|
|
2972
|
-
type: smithy_client_1.expectString(output.type),
|
|
2973
|
-
value: smithy_client_1.expectString(output.value),
|
|
2972
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2973
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
2974
2974
|
};
|
|
2975
2975
|
};
|
|
2976
2976
|
const deserializeAws_restJson1ResourceRequirements = (output, context) => {
|
|
@@ -2986,7 +2986,7 @@ const deserializeAws_restJson1ResourceRequirements = (output, context) => {
|
|
|
2986
2986
|
};
|
|
2987
2987
|
const deserializeAws_restJson1RetryStrategy = (output, context) => {
|
|
2988
2988
|
return {
|
|
2989
|
-
attempts: smithy_client_1.expectInt32(output.attempts),
|
|
2989
|
+
attempts: (0, smithy_client_1.expectInt32)(output.attempts),
|
|
2990
2990
|
evaluateOnExit: output.evaluateOnExit !== undefined && output.evaluateOnExit !== null
|
|
2991
2991
|
? deserializeAws_restJson1EvaluateOnExitList(output.evaluateOnExit, context)
|
|
2992
2992
|
: undefined,
|
|
@@ -2994,11 +2994,11 @@ const deserializeAws_restJson1RetryStrategy = (output, context) => {
|
|
|
2994
2994
|
};
|
|
2995
2995
|
const deserializeAws_restJson1SchedulingPolicyDetail = (output, context) => {
|
|
2996
2996
|
return {
|
|
2997
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2997
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2998
2998
|
fairsharePolicy: output.fairsharePolicy !== undefined && output.fairsharePolicy !== null
|
|
2999
2999
|
? deserializeAws_restJson1FairsharePolicy(output.fairsharePolicy, context)
|
|
3000
3000
|
: undefined,
|
|
3001
|
-
name: smithy_client_1.expectString(output.name),
|
|
3001
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3002
3002
|
tags: output.tags !== undefined && output.tags !== null
|
|
3003
3003
|
? deserializeAws_restJson1TagrisTagsMap(output.tags, context)
|
|
3004
3004
|
: undefined,
|
|
@@ -3017,7 +3017,7 @@ const deserializeAws_restJson1SchedulingPolicyDetailList = (output, context) =>
|
|
|
3017
3017
|
};
|
|
3018
3018
|
const deserializeAws_restJson1SchedulingPolicyListingDetail = (output, context) => {
|
|
3019
3019
|
return {
|
|
3020
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3020
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3021
3021
|
};
|
|
3022
3022
|
};
|
|
3023
3023
|
const deserializeAws_restJson1SchedulingPolicyListingDetailList = (output, context) => {
|
|
@@ -3033,8 +3033,8 @@ const deserializeAws_restJson1SchedulingPolicyListingDetailList = (output, conte
|
|
|
3033
3033
|
};
|
|
3034
3034
|
const deserializeAws_restJson1Secret = (output, context) => {
|
|
3035
3035
|
return {
|
|
3036
|
-
name: smithy_client_1.expectString(output.name),
|
|
3037
|
-
valueFrom: smithy_client_1.expectString(output.valueFrom),
|
|
3036
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3037
|
+
valueFrom: (0, smithy_client_1.expectString)(output.valueFrom),
|
|
3038
3038
|
};
|
|
3039
3039
|
};
|
|
3040
3040
|
const deserializeAws_restJson1SecretList = (output, context) => {
|
|
@@ -3050,8 +3050,8 @@ const deserializeAws_restJson1SecretList = (output, context) => {
|
|
|
3050
3050
|
};
|
|
3051
3051
|
const deserializeAws_restJson1ShareAttributes = (output, context) => {
|
|
3052
3052
|
return {
|
|
3053
|
-
shareIdentifier: smithy_client_1.expectString(output.shareIdentifier),
|
|
3054
|
-
weightFactor: smithy_client_1.limitedParseFloat32(output.weightFactor),
|
|
3053
|
+
shareIdentifier: (0, smithy_client_1.expectString)(output.shareIdentifier),
|
|
3054
|
+
weightFactor: (0, smithy_client_1.limitedParseFloat32)(output.weightFactor),
|
|
3055
3055
|
};
|
|
3056
3056
|
};
|
|
3057
3057
|
const deserializeAws_restJson1ShareAttributesList = (output, context) => {
|
|
@@ -3072,7 +3072,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
3072
3072
|
if (entry === null) {
|
|
3073
3073
|
return null;
|
|
3074
3074
|
}
|
|
3075
|
-
return smithy_client_1.expectString(entry);
|
|
3075
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3076
3076
|
});
|
|
3077
3077
|
return retVal;
|
|
3078
3078
|
};
|
|
@@ -3083,7 +3083,7 @@ const deserializeAws_restJson1TagrisTagsMap = (output, context) => {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
return {
|
|
3085
3085
|
...acc,
|
|
3086
|
-
[key]: smithy_client_1.expectString(value),
|
|
3086
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3087
3087
|
};
|
|
3088
3088
|
}, {});
|
|
3089
3089
|
};
|
|
@@ -3094,17 +3094,17 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
3094
3094
|
}
|
|
3095
3095
|
return {
|
|
3096
3096
|
...acc,
|
|
3097
|
-
[key]: smithy_client_1.expectString(value),
|
|
3097
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3098
3098
|
};
|
|
3099
3099
|
}, {});
|
|
3100
3100
|
};
|
|
3101
3101
|
const deserializeAws_restJson1Tmpfs = (output, context) => {
|
|
3102
3102
|
return {
|
|
3103
|
-
containerPath: smithy_client_1.expectString(output.containerPath),
|
|
3103
|
+
containerPath: (0, smithy_client_1.expectString)(output.containerPath),
|
|
3104
3104
|
mountOptions: output.mountOptions !== undefined && output.mountOptions !== null
|
|
3105
3105
|
? deserializeAws_restJson1StringList(output.mountOptions, context)
|
|
3106
3106
|
: undefined,
|
|
3107
|
-
size: smithy_client_1.expectInt32(output.size),
|
|
3107
|
+
size: (0, smithy_client_1.expectInt32)(output.size),
|
|
3108
3108
|
};
|
|
3109
3109
|
};
|
|
3110
3110
|
const deserializeAws_restJson1TmpfsList = (output, context) => {
|
|
@@ -3120,9 +3120,9 @@ const deserializeAws_restJson1TmpfsList = (output, context) => {
|
|
|
3120
3120
|
};
|
|
3121
3121
|
const deserializeAws_restJson1Ulimit = (output, context) => {
|
|
3122
3122
|
return {
|
|
3123
|
-
hardLimit: smithy_client_1.expectInt32(output.hardLimit),
|
|
3124
|
-
name: smithy_client_1.expectString(output.name),
|
|
3125
|
-
softLimit: smithy_client_1.expectInt32(output.softLimit),
|
|
3123
|
+
hardLimit: (0, smithy_client_1.expectInt32)(output.hardLimit),
|
|
3124
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3125
|
+
softLimit: (0, smithy_client_1.expectInt32)(output.softLimit),
|
|
3126
3126
|
};
|
|
3127
3127
|
};
|
|
3128
3128
|
const deserializeAws_restJson1Ulimits = (output, context) => {
|
|
@@ -3144,7 +3144,7 @@ const deserializeAws_restJson1Volume = (output, context) => {
|
|
|
3144
3144
|
host: output.host !== undefined && output.host !== null
|
|
3145
3145
|
? deserializeAws_restJson1Host(output.host, context)
|
|
3146
3146
|
: undefined,
|
|
3147
|
-
name: smithy_client_1.expectString(output.name),
|
|
3147
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3148
3148
|
};
|
|
3149
3149
|
};
|
|
3150
3150
|
const deserializeAws_restJson1Volumes = (output, context) => {
|