@aws-sdk/client-compute-optimizer 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/ComputeOptimizerClient.js +13 -13
- package/dist-cjs/commands/DeleteRecommendationPreferencesCommand.js +3 -3
- package/dist-cjs/commands/DescribeRecommendationExportJobsCommand.js +3 -3
- package/dist-cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ExportEBSVolumeRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ExportEC2InstanceRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ExportLambdaFunctionRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/GetAutoScalingGroupRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/GetEBSVolumeRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/GetEC2InstanceRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js +3 -3
- package/dist-cjs/commands/GetEffectiveRecommendationPreferencesCommand.js +3 -3
- package/dist-cjs/commands/GetEnrollmentStatusCommand.js +3 -3
- package/dist-cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js +3 -3
- package/dist-cjs/commands/GetLambdaFunctionRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/GetRecommendationPreferencesCommand.js +3 -3
- package/dist-cjs/commands/GetRecommendationSummariesCommand.js +3 -3
- package/dist-cjs/commands/PutRecommendationPreferencesCommand.js +3 -3
- package/dist-cjs/commands/UpdateEnrollmentStatusCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +167 -167
- 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/ComputeOptimizer.js +18 -18
- package/dist-types/ComputeOptimizerClient.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/ComputeOptimizerClient.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
|
@@ -239,7 +239,7 @@ const deserializeAws_json1_0DeleteRecommendationPreferencesCommandError = async
|
|
|
239
239
|
$fault: "client",
|
|
240
240
|
$metadata: deserializeMetadata(output),
|
|
241
241
|
});
|
|
242
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
242
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
const deserializeAws_json1_0DescribeRecommendationExportJobsCommand = async (output, context) => {
|
|
@@ -296,7 +296,7 @@ const deserializeAws_json1_0DescribeRecommendationExportJobsCommandError = async
|
|
|
296
296
|
$fault: "client",
|
|
297
297
|
$metadata: deserializeMetadata(output),
|
|
298
298
|
});
|
|
299
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
299
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
302
|
const deserializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand = async (output, context) => {
|
|
@@ -353,7 +353,7 @@ const deserializeAws_json1_0ExportAutoScalingGroupRecommendationsCommandError =
|
|
|
353
353
|
$fault: "client",
|
|
354
354
|
$metadata: deserializeMetadata(output),
|
|
355
355
|
});
|
|
356
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
356
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
359
|
const deserializeAws_json1_0ExportEBSVolumeRecommendationsCommand = async (output, context) => {
|
|
@@ -410,7 +410,7 @@ const deserializeAws_json1_0ExportEBSVolumeRecommendationsCommandError = async (
|
|
|
410
410
|
$fault: "client",
|
|
411
411
|
$metadata: deserializeMetadata(output),
|
|
412
412
|
});
|
|
413
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
413
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
416
|
const deserializeAws_json1_0ExportEC2InstanceRecommendationsCommand = async (output, context) => {
|
|
@@ -467,7 +467,7 @@ const deserializeAws_json1_0ExportEC2InstanceRecommendationsCommandError = async
|
|
|
467
467
|
$fault: "client",
|
|
468
468
|
$metadata: deserializeMetadata(output),
|
|
469
469
|
});
|
|
470
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
470
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
473
|
const deserializeAws_json1_0ExportLambdaFunctionRecommendationsCommand = async (output, context) => {
|
|
@@ -524,7 +524,7 @@ const deserializeAws_json1_0ExportLambdaFunctionRecommendationsCommandError = as
|
|
|
524
524
|
$fault: "client",
|
|
525
525
|
$metadata: deserializeMetadata(output),
|
|
526
526
|
});
|
|
527
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
527
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
530
|
const deserializeAws_json1_0GetAutoScalingGroupRecommendationsCommand = async (output, context) => {
|
|
@@ -581,7 +581,7 @@ const deserializeAws_json1_0GetAutoScalingGroupRecommendationsCommandError = asy
|
|
|
581
581
|
$fault: "client",
|
|
582
582
|
$metadata: deserializeMetadata(output),
|
|
583
583
|
});
|
|
584
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
584
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
587
|
const deserializeAws_json1_0GetEBSVolumeRecommendationsCommand = async (output, context) => {
|
|
@@ -638,7 +638,7 @@ const deserializeAws_json1_0GetEBSVolumeRecommendationsCommandError = async (out
|
|
|
638
638
|
$fault: "client",
|
|
639
639
|
$metadata: deserializeMetadata(output),
|
|
640
640
|
});
|
|
641
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
641
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
642
642
|
}
|
|
643
643
|
};
|
|
644
644
|
const deserializeAws_json1_0GetEC2InstanceRecommendationsCommand = async (output, context) => {
|
|
@@ -695,7 +695,7 @@ const deserializeAws_json1_0GetEC2InstanceRecommendationsCommandError = async (o
|
|
|
695
695
|
$fault: "client",
|
|
696
696
|
$metadata: deserializeMetadata(output),
|
|
697
697
|
});
|
|
698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand = async (output, context) => {
|
|
@@ -752,7 +752,7 @@ const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsCommandError = a
|
|
|
752
752
|
$fault: "client",
|
|
753
753
|
$metadata: deserializeMetadata(output),
|
|
754
754
|
});
|
|
755
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
755
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
758
|
const deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommand = async (output, context) => {
|
|
@@ -809,7 +809,7 @@ const deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommandError =
|
|
|
809
809
|
$fault: "client",
|
|
810
810
|
$metadata: deserializeMetadata(output),
|
|
811
811
|
});
|
|
812
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
812
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
const deserializeAws_json1_0GetEnrollmentStatusCommand = async (output, context) => {
|
|
@@ -860,7 +860,7 @@ const deserializeAws_json1_0GetEnrollmentStatusCommandError = async (output, con
|
|
|
860
860
|
$fault: "client",
|
|
861
861
|
$metadata: deserializeMetadata(output),
|
|
862
862
|
});
|
|
863
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
863
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
864
864
|
}
|
|
865
865
|
};
|
|
866
866
|
const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationCommand = async (output, context) => {
|
|
@@ -911,7 +911,7 @@ const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationCommandError = a
|
|
|
911
911
|
$fault: "client",
|
|
912
912
|
$metadata: deserializeMetadata(output),
|
|
913
913
|
});
|
|
914
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
914
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
917
|
const deserializeAws_json1_0GetLambdaFunctionRecommendationsCommand = async (output, context) => {
|
|
@@ -968,7 +968,7 @@ const deserializeAws_json1_0GetLambdaFunctionRecommendationsCommandError = async
|
|
|
968
968
|
$fault: "client",
|
|
969
969
|
$metadata: deserializeMetadata(output),
|
|
970
970
|
});
|
|
971
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
971
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
972
972
|
}
|
|
973
973
|
};
|
|
974
974
|
const deserializeAws_json1_0GetRecommendationPreferencesCommand = async (output, context) => {
|
|
@@ -1025,7 +1025,7 @@ const deserializeAws_json1_0GetRecommendationPreferencesCommandError = async (ou
|
|
|
1025
1025
|
$fault: "client",
|
|
1026
1026
|
$metadata: deserializeMetadata(output),
|
|
1027
1027
|
});
|
|
1028
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1028
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1029
1029
|
}
|
|
1030
1030
|
};
|
|
1031
1031
|
const deserializeAws_json1_0GetRecommendationSummariesCommand = async (output, context) => {
|
|
@@ -1079,7 +1079,7 @@ const deserializeAws_json1_0GetRecommendationSummariesCommandError = async (outp
|
|
|
1079
1079
|
$fault: "client",
|
|
1080
1080
|
$metadata: deserializeMetadata(output),
|
|
1081
1081
|
});
|
|
1082
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1082
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
1085
|
const deserializeAws_json1_0PutRecommendationPreferencesCommand = async (output, context) => {
|
|
@@ -1136,7 +1136,7 @@ const deserializeAws_json1_0PutRecommendationPreferencesCommandError = async (ou
|
|
|
1136
1136
|
$fault: "client",
|
|
1137
1137
|
$metadata: deserializeMetadata(output),
|
|
1138
1138
|
});
|
|
1139
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1139
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1140
1140
|
}
|
|
1141
1141
|
};
|
|
1142
1142
|
const deserializeAws_json1_0UpdateEnrollmentStatusCommand = async (output, context) => {
|
|
@@ -1187,7 +1187,7 @@ const deserializeAws_json1_0UpdateEnrollmentStatusCommandError = async (output,
|
|
|
1187
1187
|
$fault: "client",
|
|
1188
1188
|
$metadata: deserializeMetadata(output),
|
|
1189
1189
|
});
|
|
1190
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1190
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1191
1191
|
}
|
|
1192
1192
|
};
|
|
1193
1193
|
const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1197,7 +1197,7 @@ const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
1197
1197
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1198
1198
|
...deserialized,
|
|
1199
1199
|
});
|
|
1200
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1200
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1201
1201
|
};
|
|
1202
1202
|
const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1203
1203
|
const body = parsedOutput.body;
|
|
@@ -1206,7 +1206,7 @@ const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutpu
|
|
|
1206
1206
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1207
1207
|
...deserialized,
|
|
1208
1208
|
});
|
|
1209
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1209
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1210
1210
|
};
|
|
1211
1211
|
const deserializeAws_json1_0InvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
|
|
1212
1212
|
const body = parsedOutput.body;
|
|
@@ -1215,7 +1215,7 @@ const deserializeAws_json1_0InvalidParameterValueExceptionResponse = async (pars
|
|
|
1215
1215
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1216
1216
|
...deserialized,
|
|
1217
1217
|
});
|
|
1218
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1218
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1219
1219
|
};
|
|
1220
1220
|
const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1221
1221
|
const body = parsedOutput.body;
|
|
@@ -1224,7 +1224,7 @@ const deserializeAws_json1_0LimitExceededExceptionResponse = async (parsedOutput
|
|
|
1224
1224
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1225
1225
|
...deserialized,
|
|
1226
1226
|
});
|
|
1227
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1227
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1228
1228
|
};
|
|
1229
1229
|
const deserializeAws_json1_0MissingAuthenticationTokenResponse = async (parsedOutput, context) => {
|
|
1230
1230
|
const body = parsedOutput.body;
|
|
@@ -1233,7 +1233,7 @@ const deserializeAws_json1_0MissingAuthenticationTokenResponse = async (parsedOu
|
|
|
1233
1233
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
1234
|
...deserialized,
|
|
1235
1235
|
});
|
|
1236
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1236
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1237
1237
|
};
|
|
1238
1238
|
const deserializeAws_json1_0OptInRequiredExceptionResponse = async (parsedOutput, context) => {
|
|
1239
1239
|
const body = parsedOutput.body;
|
|
@@ -1242,7 +1242,7 @@ const deserializeAws_json1_0OptInRequiredExceptionResponse = async (parsedOutput
|
|
|
1242
1242
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1243
1243
|
...deserialized,
|
|
1244
1244
|
});
|
|
1245
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1245
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1246
1246
|
};
|
|
1247
1247
|
const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1248
1248
|
const body = parsedOutput.body;
|
|
@@ -1251,7 +1251,7 @@ const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1251
1251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1252
1252
|
...deserialized,
|
|
1253
1253
|
});
|
|
1254
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1254
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1255
1255
|
};
|
|
1256
1256
|
const deserializeAws_json1_0ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
1257
1257
|
const body = parsedOutput.body;
|
|
@@ -1260,7 +1260,7 @@ const deserializeAws_json1_0ServiceUnavailableExceptionResponse = async (parsedO
|
|
|
1260
1260
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1261
1261
|
...deserialized,
|
|
1262
1262
|
});
|
|
1263
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1263
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1264
1264
|
};
|
|
1265
1265
|
const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1266
1266
|
const body = parsedOutput.body;
|
|
@@ -1269,7 +1269,7 @@ const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
1269
1269
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1270
1270
|
...deserialized,
|
|
1271
1271
|
});
|
|
1272
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1272
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1273
1273
|
};
|
|
1274
1274
|
const serializeAws_json1_0AccountIds = (input, context) => {
|
|
1275
1275
|
return input
|
|
@@ -1743,17 +1743,17 @@ const serializeAws_json1_0VolumeArns = (input, context) => {
|
|
|
1743
1743
|
};
|
|
1744
1744
|
const deserializeAws_json1_0AccessDeniedException = (output, context) => {
|
|
1745
1745
|
return {
|
|
1746
|
-
message: smithy_client_1.expectString(output.message),
|
|
1746
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1747
1747
|
};
|
|
1748
1748
|
};
|
|
1749
1749
|
const deserializeAws_json1_0AccountEnrollmentStatus = (output, context) => {
|
|
1750
1750
|
return {
|
|
1751
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
1751
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
1752
1752
|
lastUpdatedTimestamp: output.lastUpdatedTimestamp !== undefined && output.lastUpdatedTimestamp !== null
|
|
1753
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTimestamp)))
|
|
1753
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTimestamp)))
|
|
1754
1754
|
: undefined,
|
|
1755
|
-
status: smithy_client_1.expectString(output.status),
|
|
1756
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
1755
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1756
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
1757
1757
|
};
|
|
1758
1758
|
};
|
|
1759
1759
|
const deserializeAws_json1_0AccountEnrollmentStatuses = (output, context) => {
|
|
@@ -1769,32 +1769,32 @@ const deserializeAws_json1_0AccountEnrollmentStatuses = (output, context) => {
|
|
|
1769
1769
|
};
|
|
1770
1770
|
const deserializeAws_json1_0AutoScalingGroupConfiguration = (output, context) => {
|
|
1771
1771
|
return {
|
|
1772
|
-
desiredCapacity: smithy_client_1.expectInt32(output.desiredCapacity),
|
|
1773
|
-
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
1774
|
-
maxSize: smithy_client_1.expectInt32(output.maxSize),
|
|
1775
|
-
minSize: smithy_client_1.expectInt32(output.minSize),
|
|
1772
|
+
desiredCapacity: (0, smithy_client_1.expectInt32)(output.desiredCapacity),
|
|
1773
|
+
instanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
1774
|
+
maxSize: (0, smithy_client_1.expectInt32)(output.maxSize),
|
|
1775
|
+
minSize: (0, smithy_client_1.expectInt32)(output.minSize),
|
|
1776
1776
|
};
|
|
1777
1777
|
};
|
|
1778
1778
|
const deserializeAws_json1_0AutoScalingGroupRecommendation = (output, context) => {
|
|
1779
1779
|
return {
|
|
1780
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
1781
|
-
autoScalingGroupArn: smithy_client_1.expectString(output.autoScalingGroupArn),
|
|
1782
|
-
autoScalingGroupName: smithy_client_1.expectString(output.autoScalingGroupName),
|
|
1780
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
1781
|
+
autoScalingGroupArn: (0, smithy_client_1.expectString)(output.autoScalingGroupArn),
|
|
1782
|
+
autoScalingGroupName: (0, smithy_client_1.expectString)(output.autoScalingGroupName),
|
|
1783
1783
|
currentConfiguration: output.currentConfiguration !== undefined && output.currentConfiguration !== null
|
|
1784
1784
|
? deserializeAws_json1_0AutoScalingGroupConfiguration(output.currentConfiguration, context)
|
|
1785
1785
|
: undefined,
|
|
1786
|
-
currentPerformanceRisk: smithy_client_1.expectString(output.currentPerformanceRisk),
|
|
1786
|
+
currentPerformanceRisk: (0, smithy_client_1.expectString)(output.currentPerformanceRisk),
|
|
1787
1787
|
effectiveRecommendationPreferences: output.effectiveRecommendationPreferences !== undefined && output.effectiveRecommendationPreferences !== null
|
|
1788
1788
|
? deserializeAws_json1_0EffectiveRecommendationPreferences(output.effectiveRecommendationPreferences, context)
|
|
1789
1789
|
: undefined,
|
|
1790
|
-
finding: smithy_client_1.expectString(output.finding),
|
|
1790
|
+
finding: (0, smithy_client_1.expectString)(output.finding),
|
|
1791
1791
|
inferredWorkloadTypes: output.inferredWorkloadTypes !== undefined && output.inferredWorkloadTypes !== null
|
|
1792
1792
|
? deserializeAws_json1_0InferredWorkloadTypes(output.inferredWorkloadTypes, context)
|
|
1793
1793
|
: undefined,
|
|
1794
1794
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
1795
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
1795
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastRefreshTimestamp)))
|
|
1796
1796
|
: undefined,
|
|
1797
|
-
lookBackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookBackPeriodInDays),
|
|
1797
|
+
lookBackPeriodInDays: (0, smithy_client_1.limitedParseDouble)(output.lookBackPeriodInDays),
|
|
1798
1798
|
recommendationOptions: output.recommendationOptions !== undefined && output.recommendationOptions !== null
|
|
1799
1799
|
? deserializeAws_json1_0AutoScalingGroupRecommendationOptions(output.recommendationOptions, context)
|
|
1800
1800
|
: undefined,
|
|
@@ -1808,12 +1808,12 @@ const deserializeAws_json1_0AutoScalingGroupRecommendationOption = (output, cont
|
|
|
1808
1808
|
configuration: output.configuration !== undefined && output.configuration !== null
|
|
1809
1809
|
? deserializeAws_json1_0AutoScalingGroupConfiguration(output.configuration, context)
|
|
1810
1810
|
: undefined,
|
|
1811
|
-
migrationEffort: smithy_client_1.expectString(output.migrationEffort),
|
|
1812
|
-
performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
|
|
1811
|
+
migrationEffort: (0, smithy_client_1.expectString)(output.migrationEffort),
|
|
1812
|
+
performanceRisk: (0, smithy_client_1.limitedParseDouble)(output.performanceRisk),
|
|
1813
1813
|
projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
|
|
1814
1814
|
? deserializeAws_json1_0ProjectedUtilizationMetrics(output.projectedUtilizationMetrics, context)
|
|
1815
1815
|
: undefined,
|
|
1816
|
-
rank: smithy_client_1.expectInt32(output.rank),
|
|
1816
|
+
rank: (0, smithy_client_1.expectInt32)(output.rank),
|
|
1817
1817
|
savingsOpportunity: output.savingsOpportunity !== undefined && output.savingsOpportunity !== null
|
|
1818
1818
|
? deserializeAws_json1_0SavingsOpportunity(output.savingsOpportunity, context)
|
|
1819
1819
|
: undefined,
|
|
@@ -1848,16 +1848,16 @@ const deserializeAws_json1_0CpuVendorArchitectures = (output, context) => {
|
|
|
1848
1848
|
if (entry === null) {
|
|
1849
1849
|
return null;
|
|
1850
1850
|
}
|
|
1851
|
-
return smithy_client_1.expectString(entry);
|
|
1851
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1852
1852
|
});
|
|
1853
1853
|
return retVal;
|
|
1854
1854
|
};
|
|
1855
1855
|
const deserializeAws_json1_0CurrentPerformanceRiskRatings = (output, context) => {
|
|
1856
1856
|
return {
|
|
1857
|
-
high: smithy_client_1.expectLong(output.high),
|
|
1858
|
-
low: smithy_client_1.expectLong(output.low),
|
|
1859
|
-
medium: smithy_client_1.expectLong(output.medium),
|
|
1860
|
-
veryLow: smithy_client_1.expectLong(output.veryLow),
|
|
1857
|
+
high: (0, smithy_client_1.expectLong)(output.high),
|
|
1858
|
+
low: (0, smithy_client_1.expectLong)(output.low),
|
|
1859
|
+
medium: (0, smithy_client_1.expectLong)(output.medium),
|
|
1860
|
+
veryLow: (0, smithy_client_1.expectLong)(output.veryLow),
|
|
1861
1861
|
};
|
|
1862
1862
|
};
|
|
1863
1863
|
const deserializeAws_json1_0DeleteRecommendationPreferencesResponse = (output, context) => {
|
|
@@ -1865,7 +1865,7 @@ const deserializeAws_json1_0DeleteRecommendationPreferencesResponse = (output, c
|
|
|
1865
1865
|
};
|
|
1866
1866
|
const deserializeAws_json1_0DescribeRecommendationExportJobsResponse = (output, context) => {
|
|
1867
1867
|
return {
|
|
1868
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1868
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1869
1869
|
recommendationExportJobs: output.recommendationExportJobs !== undefined && output.recommendationExportJobs !== null
|
|
1870
1870
|
? deserializeAws_json1_0RecommendationExportJobs(output.recommendationExportJobs, context)
|
|
1871
1871
|
: undefined,
|
|
@@ -1873,9 +1873,9 @@ const deserializeAws_json1_0DescribeRecommendationExportJobsResponse = (output,
|
|
|
1873
1873
|
};
|
|
1874
1874
|
const deserializeAws_json1_0EBSUtilizationMetric = (output, context) => {
|
|
1875
1875
|
return {
|
|
1876
|
-
name: smithy_client_1.expectString(output.name),
|
|
1877
|
-
statistic: smithy_client_1.expectString(output.statistic),
|
|
1878
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
1876
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1877
|
+
statistic: (0, smithy_client_1.expectString)(output.statistic),
|
|
1878
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
1879
1879
|
};
|
|
1880
1880
|
};
|
|
1881
1881
|
const deserializeAws_json1_0EBSUtilizationMetrics = (output, context) => {
|
|
@@ -1894,19 +1894,19 @@ const deserializeAws_json1_0EffectiveRecommendationPreferences = (output, contex
|
|
|
1894
1894
|
cpuVendorArchitectures: output.cpuVendorArchitectures !== undefined && output.cpuVendorArchitectures !== null
|
|
1895
1895
|
? deserializeAws_json1_0CpuVendorArchitectures(output.cpuVendorArchitectures, context)
|
|
1896
1896
|
: undefined,
|
|
1897
|
-
enhancedInfrastructureMetrics: smithy_client_1.expectString(output.enhancedInfrastructureMetrics),
|
|
1898
|
-
inferredWorkloadTypes: smithy_client_1.expectString(output.inferredWorkloadTypes),
|
|
1897
|
+
enhancedInfrastructureMetrics: (0, smithy_client_1.expectString)(output.enhancedInfrastructureMetrics),
|
|
1898
|
+
inferredWorkloadTypes: (0, smithy_client_1.expectString)(output.inferredWorkloadTypes),
|
|
1899
1899
|
};
|
|
1900
1900
|
};
|
|
1901
1901
|
const deserializeAws_json1_0EstimatedMonthlySavings = (output, context) => {
|
|
1902
1902
|
return {
|
|
1903
|
-
currency: smithy_client_1.expectString(output.currency),
|
|
1904
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
1903
|
+
currency: (0, smithy_client_1.expectString)(output.currency),
|
|
1904
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
1905
1905
|
};
|
|
1906
1906
|
};
|
|
1907
1907
|
const deserializeAws_json1_0ExportAutoScalingGroupRecommendationsResponse = (output, context) => {
|
|
1908
1908
|
return {
|
|
1909
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
1909
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
1910
1910
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
1911
1911
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
1912
1912
|
: undefined,
|
|
@@ -1921,7 +1921,7 @@ const deserializeAws_json1_0ExportDestination = (output, context) => {
|
|
|
1921
1921
|
};
|
|
1922
1922
|
const deserializeAws_json1_0ExportEBSVolumeRecommendationsResponse = (output, context) => {
|
|
1923
1923
|
return {
|
|
1924
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
1924
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
1925
1925
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
1926
1926
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
1927
1927
|
: undefined,
|
|
@@ -1929,7 +1929,7 @@ const deserializeAws_json1_0ExportEBSVolumeRecommendationsResponse = (output, co
|
|
|
1929
1929
|
};
|
|
1930
1930
|
const deserializeAws_json1_0ExportEC2InstanceRecommendationsResponse = (output, context) => {
|
|
1931
1931
|
return {
|
|
1932
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
1932
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
1933
1933
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
1934
1934
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
1935
1935
|
: undefined,
|
|
@@ -1937,7 +1937,7 @@ const deserializeAws_json1_0ExportEC2InstanceRecommendationsResponse = (output,
|
|
|
1937
1937
|
};
|
|
1938
1938
|
const deserializeAws_json1_0ExportLambdaFunctionRecommendationsResponse = (output, context) => {
|
|
1939
1939
|
return {
|
|
1940
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
1940
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
1941
1941
|
s3Destination: output.s3Destination !== undefined && output.s3Destination !== null
|
|
1942
1942
|
? deserializeAws_json1_0S3Destination(output.s3Destination, context)
|
|
1943
1943
|
: undefined,
|
|
@@ -1951,7 +1951,7 @@ const deserializeAws_json1_0GetAutoScalingGroupRecommendationsResponse = (output
|
|
|
1951
1951
|
errors: output.errors !== undefined && output.errors !== null
|
|
1952
1952
|
? deserializeAws_json1_0GetRecommendationErrors(output.errors, context)
|
|
1953
1953
|
: undefined,
|
|
1954
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1954
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1955
1955
|
};
|
|
1956
1956
|
};
|
|
1957
1957
|
const deserializeAws_json1_0GetEBSVolumeRecommendationsResponse = (output, context) => {
|
|
@@ -1959,7 +1959,7 @@ const deserializeAws_json1_0GetEBSVolumeRecommendationsResponse = (output, conte
|
|
|
1959
1959
|
errors: output.errors !== undefined && output.errors !== null
|
|
1960
1960
|
? deserializeAws_json1_0GetRecommendationErrors(output.errors, context)
|
|
1961
1961
|
: undefined,
|
|
1962
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1962
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1963
1963
|
volumeRecommendations: output.volumeRecommendations !== undefined && output.volumeRecommendations !== null
|
|
1964
1964
|
? deserializeAws_json1_0VolumeRecommendations(output.volumeRecommendations, context)
|
|
1965
1965
|
: undefined,
|
|
@@ -1973,7 +1973,7 @@ const deserializeAws_json1_0GetEC2InstanceRecommendationsResponse = (output, con
|
|
|
1973
1973
|
instanceRecommendations: output.instanceRecommendations !== undefined && output.instanceRecommendations !== null
|
|
1974
1974
|
? deserializeAws_json1_0InstanceRecommendations(output.instanceRecommendations, context)
|
|
1975
1975
|
: undefined,
|
|
1976
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1976
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1977
1977
|
};
|
|
1978
1978
|
};
|
|
1979
1979
|
const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsResponse = (output, context) => {
|
|
@@ -1985,7 +1985,7 @@ const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsResponse = (outp
|
|
|
1985
1985
|
};
|
|
1986
1986
|
const deserializeAws_json1_0GetEffectiveRecommendationPreferencesResponse = (output, context) => {
|
|
1987
1987
|
return {
|
|
1988
|
-
enhancedInfrastructureMetrics: smithy_client_1.expectString(output.enhancedInfrastructureMetrics),
|
|
1988
|
+
enhancedInfrastructureMetrics: (0, smithy_client_1.expectString)(output.enhancedInfrastructureMetrics),
|
|
1989
1989
|
};
|
|
1990
1990
|
};
|
|
1991
1991
|
const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationResponse = (output, context) => {
|
|
@@ -1993,18 +1993,18 @@ const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationResponse = (outp
|
|
|
1993
1993
|
accountEnrollmentStatuses: output.accountEnrollmentStatuses !== undefined && output.accountEnrollmentStatuses !== null
|
|
1994
1994
|
? deserializeAws_json1_0AccountEnrollmentStatuses(output.accountEnrollmentStatuses, context)
|
|
1995
1995
|
: undefined,
|
|
1996
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1996
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1997
1997
|
};
|
|
1998
1998
|
};
|
|
1999
1999
|
const deserializeAws_json1_0GetEnrollmentStatusResponse = (output, context) => {
|
|
2000
2000
|
return {
|
|
2001
2001
|
lastUpdatedTimestamp: output.lastUpdatedTimestamp !== undefined && output.lastUpdatedTimestamp !== null
|
|
2002
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTimestamp)))
|
|
2002
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTimestamp)))
|
|
2003
2003
|
: undefined,
|
|
2004
|
-
memberAccountsEnrolled: smithy_client_1.expectBoolean(output.memberAccountsEnrolled),
|
|
2005
|
-
numberOfMemberAccountsOptedIn: smithy_client_1.expectInt32(output.numberOfMemberAccountsOptedIn),
|
|
2006
|
-
status: smithy_client_1.expectString(output.status),
|
|
2007
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2004
|
+
memberAccountsEnrolled: (0, smithy_client_1.expectBoolean)(output.memberAccountsEnrolled),
|
|
2005
|
+
numberOfMemberAccountsOptedIn: (0, smithy_client_1.expectInt32)(output.numberOfMemberAccountsOptedIn),
|
|
2006
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2007
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2008
2008
|
};
|
|
2009
2009
|
};
|
|
2010
2010
|
const deserializeAws_json1_0GetLambdaFunctionRecommendationsResponse = (output, context) => {
|
|
@@ -2012,14 +2012,14 @@ const deserializeAws_json1_0GetLambdaFunctionRecommendationsResponse = (output,
|
|
|
2012
2012
|
lambdaFunctionRecommendations: output.lambdaFunctionRecommendations !== undefined && output.lambdaFunctionRecommendations !== null
|
|
2013
2013
|
? deserializeAws_json1_0LambdaFunctionRecommendations(output.lambdaFunctionRecommendations, context)
|
|
2014
2014
|
: undefined,
|
|
2015
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2015
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2016
2016
|
};
|
|
2017
2017
|
};
|
|
2018
2018
|
const deserializeAws_json1_0GetRecommendationError = (output, context) => {
|
|
2019
2019
|
return {
|
|
2020
|
-
code: smithy_client_1.expectString(output.code),
|
|
2021
|
-
identifier: smithy_client_1.expectString(output.identifier),
|
|
2022
|
-
message: smithy_client_1.expectString(output.message),
|
|
2020
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
2021
|
+
identifier: (0, smithy_client_1.expectString)(output.identifier),
|
|
2022
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2023
2023
|
};
|
|
2024
2024
|
};
|
|
2025
2025
|
const deserializeAws_json1_0GetRecommendationErrors = (output, context) => {
|
|
@@ -2035,7 +2035,7 @@ const deserializeAws_json1_0GetRecommendationErrors = (output, context) => {
|
|
|
2035
2035
|
};
|
|
2036
2036
|
const deserializeAws_json1_0GetRecommendationPreferencesResponse = (output, context) => {
|
|
2037
2037
|
return {
|
|
2038
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2038
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2039
2039
|
recommendationPreferencesDetails: output.recommendationPreferencesDetails !== undefined && output.recommendationPreferencesDetails !== null
|
|
2040
2040
|
? deserializeAws_json1_0RecommendationPreferencesDetails(output.recommendationPreferencesDetails, context)
|
|
2041
2041
|
: undefined,
|
|
@@ -2043,7 +2043,7 @@ const deserializeAws_json1_0GetRecommendationPreferencesResponse = (output, cont
|
|
|
2043
2043
|
};
|
|
2044
2044
|
const deserializeAws_json1_0GetRecommendationSummariesResponse = (output, context) => {
|
|
2045
2045
|
return {
|
|
2046
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
2046
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
2047
2047
|
recommendationSummaries: output.recommendationSummaries !== undefined && output.recommendationSummaries !== null
|
|
2048
2048
|
? deserializeAws_json1_0RecommendationSummaries(output.recommendationSummaries, context)
|
|
2049
2049
|
: undefined,
|
|
@@ -2056,31 +2056,31 @@ const deserializeAws_json1_0InferredWorkloadTypes = (output, context) => {
|
|
|
2056
2056
|
if (entry === null) {
|
|
2057
2057
|
return null;
|
|
2058
2058
|
}
|
|
2059
|
-
return smithy_client_1.expectString(entry);
|
|
2059
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2060
2060
|
});
|
|
2061
2061
|
return retVal;
|
|
2062
2062
|
};
|
|
2063
2063
|
const deserializeAws_json1_0InstanceRecommendation = (output, context) => {
|
|
2064
2064
|
return {
|
|
2065
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
2066
|
-
currentInstanceType: smithy_client_1.expectString(output.currentInstanceType),
|
|
2067
|
-
currentPerformanceRisk: smithy_client_1.expectString(output.currentPerformanceRisk),
|
|
2065
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
2066
|
+
currentInstanceType: (0, smithy_client_1.expectString)(output.currentInstanceType),
|
|
2067
|
+
currentPerformanceRisk: (0, smithy_client_1.expectString)(output.currentPerformanceRisk),
|
|
2068
2068
|
effectiveRecommendationPreferences: output.effectiveRecommendationPreferences !== undefined && output.effectiveRecommendationPreferences !== null
|
|
2069
2069
|
? deserializeAws_json1_0EffectiveRecommendationPreferences(output.effectiveRecommendationPreferences, context)
|
|
2070
2070
|
: undefined,
|
|
2071
|
-
finding: smithy_client_1.expectString(output.finding),
|
|
2071
|
+
finding: (0, smithy_client_1.expectString)(output.finding),
|
|
2072
2072
|
findingReasonCodes: output.findingReasonCodes !== undefined && output.findingReasonCodes !== null
|
|
2073
2073
|
? deserializeAws_json1_0InstanceRecommendationFindingReasonCodes(output.findingReasonCodes, context)
|
|
2074
2074
|
: undefined,
|
|
2075
2075
|
inferredWorkloadTypes: output.inferredWorkloadTypes !== undefined && output.inferredWorkloadTypes !== null
|
|
2076
2076
|
? deserializeAws_json1_0InferredWorkloadTypes(output.inferredWorkloadTypes, context)
|
|
2077
2077
|
: undefined,
|
|
2078
|
-
instanceArn: smithy_client_1.expectString(output.instanceArn),
|
|
2079
|
-
instanceName: smithy_client_1.expectString(output.instanceName),
|
|
2078
|
+
instanceArn: (0, smithy_client_1.expectString)(output.instanceArn),
|
|
2079
|
+
instanceName: (0, smithy_client_1.expectString)(output.instanceName),
|
|
2080
2080
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2081
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2081
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastRefreshTimestamp)))
|
|
2082
2082
|
: undefined,
|
|
2083
|
-
lookBackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookBackPeriodInDays),
|
|
2083
|
+
lookBackPeriodInDays: (0, smithy_client_1.limitedParseDouble)(output.lookBackPeriodInDays),
|
|
2084
2084
|
recommendationOptions: output.recommendationOptions !== undefined && output.recommendationOptions !== null
|
|
2085
2085
|
? deserializeAws_json1_0RecommendationOptions(output.recommendationOptions, context)
|
|
2086
2086
|
: undefined,
|
|
@@ -2099,22 +2099,22 @@ const deserializeAws_json1_0InstanceRecommendationFindingReasonCodes = (output,
|
|
|
2099
2099
|
if (entry === null) {
|
|
2100
2100
|
return null;
|
|
2101
2101
|
}
|
|
2102
|
-
return smithy_client_1.expectString(entry);
|
|
2102
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2103
2103
|
});
|
|
2104
2104
|
return retVal;
|
|
2105
2105
|
};
|
|
2106
2106
|
const deserializeAws_json1_0InstanceRecommendationOption = (output, context) => {
|
|
2107
2107
|
return {
|
|
2108
|
-
instanceType: smithy_client_1.expectString(output.instanceType),
|
|
2109
|
-
migrationEffort: smithy_client_1.expectString(output.migrationEffort),
|
|
2110
|
-
performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
|
|
2108
|
+
instanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
2109
|
+
migrationEffort: (0, smithy_client_1.expectString)(output.migrationEffort),
|
|
2110
|
+
performanceRisk: (0, smithy_client_1.limitedParseDouble)(output.performanceRisk),
|
|
2111
2111
|
platformDifferences: output.platformDifferences !== undefined && output.platformDifferences !== null
|
|
2112
2112
|
? deserializeAws_json1_0PlatformDifferences(output.platformDifferences, context)
|
|
2113
2113
|
: undefined,
|
|
2114
2114
|
projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
|
|
2115
2115
|
? deserializeAws_json1_0ProjectedUtilizationMetrics(output.projectedUtilizationMetrics, context)
|
|
2116
2116
|
: undefined,
|
|
2117
|
-
rank: smithy_client_1.expectInt32(output.rank),
|
|
2117
|
+
rank: (0, smithy_client_1.expectInt32)(output.rank),
|
|
2118
2118
|
savingsOpportunity: output.savingsOpportunity !== undefined && output.savingsOpportunity !== null
|
|
2119
2119
|
? deserializeAws_json1_0SavingsOpportunity(output.savingsOpportunity, context)
|
|
2120
2120
|
: undefined,
|
|
@@ -2133,19 +2133,19 @@ const deserializeAws_json1_0InstanceRecommendations = (output, context) => {
|
|
|
2133
2133
|
};
|
|
2134
2134
|
const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
2135
2135
|
return {
|
|
2136
|
-
message: smithy_client_1.expectString(output.message),
|
|
2136
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2137
2137
|
};
|
|
2138
2138
|
};
|
|
2139
2139
|
const deserializeAws_json1_0InvalidParameterValueException = (output, context) => {
|
|
2140
2140
|
return {
|
|
2141
|
-
message: smithy_client_1.expectString(output.message),
|
|
2141
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2142
2142
|
};
|
|
2143
2143
|
};
|
|
2144
2144
|
const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetric = (output, context) => {
|
|
2145
2145
|
return {
|
|
2146
|
-
name: smithy_client_1.expectString(output.name),
|
|
2147
|
-
statistic: smithy_client_1.expectString(output.statistic),
|
|
2148
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2146
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2147
|
+
statistic: (0, smithy_client_1.expectString)(output.statistic),
|
|
2148
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2149
2149
|
};
|
|
2150
2150
|
};
|
|
2151
2151
|
const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetrics = (output, context) => {
|
|
@@ -2161,11 +2161,11 @@ const deserializeAws_json1_0LambdaFunctionMemoryProjectedMetrics = (output, cont
|
|
|
2161
2161
|
};
|
|
2162
2162
|
const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOption = (output, context) => {
|
|
2163
2163
|
return {
|
|
2164
|
-
memorySize: smithy_client_1.expectInt32(output.memorySize),
|
|
2164
|
+
memorySize: (0, smithy_client_1.expectInt32)(output.memorySize),
|
|
2165
2165
|
projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
|
|
2166
2166
|
? deserializeAws_json1_0LambdaFunctionMemoryProjectedMetrics(output.projectedUtilizationMetrics, context)
|
|
2167
2167
|
: undefined,
|
|
2168
|
-
rank: smithy_client_1.expectInt32(output.rank),
|
|
2168
|
+
rank: (0, smithy_client_1.expectInt32)(output.rank),
|
|
2169
2169
|
savingsOpportunity: output.savingsOpportunity !== undefined && output.savingsOpportunity !== null
|
|
2170
2170
|
? deserializeAws_json1_0SavingsOpportunity(output.savingsOpportunity, context)
|
|
2171
2171
|
: undefined,
|
|
@@ -2184,23 +2184,23 @@ const deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions = (output,
|
|
|
2184
2184
|
};
|
|
2185
2185
|
const deserializeAws_json1_0LambdaFunctionRecommendation = (output, context) => {
|
|
2186
2186
|
return {
|
|
2187
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
2188
|
-
currentMemorySize: smithy_client_1.expectInt32(output.currentMemorySize),
|
|
2189
|
-
currentPerformanceRisk: smithy_client_1.expectString(output.currentPerformanceRisk),
|
|
2190
|
-
finding: smithy_client_1.expectString(output.finding),
|
|
2187
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
2188
|
+
currentMemorySize: (0, smithy_client_1.expectInt32)(output.currentMemorySize),
|
|
2189
|
+
currentPerformanceRisk: (0, smithy_client_1.expectString)(output.currentPerformanceRisk),
|
|
2190
|
+
finding: (0, smithy_client_1.expectString)(output.finding),
|
|
2191
2191
|
findingReasonCodes: output.findingReasonCodes !== undefined && output.findingReasonCodes !== null
|
|
2192
2192
|
? deserializeAws_json1_0LambdaFunctionRecommendationFindingReasonCodes(output.findingReasonCodes, context)
|
|
2193
2193
|
: undefined,
|
|
2194
|
-
functionArn: smithy_client_1.expectString(output.functionArn),
|
|
2195
|
-
functionVersion: smithy_client_1.expectString(output.functionVersion),
|
|
2194
|
+
functionArn: (0, smithy_client_1.expectString)(output.functionArn),
|
|
2195
|
+
functionVersion: (0, smithy_client_1.expectString)(output.functionVersion),
|
|
2196
2196
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2197
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2197
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastRefreshTimestamp)))
|
|
2198
2198
|
: undefined,
|
|
2199
|
-
lookbackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookbackPeriodInDays),
|
|
2199
|
+
lookbackPeriodInDays: (0, smithy_client_1.limitedParseDouble)(output.lookbackPeriodInDays),
|
|
2200
2200
|
memorySizeRecommendationOptions: output.memorySizeRecommendationOptions !== undefined && output.memorySizeRecommendationOptions !== null
|
|
2201
2201
|
? deserializeAws_json1_0LambdaFunctionMemoryRecommendationOptions(output.memorySizeRecommendationOptions, context)
|
|
2202
2202
|
: undefined,
|
|
2203
|
-
numberOfInvocations: smithy_client_1.expectLong(output.numberOfInvocations),
|
|
2203
|
+
numberOfInvocations: (0, smithy_client_1.expectLong)(output.numberOfInvocations),
|
|
2204
2204
|
utilizationMetrics: output.utilizationMetrics !== undefined && output.utilizationMetrics !== null
|
|
2205
2205
|
? deserializeAws_json1_0LambdaFunctionUtilizationMetrics(output.utilizationMetrics, context)
|
|
2206
2206
|
: undefined,
|
|
@@ -2213,7 +2213,7 @@ const deserializeAws_json1_0LambdaFunctionRecommendationFindingReasonCodes = (ou
|
|
|
2213
2213
|
if (entry === null) {
|
|
2214
2214
|
return null;
|
|
2215
2215
|
}
|
|
2216
|
-
return smithy_client_1.expectString(entry);
|
|
2216
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2217
2217
|
});
|
|
2218
2218
|
return retVal;
|
|
2219
2219
|
};
|
|
@@ -2230,9 +2230,9 @@ const deserializeAws_json1_0LambdaFunctionRecommendations = (output, context) =>
|
|
|
2230
2230
|
};
|
|
2231
2231
|
const deserializeAws_json1_0LambdaFunctionUtilizationMetric = (output, context) => {
|
|
2232
2232
|
return {
|
|
2233
|
-
name: smithy_client_1.expectString(output.name),
|
|
2234
|
-
statistic: smithy_client_1.expectString(output.statistic),
|
|
2235
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2233
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2234
|
+
statistic: (0, smithy_client_1.expectString)(output.statistic),
|
|
2235
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2236
2236
|
};
|
|
2237
2237
|
};
|
|
2238
2238
|
const deserializeAws_json1_0LambdaFunctionUtilizationMetrics = (output, context) => {
|
|
@@ -2248,7 +2248,7 @@ const deserializeAws_json1_0LambdaFunctionUtilizationMetrics = (output, context)
|
|
|
2248
2248
|
};
|
|
2249
2249
|
const deserializeAws_json1_0LimitExceededException = (output, context) => {
|
|
2250
2250
|
return {
|
|
2251
|
-
message: smithy_client_1.expectString(output.message),
|
|
2251
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2252
2252
|
};
|
|
2253
2253
|
};
|
|
2254
2254
|
const deserializeAws_json1_0MetricValues = (output, context) => {
|
|
@@ -2258,18 +2258,18 @@ const deserializeAws_json1_0MetricValues = (output, context) => {
|
|
|
2258
2258
|
if (entry === null) {
|
|
2259
2259
|
return null;
|
|
2260
2260
|
}
|
|
2261
|
-
return smithy_client_1.limitedParseDouble(entry);
|
|
2261
|
+
return (0, smithy_client_1.limitedParseDouble)(entry);
|
|
2262
2262
|
});
|
|
2263
2263
|
return retVal;
|
|
2264
2264
|
};
|
|
2265
2265
|
const deserializeAws_json1_0MissingAuthenticationToken = (output, context) => {
|
|
2266
2266
|
return {
|
|
2267
|
-
message: smithy_client_1.expectString(output.message),
|
|
2267
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2268
2268
|
};
|
|
2269
2269
|
};
|
|
2270
2270
|
const deserializeAws_json1_0OptInRequiredException = (output, context) => {
|
|
2271
2271
|
return {
|
|
2272
|
-
message: smithy_client_1.expectString(output.message),
|
|
2272
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2273
2273
|
};
|
|
2274
2274
|
};
|
|
2275
2275
|
const deserializeAws_json1_0PlatformDifferences = (output, context) => {
|
|
@@ -2279,13 +2279,13 @@ const deserializeAws_json1_0PlatformDifferences = (output, context) => {
|
|
|
2279
2279
|
if (entry === null) {
|
|
2280
2280
|
return null;
|
|
2281
2281
|
}
|
|
2282
|
-
return smithy_client_1.expectString(entry);
|
|
2282
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2283
2283
|
});
|
|
2284
2284
|
return retVal;
|
|
2285
2285
|
};
|
|
2286
2286
|
const deserializeAws_json1_0ProjectedMetric = (output, context) => {
|
|
2287
2287
|
return {
|
|
2288
|
-
name: smithy_client_1.expectString(output.name),
|
|
2288
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2289
2289
|
timestamps: output.timestamps !== undefined && output.timestamps !== null
|
|
2290
2290
|
? deserializeAws_json1_0Timestamps(output.timestamps, context)
|
|
2291
2291
|
: undefined,
|
|
@@ -2332,25 +2332,25 @@ const deserializeAws_json1_0ReasonCodeSummaries = (output, context) => {
|
|
|
2332
2332
|
};
|
|
2333
2333
|
const deserializeAws_json1_0ReasonCodeSummary = (output, context) => {
|
|
2334
2334
|
return {
|
|
2335
|
-
name: smithy_client_1.expectString(output.name),
|
|
2336
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2335
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2336
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2337
2337
|
};
|
|
2338
2338
|
};
|
|
2339
2339
|
const deserializeAws_json1_0RecommendationExportJob = (output, context) => {
|
|
2340
2340
|
return {
|
|
2341
2341
|
creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
|
|
2342
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTimestamp)))
|
|
2342
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTimestamp)))
|
|
2343
2343
|
: undefined,
|
|
2344
2344
|
destination: output.destination !== undefined && output.destination !== null
|
|
2345
2345
|
? deserializeAws_json1_0ExportDestination(output.destination, context)
|
|
2346
2346
|
: undefined,
|
|
2347
|
-
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
2348
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
2347
|
+
failureReason: (0, smithy_client_1.expectString)(output.failureReason),
|
|
2348
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2349
2349
|
lastUpdatedTimestamp: output.lastUpdatedTimestamp !== undefined && output.lastUpdatedTimestamp !== null
|
|
2350
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedTimestamp)))
|
|
2350
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedTimestamp)))
|
|
2351
2351
|
: undefined,
|
|
2352
|
-
resourceType: smithy_client_1.expectString(output.resourceType),
|
|
2353
|
-
status: smithy_client_1.expectString(output.status),
|
|
2352
|
+
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2353
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2354
2354
|
};
|
|
2355
2355
|
};
|
|
2356
2356
|
const deserializeAws_json1_0RecommendationExportJobs = (output, context) => {
|
|
@@ -2377,9 +2377,9 @@ const deserializeAws_json1_0RecommendationOptions = (output, context) => {
|
|
|
2377
2377
|
};
|
|
2378
2378
|
const deserializeAws_json1_0RecommendationPreferencesDetail = (output, context) => {
|
|
2379
2379
|
return {
|
|
2380
|
-
enhancedInfrastructureMetrics: smithy_client_1.expectString(output.enhancedInfrastructureMetrics),
|
|
2381
|
-
inferredWorkloadTypes: smithy_client_1.expectString(output.inferredWorkloadTypes),
|
|
2382
|
-
resourceType: smithy_client_1.expectString(output.resourceType),
|
|
2380
|
+
enhancedInfrastructureMetrics: (0, smithy_client_1.expectString)(output.enhancedInfrastructureMetrics),
|
|
2381
|
+
inferredWorkloadTypes: (0, smithy_client_1.expectString)(output.inferredWorkloadTypes),
|
|
2382
|
+
resourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
2383
2383
|
scope: output.scope !== undefined && output.scope !== null
|
|
2384
2384
|
? deserializeAws_json1_0Scope(output.scope, context)
|
|
2385
2385
|
: undefined,
|
|
@@ -2398,8 +2398,8 @@ const deserializeAws_json1_0RecommendationPreferencesDetails = (output, context)
|
|
|
2398
2398
|
};
|
|
2399
2399
|
const deserializeAws_json1_0RecommendationSource = (output, context) => {
|
|
2400
2400
|
return {
|
|
2401
|
-
recommendationSourceArn: smithy_client_1.expectString(output.recommendationSourceArn),
|
|
2402
|
-
recommendationSourceType: smithy_client_1.expectString(output.recommendationSourceType),
|
|
2401
|
+
recommendationSourceArn: (0, smithy_client_1.expectString)(output.recommendationSourceArn),
|
|
2402
|
+
recommendationSourceType: (0, smithy_client_1.expectString)(output.recommendationSourceType),
|
|
2403
2403
|
};
|
|
2404
2404
|
};
|
|
2405
2405
|
const deserializeAws_json1_0RecommendationSources = (output, context) => {
|
|
@@ -2426,11 +2426,11 @@ const deserializeAws_json1_0RecommendationSummaries = (output, context) => {
|
|
|
2426
2426
|
};
|
|
2427
2427
|
const deserializeAws_json1_0RecommendationSummary = (output, context) => {
|
|
2428
2428
|
return {
|
|
2429
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
2429
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
2430
2430
|
currentPerformanceRiskRatings: output.currentPerformanceRiskRatings !== undefined && output.currentPerformanceRiskRatings !== null
|
|
2431
2431
|
? deserializeAws_json1_0CurrentPerformanceRiskRatings(output.currentPerformanceRiskRatings, context)
|
|
2432
2432
|
: undefined,
|
|
2433
|
-
recommendationResourceType: smithy_client_1.expectString(output.recommendationResourceType),
|
|
2433
|
+
recommendationResourceType: (0, smithy_client_1.expectString)(output.recommendationResourceType),
|
|
2434
2434
|
savingsOpportunity: output.savingsOpportunity !== undefined && output.savingsOpportunity !== null
|
|
2435
2435
|
? deserializeAws_json1_0SavingsOpportunity(output.savingsOpportunity, context)
|
|
2436
2436
|
: undefined,
|
|
@@ -2444,8 +2444,8 @@ const deserializeAws_json1_0RecommendedOptionProjectedMetric = (output, context)
|
|
|
2444
2444
|
projectedMetrics: output.projectedMetrics !== undefined && output.projectedMetrics !== null
|
|
2445
2445
|
? deserializeAws_json1_0ProjectedMetrics(output.projectedMetrics, context)
|
|
2446
2446
|
: undefined,
|
|
2447
|
-
rank: smithy_client_1.expectInt32(output.rank),
|
|
2448
|
-
recommendedInstanceType: smithy_client_1.expectString(output.recommendedInstanceType),
|
|
2447
|
+
rank: (0, smithy_client_1.expectInt32)(output.rank),
|
|
2448
|
+
recommendedInstanceType: (0, smithy_client_1.expectString)(output.recommendedInstanceType),
|
|
2449
2449
|
};
|
|
2450
2450
|
};
|
|
2451
2451
|
const deserializeAws_json1_0RecommendedOptionProjectedMetrics = (output, context) => {
|
|
@@ -2461,14 +2461,14 @@ const deserializeAws_json1_0RecommendedOptionProjectedMetrics = (output, context
|
|
|
2461
2461
|
};
|
|
2462
2462
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
2463
2463
|
return {
|
|
2464
|
-
message: smithy_client_1.expectString(output.message),
|
|
2464
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2465
2465
|
};
|
|
2466
2466
|
};
|
|
2467
2467
|
const deserializeAws_json1_0S3Destination = (output, context) => {
|
|
2468
2468
|
return {
|
|
2469
|
-
bucket: smithy_client_1.expectString(output.bucket),
|
|
2470
|
-
key: smithy_client_1.expectString(output.key),
|
|
2471
|
-
metadataKey: smithy_client_1.expectString(output.metadataKey),
|
|
2469
|
+
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
2470
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
2471
|
+
metadataKey: (0, smithy_client_1.expectString)(output.metadataKey),
|
|
2472
2472
|
};
|
|
2473
2473
|
};
|
|
2474
2474
|
const deserializeAws_json1_0SavingsOpportunity = (output, context) => {
|
|
@@ -2476,18 +2476,18 @@ const deserializeAws_json1_0SavingsOpportunity = (output, context) => {
|
|
|
2476
2476
|
estimatedMonthlySavings: output.estimatedMonthlySavings !== undefined && output.estimatedMonthlySavings !== null
|
|
2477
2477
|
? deserializeAws_json1_0EstimatedMonthlySavings(output.estimatedMonthlySavings, context)
|
|
2478
2478
|
: undefined,
|
|
2479
|
-
savingsOpportunityPercentage: smithy_client_1.limitedParseDouble(output.savingsOpportunityPercentage),
|
|
2479
|
+
savingsOpportunityPercentage: (0, smithy_client_1.limitedParseDouble)(output.savingsOpportunityPercentage),
|
|
2480
2480
|
};
|
|
2481
2481
|
};
|
|
2482
2482
|
const deserializeAws_json1_0Scope = (output, context) => {
|
|
2483
2483
|
return {
|
|
2484
|
-
name: smithy_client_1.expectString(output.name),
|
|
2485
|
-
value: smithy_client_1.expectString(output.value),
|
|
2484
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2485
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
2486
2486
|
};
|
|
2487
2487
|
};
|
|
2488
2488
|
const deserializeAws_json1_0ServiceUnavailableException = (output, context) => {
|
|
2489
2489
|
return {
|
|
2490
|
-
message: smithy_client_1.expectString(output.message),
|
|
2490
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2491
2491
|
};
|
|
2492
2492
|
};
|
|
2493
2493
|
const deserializeAws_json1_0Summaries = (output, context) => {
|
|
@@ -2503,16 +2503,16 @@ const deserializeAws_json1_0Summaries = (output, context) => {
|
|
|
2503
2503
|
};
|
|
2504
2504
|
const deserializeAws_json1_0Summary = (output, context) => {
|
|
2505
2505
|
return {
|
|
2506
|
-
name: smithy_client_1.expectString(output.name),
|
|
2506
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2507
2507
|
reasonCodeSummaries: output.reasonCodeSummaries !== undefined && output.reasonCodeSummaries !== null
|
|
2508
2508
|
? deserializeAws_json1_0ReasonCodeSummaries(output.reasonCodeSummaries, context)
|
|
2509
2509
|
: undefined,
|
|
2510
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2510
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2511
2511
|
};
|
|
2512
2512
|
};
|
|
2513
2513
|
const deserializeAws_json1_0ThrottlingException = (output, context) => {
|
|
2514
2514
|
return {
|
|
2515
|
-
message: smithy_client_1.expectString(output.message),
|
|
2515
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2516
2516
|
};
|
|
2517
2517
|
};
|
|
2518
2518
|
const deserializeAws_json1_0Timestamps = (output, context) => {
|
|
@@ -2522,21 +2522,21 @@ const deserializeAws_json1_0Timestamps = (output, context) => {
|
|
|
2522
2522
|
if (entry === null) {
|
|
2523
2523
|
return null;
|
|
2524
2524
|
}
|
|
2525
|
-
return smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(entry)));
|
|
2525
|
+
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(entry)));
|
|
2526
2526
|
});
|
|
2527
2527
|
return retVal;
|
|
2528
2528
|
};
|
|
2529
2529
|
const deserializeAws_json1_0UpdateEnrollmentStatusResponse = (output, context) => {
|
|
2530
2530
|
return {
|
|
2531
|
-
status: smithy_client_1.expectString(output.status),
|
|
2532
|
-
statusReason: smithy_client_1.expectString(output.statusReason),
|
|
2531
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2532
|
+
statusReason: (0, smithy_client_1.expectString)(output.statusReason),
|
|
2533
2533
|
};
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_json1_0UtilizationMetric = (output, context) => {
|
|
2536
2536
|
return {
|
|
2537
|
-
name: smithy_client_1.expectString(output.name),
|
|
2538
|
-
statistic: smithy_client_1.expectString(output.statistic),
|
|
2539
|
-
value: smithy_client_1.limitedParseDouble(output.value),
|
|
2537
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2538
|
+
statistic: (0, smithy_client_1.expectString)(output.statistic),
|
|
2539
|
+
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
2540
2540
|
};
|
|
2541
2541
|
};
|
|
2542
2542
|
const deserializeAws_json1_0UtilizationMetrics = (output, context) => {
|
|
@@ -2552,30 +2552,30 @@ const deserializeAws_json1_0UtilizationMetrics = (output, context) => {
|
|
|
2552
2552
|
};
|
|
2553
2553
|
const deserializeAws_json1_0VolumeConfiguration = (output, context) => {
|
|
2554
2554
|
return {
|
|
2555
|
-
volumeBaselineIOPS: smithy_client_1.expectInt32(output.volumeBaselineIOPS),
|
|
2556
|
-
volumeBaselineThroughput: smithy_client_1.expectInt32(output.volumeBaselineThroughput),
|
|
2557
|
-
volumeBurstIOPS: smithy_client_1.expectInt32(output.volumeBurstIOPS),
|
|
2558
|
-
volumeBurstThroughput: smithy_client_1.expectInt32(output.volumeBurstThroughput),
|
|
2559
|
-
volumeSize: smithy_client_1.expectInt32(output.volumeSize),
|
|
2560
|
-
volumeType: smithy_client_1.expectString(output.volumeType),
|
|
2555
|
+
volumeBaselineIOPS: (0, smithy_client_1.expectInt32)(output.volumeBaselineIOPS),
|
|
2556
|
+
volumeBaselineThroughput: (0, smithy_client_1.expectInt32)(output.volumeBaselineThroughput),
|
|
2557
|
+
volumeBurstIOPS: (0, smithy_client_1.expectInt32)(output.volumeBurstIOPS),
|
|
2558
|
+
volumeBurstThroughput: (0, smithy_client_1.expectInt32)(output.volumeBurstThroughput),
|
|
2559
|
+
volumeSize: (0, smithy_client_1.expectInt32)(output.volumeSize),
|
|
2560
|
+
volumeType: (0, smithy_client_1.expectString)(output.volumeType),
|
|
2561
2561
|
};
|
|
2562
2562
|
};
|
|
2563
2563
|
const deserializeAws_json1_0VolumeRecommendation = (output, context) => {
|
|
2564
2564
|
return {
|
|
2565
|
-
accountId: smithy_client_1.expectString(output.accountId),
|
|
2565
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
2566
2566
|
currentConfiguration: output.currentConfiguration !== undefined && output.currentConfiguration !== null
|
|
2567
2567
|
? deserializeAws_json1_0VolumeConfiguration(output.currentConfiguration, context)
|
|
2568
2568
|
: undefined,
|
|
2569
|
-
currentPerformanceRisk: smithy_client_1.expectString(output.currentPerformanceRisk),
|
|
2570
|
-
finding: smithy_client_1.expectString(output.finding),
|
|
2569
|
+
currentPerformanceRisk: (0, smithy_client_1.expectString)(output.currentPerformanceRisk),
|
|
2570
|
+
finding: (0, smithy_client_1.expectString)(output.finding),
|
|
2571
2571
|
lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
|
|
2572
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
|
|
2572
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastRefreshTimestamp)))
|
|
2573
2573
|
: undefined,
|
|
2574
|
-
lookBackPeriodInDays: smithy_client_1.limitedParseDouble(output.lookBackPeriodInDays),
|
|
2574
|
+
lookBackPeriodInDays: (0, smithy_client_1.limitedParseDouble)(output.lookBackPeriodInDays),
|
|
2575
2575
|
utilizationMetrics: output.utilizationMetrics !== undefined && output.utilizationMetrics !== null
|
|
2576
2576
|
? deserializeAws_json1_0EBSUtilizationMetrics(output.utilizationMetrics, context)
|
|
2577
2577
|
: undefined,
|
|
2578
|
-
volumeArn: smithy_client_1.expectString(output.volumeArn),
|
|
2578
|
+
volumeArn: (0, smithy_client_1.expectString)(output.volumeArn),
|
|
2579
2579
|
volumeRecommendationOptions: output.volumeRecommendationOptions !== undefined && output.volumeRecommendationOptions !== null
|
|
2580
2580
|
? deserializeAws_json1_0VolumeRecommendationOptions(output.volumeRecommendationOptions, context)
|
|
2581
2581
|
: undefined,
|
|
@@ -2586,8 +2586,8 @@ const deserializeAws_json1_0VolumeRecommendationOption = (output, context) => {
|
|
|
2586
2586
|
configuration: output.configuration !== undefined && output.configuration !== null
|
|
2587
2587
|
? deserializeAws_json1_0VolumeConfiguration(output.configuration, context)
|
|
2588
2588
|
: undefined,
|
|
2589
|
-
performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
|
|
2590
|
-
rank: smithy_client_1.expectInt32(output.rank),
|
|
2589
|
+
performanceRisk: (0, smithy_client_1.limitedParseDouble)(output.performanceRisk),
|
|
2590
|
+
rank: (0, smithy_client_1.expectInt32)(output.rank),
|
|
2591
2591
|
savingsOpportunity: output.savingsOpportunity !== undefined && output.savingsOpportunity !== null
|
|
2592
2592
|
? deserializeAws_json1_0SavingsOpportunity(output.savingsOpportunity, context)
|
|
2593
2593
|
: undefined,
|