@aws-sdk/client-emr 3.301.0 → 3.303.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/dist-cjs/models/models_0.js +258 -298
- package/dist-cjs/protocols/Aws_json1_1.js +30 -0
- package/dist-es/models/models_0.js +258 -298
- package/dist-es/protocols/Aws_json1_1.js +30 -0
- package/dist-types/models/models_0.d.ts +479 -257
- package/dist-types/ts3.4/models/models_0.d.ts +336 -258
- package/package.json +35 -35
|
@@ -3562,6 +3562,7 @@ const deserializeAws_json1_1ClusterStateChangeReason = (output, context) => {
|
|
|
3562
3562
|
};
|
|
3563
3563
|
const deserializeAws_json1_1ClusterStatus = (output, context) => {
|
|
3564
3564
|
return {
|
|
3565
|
+
ErrorDetails: output.ErrorDetails != null ? deserializeAws_json1_1ErrorDetailList(output.ErrorDetails, context) : undefined,
|
|
3565
3566
|
State: __expectString(output.State),
|
|
3566
3567
|
StateChangeReason: output.StateChangeReason != null
|
|
3567
3568
|
? deserializeAws_json1_1ClusterStateChangeReason(output.StateChangeReason, context)
|
|
@@ -3793,6 +3794,35 @@ const deserializeAws_json1_1EC2InstanceIdsList = (output, context) => {
|
|
|
3793
3794
|
});
|
|
3794
3795
|
return retVal;
|
|
3795
3796
|
};
|
|
3797
|
+
const deserializeAws_json1_1ErrorData = (output, context) => {
|
|
3798
|
+
const retVal = (output || [])
|
|
3799
|
+
.filter((e) => e != null)
|
|
3800
|
+
.map((entry) => {
|
|
3801
|
+
if (entry === null) {
|
|
3802
|
+
return null;
|
|
3803
|
+
}
|
|
3804
|
+
return deserializeAws_json1_1StringMap(entry, context);
|
|
3805
|
+
});
|
|
3806
|
+
return retVal;
|
|
3807
|
+
};
|
|
3808
|
+
const deserializeAws_json1_1ErrorDetail = (output, context) => {
|
|
3809
|
+
return {
|
|
3810
|
+
ErrorCode: __expectString(output.ErrorCode),
|
|
3811
|
+
ErrorData: output.ErrorData != null ? deserializeAws_json1_1ErrorData(output.ErrorData, context) : undefined,
|
|
3812
|
+
ErrorMessage: __expectString(output.ErrorMessage),
|
|
3813
|
+
};
|
|
3814
|
+
};
|
|
3815
|
+
const deserializeAws_json1_1ErrorDetailList = (output, context) => {
|
|
3816
|
+
const retVal = (output || [])
|
|
3817
|
+
.filter((e) => e != null)
|
|
3818
|
+
.map((entry) => {
|
|
3819
|
+
if (entry === null) {
|
|
3820
|
+
return null;
|
|
3821
|
+
}
|
|
3822
|
+
return deserializeAws_json1_1ErrorDetail(entry, context);
|
|
3823
|
+
});
|
|
3824
|
+
return retVal;
|
|
3825
|
+
};
|
|
3796
3826
|
const deserializeAws_json1_1ExecutionEngineConfig = (output, context) => {
|
|
3797
3827
|
return {
|
|
3798
3828
|
Id: __expectString(output.Id),
|