@aws-sdk/client-cost-explorer 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/CostExplorerClient.js +13 -13
- package/dist-cjs/commands/CreateAnomalyMonitorCommand.js +3 -3
- package/dist-cjs/commands/CreateAnomalySubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnomalyMonitorCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnomalySubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DeleteCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetAnomaliesCommand.js +3 -3
- package/dist-cjs/commands/GetAnomalyMonitorsCommand.js +3 -3
- package/dist-cjs/commands/GetAnomalySubscriptionsCommand.js +3 -3
- package/dist-cjs/commands/GetCostAndUsageCommand.js +3 -3
- package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +3 -3
- package/dist-cjs/commands/GetCostCategoriesCommand.js +3 -3
- package/dist-cjs/commands/GetCostForecastCommand.js +3 -3
- package/dist-cjs/commands/GetDimensionValuesCommand.js +3 -3
- package/dist-cjs/commands/GetReservationCoverageCommand.js +3 -3
- package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +3 -3
- package/dist-cjs/commands/GetReservationUtilizationCommand.js +3 -3
- package/dist-cjs/commands/GetRightsizingRecommendationCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansUtilizationCommand.js +3 -3
- package/dist-cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetTagsCommand.js +3 -3
- package/dist-cjs/commands/GetUsageForecastCommand.js +3 -3
- package/dist-cjs/commands/ListCostCategoryDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ProvideAnomalyFeedbackCommand.js +3 -3
- package/dist-cjs/commands/UpdateAnomalyMonitorCommand.js +3 -3
- package/dist-cjs/commands/UpdateAnomalySubscriptionCommand.js +3 -3
- package/dist-cjs/commands/UpdateCostCategoryDefinitionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +354 -354
- 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/CostExplorer.js +30 -30
- package/dist-es/pagination/GetSavingsPlansCoveragePaginator.js +4 -4
- package/dist-es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +4 -4
- package/dist-es/pagination/ListCostCategoryDefinitionsPaginator.js +4 -4
- package/dist-types/CostExplorerClient.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/CostExplorerClient.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
|
@@ -339,7 +339,7 @@ const deserializeAws_json1_1CreateAnomalyMonitorCommandError = async (output, co
|
|
|
339
339
|
$fault: "client",
|
|
340
340
|
$metadata: deserializeMetadata(output),
|
|
341
341
|
});
|
|
342
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
342
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
const deserializeAws_json1_1CreateAnomalySubscriptionCommand = async (output, context) => {
|
|
@@ -378,7 +378,7 @@ const deserializeAws_json1_1CreateAnomalySubscriptionCommandError = async (outpu
|
|
|
378
378
|
$fault: "client",
|
|
379
379
|
$metadata: deserializeMetadata(output),
|
|
380
380
|
});
|
|
381
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
381
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
const deserializeAws_json1_1CreateCostCategoryDefinitionCommand = async (output, context) => {
|
|
@@ -417,7 +417,7 @@ const deserializeAws_json1_1CreateCostCategoryDefinitionCommandError = async (ou
|
|
|
417
417
|
$fault: "client",
|
|
418
418
|
$metadata: deserializeMetadata(output),
|
|
419
419
|
});
|
|
420
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
420
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
const deserializeAws_json1_1DeleteAnomalyMonitorCommand = async (output, context) => {
|
|
@@ -456,7 +456,7 @@ const deserializeAws_json1_1DeleteAnomalyMonitorCommandError = async (output, co
|
|
|
456
456
|
$fault: "client",
|
|
457
457
|
$metadata: deserializeMetadata(output),
|
|
458
458
|
});
|
|
459
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
459
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
460
460
|
}
|
|
461
461
|
};
|
|
462
462
|
const deserializeAws_json1_1DeleteAnomalySubscriptionCommand = async (output, context) => {
|
|
@@ -495,7 +495,7 @@ const deserializeAws_json1_1DeleteAnomalySubscriptionCommandError = async (outpu
|
|
|
495
495
|
$fault: "client",
|
|
496
496
|
$metadata: deserializeMetadata(output),
|
|
497
497
|
});
|
|
498
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
498
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
const deserializeAws_json1_1DeleteCostCategoryDefinitionCommand = async (output, context) => {
|
|
@@ -534,7 +534,7 @@ const deserializeAws_json1_1DeleteCostCategoryDefinitionCommandError = async (ou
|
|
|
534
534
|
$fault: "client",
|
|
535
535
|
$metadata: deserializeMetadata(output),
|
|
536
536
|
});
|
|
537
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
537
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
538
538
|
}
|
|
539
539
|
};
|
|
540
540
|
const deserializeAws_json1_1DescribeCostCategoryDefinitionCommand = async (output, context) => {
|
|
@@ -573,7 +573,7 @@ const deserializeAws_json1_1DescribeCostCategoryDefinitionCommandError = async (
|
|
|
573
573
|
$fault: "client",
|
|
574
574
|
$metadata: deserializeMetadata(output),
|
|
575
575
|
});
|
|
576
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
576
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
577
577
|
}
|
|
578
578
|
};
|
|
579
579
|
const deserializeAws_json1_1GetAnomaliesCommand = async (output, context) => {
|
|
@@ -612,7 +612,7 @@ const deserializeAws_json1_1GetAnomaliesCommandError = async (output, context) =
|
|
|
612
612
|
$fault: "client",
|
|
613
613
|
$metadata: deserializeMetadata(output),
|
|
614
614
|
});
|
|
615
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
615
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
616
616
|
}
|
|
617
617
|
};
|
|
618
618
|
const deserializeAws_json1_1GetAnomalyMonitorsCommand = async (output, context) => {
|
|
@@ -654,7 +654,7 @@ const deserializeAws_json1_1GetAnomalyMonitorsCommandError = async (output, cont
|
|
|
654
654
|
$fault: "client",
|
|
655
655
|
$metadata: deserializeMetadata(output),
|
|
656
656
|
});
|
|
657
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
657
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
660
|
const deserializeAws_json1_1GetAnomalySubscriptionsCommand = async (output, context) => {
|
|
@@ -696,7 +696,7 @@ const deserializeAws_json1_1GetAnomalySubscriptionsCommandError = async (output,
|
|
|
696
696
|
$fault: "client",
|
|
697
697
|
$metadata: deserializeMetadata(output),
|
|
698
698
|
});
|
|
699
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
699
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
700
700
|
}
|
|
701
701
|
};
|
|
702
702
|
const deserializeAws_json1_1GetCostAndUsageCommand = async (output, context) => {
|
|
@@ -744,7 +744,7 @@ const deserializeAws_json1_1GetCostAndUsageCommandError = async (output, context
|
|
|
744
744
|
$fault: "client",
|
|
745
745
|
$metadata: deserializeMetadata(output),
|
|
746
746
|
});
|
|
747
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
747
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
const deserializeAws_json1_1GetCostAndUsageWithResourcesCommand = async (output, context) => {
|
|
@@ -792,7 +792,7 @@ const deserializeAws_json1_1GetCostAndUsageWithResourcesCommandError = async (ou
|
|
|
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_json1_1GetCostCategoriesCommand = async (output, context) => {
|
|
@@ -840,7 +840,7 @@ const deserializeAws_json1_1GetCostCategoriesCommandError = async (output, conte
|
|
|
840
840
|
$fault: "client",
|
|
841
841
|
$metadata: deserializeMetadata(output),
|
|
842
842
|
});
|
|
843
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
843
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
const deserializeAws_json1_1GetCostForecastCommand = async (output, context) => {
|
|
@@ -879,7 +879,7 @@ const deserializeAws_json1_1GetCostForecastCommandError = async (output, context
|
|
|
879
879
|
$fault: "client",
|
|
880
880
|
$metadata: deserializeMetadata(output),
|
|
881
881
|
});
|
|
882
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
882
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
883
883
|
}
|
|
884
884
|
};
|
|
885
885
|
const deserializeAws_json1_1GetDimensionValuesCommand = async (output, context) => {
|
|
@@ -927,7 +927,7 @@ const deserializeAws_json1_1GetDimensionValuesCommandError = async (output, cont
|
|
|
927
927
|
$fault: "client",
|
|
928
928
|
$metadata: deserializeMetadata(output),
|
|
929
929
|
});
|
|
930
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
930
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
931
931
|
}
|
|
932
932
|
};
|
|
933
933
|
const deserializeAws_json1_1GetReservationCoverageCommand = async (output, context) => {
|
|
@@ -969,7 +969,7 @@ const deserializeAws_json1_1GetReservationCoverageCommandError = async (output,
|
|
|
969
969
|
$fault: "client",
|
|
970
970
|
$metadata: deserializeMetadata(output),
|
|
971
971
|
});
|
|
972
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
972
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
973
973
|
}
|
|
974
974
|
};
|
|
975
975
|
const deserializeAws_json1_1GetReservationPurchaseRecommendationCommand = async (output, context) => {
|
|
@@ -1011,7 +1011,7 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationCommandError = a
|
|
|
1011
1011
|
$fault: "client",
|
|
1012
1012
|
$metadata: deserializeMetadata(output),
|
|
1013
1013
|
});
|
|
1014
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1014
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1015
1015
|
}
|
|
1016
1016
|
};
|
|
1017
1017
|
const deserializeAws_json1_1GetReservationUtilizationCommand = async (output, context) => {
|
|
@@ -1053,7 +1053,7 @@ const deserializeAws_json1_1GetReservationUtilizationCommandError = async (outpu
|
|
|
1053
1053
|
$fault: "client",
|
|
1054
1054
|
$metadata: deserializeMetadata(output),
|
|
1055
1055
|
});
|
|
1056
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1056
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1057
1057
|
}
|
|
1058
1058
|
};
|
|
1059
1059
|
const deserializeAws_json1_1GetRightsizingRecommendationCommand = async (output, context) => {
|
|
@@ -1092,7 +1092,7 @@ const deserializeAws_json1_1GetRightsizingRecommendationCommandError = async (ou
|
|
|
1092
1092
|
$fault: "client",
|
|
1093
1093
|
$metadata: deserializeMetadata(output),
|
|
1094
1094
|
});
|
|
1095
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1095
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1096
1096
|
}
|
|
1097
1097
|
};
|
|
1098
1098
|
const deserializeAws_json1_1GetSavingsPlansCoverageCommand = async (output, context) => {
|
|
@@ -1134,7 +1134,7 @@ const deserializeAws_json1_1GetSavingsPlansCoverageCommandError = async (output,
|
|
|
1134
1134
|
$fault: "client",
|
|
1135
1135
|
$metadata: deserializeMetadata(output),
|
|
1136
1136
|
});
|
|
1137
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
1140
|
const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommand = async (output, context) => {
|
|
@@ -1173,7 +1173,7 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommandError =
|
|
|
1173
1173
|
$fault: "client",
|
|
1174
1174
|
$metadata: deserializeMetadata(output),
|
|
1175
1175
|
});
|
|
1176
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1176
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1177
1177
|
}
|
|
1178
1178
|
};
|
|
1179
1179
|
const deserializeAws_json1_1GetSavingsPlansUtilizationCommand = async (output, context) => {
|
|
@@ -1212,7 +1212,7 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationCommandError = async (outp
|
|
|
1212
1212
|
$fault: "client",
|
|
1213
1213
|
$metadata: deserializeMetadata(output),
|
|
1214
1214
|
});
|
|
1215
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1215
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
1218
|
const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand = async (output, context) => {
|
|
@@ -1254,7 +1254,7 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommandError = asyn
|
|
|
1254
1254
|
$fault: "client",
|
|
1255
1255
|
$metadata: deserializeMetadata(output),
|
|
1256
1256
|
});
|
|
1257
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1257
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
1260
|
const deserializeAws_json1_1GetTagsCommand = async (output, context) => {
|
|
@@ -1302,7 +1302,7 @@ const deserializeAws_json1_1GetTagsCommandError = async (output, context) => {
|
|
|
1302
1302
|
$fault: "client",
|
|
1303
1303
|
$metadata: deserializeMetadata(output),
|
|
1304
1304
|
});
|
|
1305
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1305
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1306
1306
|
}
|
|
1307
1307
|
};
|
|
1308
1308
|
const deserializeAws_json1_1GetUsageForecastCommand = async (output, context) => {
|
|
@@ -1344,7 +1344,7 @@ const deserializeAws_json1_1GetUsageForecastCommandError = async (output, contex
|
|
|
1344
1344
|
$fault: "client",
|
|
1345
1345
|
$metadata: deserializeMetadata(output),
|
|
1346
1346
|
});
|
|
1347
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1347
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1348
1348
|
}
|
|
1349
1349
|
};
|
|
1350
1350
|
const deserializeAws_json1_1ListCostCategoryDefinitionsCommand = async (output, context) => {
|
|
@@ -1380,7 +1380,7 @@ const deserializeAws_json1_1ListCostCategoryDefinitionsCommandError = async (out
|
|
|
1380
1380
|
$fault: "client",
|
|
1381
1381
|
$metadata: deserializeMetadata(output),
|
|
1382
1382
|
});
|
|
1383
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1383
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
1386
|
const deserializeAws_json1_1ProvideAnomalyFeedbackCommand = async (output, context) => {
|
|
@@ -1416,7 +1416,7 @@ const deserializeAws_json1_1ProvideAnomalyFeedbackCommandError = async (output,
|
|
|
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_json1_1UpdateAnomalyMonitorCommand = async (output, context) => {
|
|
@@ -1455,7 +1455,7 @@ const deserializeAws_json1_1UpdateAnomalyMonitorCommandError = async (output, co
|
|
|
1455
1455
|
$fault: "client",
|
|
1456
1456
|
$metadata: deserializeMetadata(output),
|
|
1457
1457
|
});
|
|
1458
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1458
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1459
1459
|
}
|
|
1460
1460
|
};
|
|
1461
1461
|
const deserializeAws_json1_1UpdateAnomalySubscriptionCommand = async (output, context) => {
|
|
@@ -1497,7 +1497,7 @@ const deserializeAws_json1_1UpdateAnomalySubscriptionCommandError = async (outpu
|
|
|
1497
1497
|
$fault: "client",
|
|
1498
1498
|
$metadata: deserializeMetadata(output),
|
|
1499
1499
|
});
|
|
1500
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1500
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
1503
|
const deserializeAws_json1_1UpdateCostCategoryDefinitionCommand = async (output, context) => {
|
|
@@ -1539,7 +1539,7 @@ const deserializeAws_json1_1UpdateCostCategoryDefinitionCommandError = async (ou
|
|
|
1539
1539
|
$fault: "client",
|
|
1540
1540
|
$metadata: deserializeMetadata(output),
|
|
1541
1541
|
});
|
|
1542
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1542
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1543
1543
|
}
|
|
1544
1544
|
};
|
|
1545
1545
|
const deserializeAws_json1_1BillExpirationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1549,7 +1549,7 @@ const deserializeAws_json1_1BillExpirationExceptionResponse = async (parsedOutpu
|
|
|
1549
1549
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1550
1550
|
...deserialized,
|
|
1551
1551
|
});
|
|
1552
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1552
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1553
1553
|
};
|
|
1554
1554
|
const deserializeAws_json1_1DataUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
1555
1555
|
const body = parsedOutput.body;
|
|
@@ -1558,7 +1558,7 @@ const deserializeAws_json1_1DataUnavailableExceptionResponse = async (parsedOutp
|
|
|
1558
1558
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1559
1559
|
...deserialized,
|
|
1560
1560
|
});
|
|
1561
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1561
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1562
1562
|
};
|
|
1563
1563
|
const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
1564
1564
|
const body = parsedOutput.body;
|
|
@@ -1567,7 +1567,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
|
|
|
1567
1567
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1568
1568
|
...deserialized,
|
|
1569
1569
|
});
|
|
1570
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1570
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1571
1571
|
};
|
|
1572
1572
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1573
1573
|
const body = parsedOutput.body;
|
|
@@ -1576,7 +1576,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
1576
1576
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1577
1577
|
...deserialized,
|
|
1578
1578
|
});
|
|
1579
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1579
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1580
1580
|
};
|
|
1581
1581
|
const deserializeAws_json1_1RequestChangedExceptionResponse = async (parsedOutput, context) => {
|
|
1582
1582
|
const body = parsedOutput.body;
|
|
@@ -1585,7 +1585,7 @@ const deserializeAws_json1_1RequestChangedExceptionResponse = async (parsedOutpu
|
|
|
1585
1585
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1586
1586
|
...deserialized,
|
|
1587
1587
|
});
|
|
1588
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1588
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1589
1589
|
};
|
|
1590
1590
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1591
1591
|
const body = parsedOutput.body;
|
|
@@ -1594,7 +1594,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1594
1594
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1595
1595
|
...deserialized,
|
|
1596
1596
|
});
|
|
1597
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1597
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1598
1598
|
};
|
|
1599
1599
|
const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1600
1600
|
const body = parsedOutput.body;
|
|
@@ -1603,7 +1603,7 @@ const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
1603
1603
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1604
1604
|
...deserialized,
|
|
1605
1605
|
});
|
|
1606
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1606
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1607
1607
|
};
|
|
1608
1608
|
const deserializeAws_json1_1UnknownMonitorExceptionResponse = async (parsedOutput, context) => {
|
|
1609
1609
|
const body = parsedOutput.body;
|
|
@@ -1612,7 +1612,7 @@ const deserializeAws_json1_1UnknownMonitorExceptionResponse = async (parsedOutpu
|
|
|
1612
1612
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1613
1613
|
...deserialized,
|
|
1614
1614
|
});
|
|
1615
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1615
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1616
1616
|
};
|
|
1617
1617
|
const deserializeAws_json1_1UnknownSubscriptionExceptionResponse = async (parsedOutput, context) => {
|
|
1618
1618
|
const body = parsedOutput.body;
|
|
@@ -1621,7 +1621,7 @@ const deserializeAws_json1_1UnknownSubscriptionExceptionResponse = async (parsed
|
|
|
1621
1621
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1622
1622
|
...deserialized,
|
|
1623
1623
|
});
|
|
1624
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1624
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1625
1625
|
};
|
|
1626
1626
|
const deserializeAws_json1_1UnresolvableUsageUnitExceptionResponse = async (parsedOutput, context) => {
|
|
1627
1627
|
const body = parsedOutput.body;
|
|
@@ -1630,7 +1630,7 @@ const deserializeAws_json1_1UnresolvableUsageUnitExceptionResponse = async (pars
|
|
|
1630
1630
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1631
1631
|
...deserialized,
|
|
1632
1632
|
});
|
|
1633
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1633
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1634
1634
|
};
|
|
1635
1635
|
const serializeAws_json1_1AnomalyDateInterval = (input, context) => {
|
|
1636
1636
|
return {
|
|
@@ -1672,7 +1672,7 @@ const serializeAws_json1_1AnomalySubscription = (input, context) => {
|
|
|
1672
1672
|
input.SubscriptionArn !== null && { SubscriptionArn: input.SubscriptionArn }),
|
|
1673
1673
|
...(input.SubscriptionName !== undefined &&
|
|
1674
1674
|
input.SubscriptionName !== null && { SubscriptionName: input.SubscriptionName }),
|
|
1675
|
-
...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: smithy_client_1.serializeFloat(input.Threshold) }),
|
|
1675
|
+
...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: (0, smithy_client_1.serializeFloat)(input.Threshold) }),
|
|
1676
1676
|
};
|
|
1677
1677
|
};
|
|
1678
1678
|
const serializeAws_json1_1CostCategoryInheritedValueDimension = (input, context) => {
|
|
@@ -2252,11 +2252,11 @@ const serializeAws_json1_1TagValues = (input, context) => {
|
|
|
2252
2252
|
};
|
|
2253
2253
|
const serializeAws_json1_1TotalImpactFilter = (input, context) => {
|
|
2254
2254
|
return {
|
|
2255
|
-
...(input.EndValue !== undefined && input.EndValue !== null && { EndValue: smithy_client_1.serializeFloat(input.EndValue) }),
|
|
2255
|
+
...(input.EndValue !== undefined && input.EndValue !== null && { EndValue: (0, smithy_client_1.serializeFloat)(input.EndValue) }),
|
|
2256
2256
|
...(input.NumericOperator !== undefined &&
|
|
2257
2257
|
input.NumericOperator !== null && { NumericOperator: input.NumericOperator }),
|
|
2258
2258
|
...(input.StartValue !== undefined &&
|
|
2259
|
-
input.StartValue !== null && { StartValue: smithy_client_1.serializeFloat(input.StartValue) }),
|
|
2259
|
+
input.StartValue !== null && { StartValue: (0, smithy_client_1.serializeFloat)(input.StartValue) }),
|
|
2260
2260
|
};
|
|
2261
2261
|
};
|
|
2262
2262
|
const serializeAws_json1_1UpdateAnomalyMonitorRequest = (input, context) => {
|
|
@@ -2278,7 +2278,7 @@ const serializeAws_json1_1UpdateAnomalySubscriptionRequest = (input, context) =>
|
|
|
2278
2278
|
input.SubscriptionArn !== null && { SubscriptionArn: input.SubscriptionArn }),
|
|
2279
2279
|
...(input.SubscriptionName !== undefined &&
|
|
2280
2280
|
input.SubscriptionName !== null && { SubscriptionName: input.SubscriptionName }),
|
|
2281
|
-
...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: smithy_client_1.serializeFloat(input.Threshold) }),
|
|
2281
|
+
...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: (0, smithy_client_1.serializeFloat)(input.Threshold) }),
|
|
2282
2282
|
};
|
|
2283
2283
|
};
|
|
2284
2284
|
const serializeAws_json1_1UpdateCostCategoryDefinitionRequest = (input, context) => {
|
|
@@ -2318,18 +2318,18 @@ const deserializeAws_json1_1Anomalies = (output, context) => {
|
|
|
2318
2318
|
};
|
|
2319
2319
|
const deserializeAws_json1_1Anomaly = (output, context) => {
|
|
2320
2320
|
return {
|
|
2321
|
-
AnomalyEndDate: smithy_client_1.expectString(output.AnomalyEndDate),
|
|
2322
|
-
AnomalyId: smithy_client_1.expectString(output.AnomalyId),
|
|
2321
|
+
AnomalyEndDate: (0, smithy_client_1.expectString)(output.AnomalyEndDate),
|
|
2322
|
+
AnomalyId: (0, smithy_client_1.expectString)(output.AnomalyId),
|
|
2323
2323
|
AnomalyScore: output.AnomalyScore !== undefined && output.AnomalyScore !== null
|
|
2324
2324
|
? deserializeAws_json1_1AnomalyScore(output.AnomalyScore, context)
|
|
2325
2325
|
: undefined,
|
|
2326
|
-
AnomalyStartDate: smithy_client_1.expectString(output.AnomalyStartDate),
|
|
2327
|
-
DimensionValue: smithy_client_1.expectString(output.DimensionValue),
|
|
2328
|
-
Feedback: smithy_client_1.expectString(output.Feedback),
|
|
2326
|
+
AnomalyStartDate: (0, smithy_client_1.expectString)(output.AnomalyStartDate),
|
|
2327
|
+
DimensionValue: (0, smithy_client_1.expectString)(output.DimensionValue),
|
|
2328
|
+
Feedback: (0, smithy_client_1.expectString)(output.Feedback),
|
|
2329
2329
|
Impact: output.Impact !== undefined && output.Impact !== null
|
|
2330
2330
|
? deserializeAws_json1_1Impact(output.Impact, context)
|
|
2331
2331
|
: undefined,
|
|
2332
|
-
MonitorArn: smithy_client_1.expectString(output.MonitorArn),
|
|
2332
|
+
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
2333
2333
|
RootCauses: output.RootCauses !== undefined && output.RootCauses !== null
|
|
2334
2334
|
? deserializeAws_json1_1RootCauses(output.RootCauses, context)
|
|
2335
2335
|
: undefined,
|
|
@@ -2337,17 +2337,17 @@ const deserializeAws_json1_1Anomaly = (output, context) => {
|
|
|
2337
2337
|
};
|
|
2338
2338
|
const deserializeAws_json1_1AnomalyMonitor = (output, context) => {
|
|
2339
2339
|
return {
|
|
2340
|
-
CreationDate: smithy_client_1.expectString(output.CreationDate),
|
|
2341
|
-
DimensionalValueCount: smithy_client_1.expectInt32(output.DimensionalValueCount),
|
|
2342
|
-
LastEvaluatedDate: smithy_client_1.expectString(output.LastEvaluatedDate),
|
|
2343
|
-
LastUpdatedDate: smithy_client_1.expectString(output.LastUpdatedDate),
|
|
2344
|
-
MonitorArn: smithy_client_1.expectString(output.MonitorArn),
|
|
2345
|
-
MonitorDimension: smithy_client_1.expectString(output.MonitorDimension),
|
|
2346
|
-
MonitorName: smithy_client_1.expectString(output.MonitorName),
|
|
2340
|
+
CreationDate: (0, smithy_client_1.expectString)(output.CreationDate),
|
|
2341
|
+
DimensionalValueCount: (0, smithy_client_1.expectInt32)(output.DimensionalValueCount),
|
|
2342
|
+
LastEvaluatedDate: (0, smithy_client_1.expectString)(output.LastEvaluatedDate),
|
|
2343
|
+
LastUpdatedDate: (0, smithy_client_1.expectString)(output.LastUpdatedDate),
|
|
2344
|
+
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
2345
|
+
MonitorDimension: (0, smithy_client_1.expectString)(output.MonitorDimension),
|
|
2346
|
+
MonitorName: (0, smithy_client_1.expectString)(output.MonitorName),
|
|
2347
2347
|
MonitorSpecification: output.MonitorSpecification !== undefined && output.MonitorSpecification !== null
|
|
2348
2348
|
? deserializeAws_json1_1Expression(output.MonitorSpecification, context)
|
|
2349
2349
|
: undefined,
|
|
2350
|
-
MonitorType: smithy_client_1.expectString(output.MonitorType),
|
|
2350
|
+
MonitorType: (0, smithy_client_1.expectString)(output.MonitorType),
|
|
2351
2351
|
};
|
|
2352
2352
|
};
|
|
2353
2353
|
const deserializeAws_json1_1AnomalyMonitors = (output, context) => {
|
|
@@ -2363,23 +2363,23 @@ const deserializeAws_json1_1AnomalyMonitors = (output, context) => {
|
|
|
2363
2363
|
};
|
|
2364
2364
|
const deserializeAws_json1_1AnomalyScore = (output, context) => {
|
|
2365
2365
|
return {
|
|
2366
|
-
CurrentScore: smithy_client_1.limitedParseDouble(output.CurrentScore),
|
|
2367
|
-
MaxScore: smithy_client_1.limitedParseDouble(output.MaxScore),
|
|
2366
|
+
CurrentScore: (0, smithy_client_1.limitedParseDouble)(output.CurrentScore),
|
|
2367
|
+
MaxScore: (0, smithy_client_1.limitedParseDouble)(output.MaxScore),
|
|
2368
2368
|
};
|
|
2369
2369
|
};
|
|
2370
2370
|
const deserializeAws_json1_1AnomalySubscription = (output, context) => {
|
|
2371
2371
|
return {
|
|
2372
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
2373
|
-
Frequency: smithy_client_1.expectString(output.Frequency),
|
|
2372
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2373
|
+
Frequency: (0, smithy_client_1.expectString)(output.Frequency),
|
|
2374
2374
|
MonitorArnList: output.MonitorArnList !== undefined && output.MonitorArnList !== null
|
|
2375
2375
|
? deserializeAws_json1_1MonitorArnList(output.MonitorArnList, context)
|
|
2376
2376
|
: undefined,
|
|
2377
2377
|
Subscribers: output.Subscribers !== undefined && output.Subscribers !== null
|
|
2378
2378
|
? deserializeAws_json1_1Subscribers(output.Subscribers, context)
|
|
2379
2379
|
: undefined,
|
|
2380
|
-
SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
|
|
2381
|
-
SubscriptionName: smithy_client_1.expectString(output.SubscriptionName),
|
|
2382
|
-
Threshold: smithy_client_1.limitedParseDouble(output.Threshold),
|
|
2380
|
+
SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
|
|
2381
|
+
SubscriptionName: (0, smithy_client_1.expectString)(output.SubscriptionName),
|
|
2382
|
+
Threshold: (0, smithy_client_1.limitedParseDouble)(output.Threshold),
|
|
2383
2383
|
};
|
|
2384
2384
|
};
|
|
2385
2385
|
const deserializeAws_json1_1AnomalySubscriptions = (output, context) => {
|
|
@@ -2400,26 +2400,26 @@ const deserializeAws_json1_1Attributes = (output, context) => {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
return {
|
|
2402
2402
|
...acc,
|
|
2403
|
-
[key]: smithy_client_1.expectString(value),
|
|
2403
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2404
2404
|
};
|
|
2405
2405
|
}, {});
|
|
2406
2406
|
};
|
|
2407
2407
|
const deserializeAws_json1_1BillExpirationException = (output, context) => {
|
|
2408
2408
|
return {
|
|
2409
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2409
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2410
2410
|
};
|
|
2411
2411
|
};
|
|
2412
2412
|
const deserializeAws_json1_1CostCategory = (output, context) => {
|
|
2413
2413
|
return {
|
|
2414
|
-
CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
|
|
2415
|
-
DefaultValue: smithy_client_1.expectString(output.DefaultValue),
|
|
2416
|
-
EffectiveEnd: smithy_client_1.expectString(output.EffectiveEnd),
|
|
2417
|
-
EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
|
|
2418
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2414
|
+
CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
|
|
2415
|
+
DefaultValue: (0, smithy_client_1.expectString)(output.DefaultValue),
|
|
2416
|
+
EffectiveEnd: (0, smithy_client_1.expectString)(output.EffectiveEnd),
|
|
2417
|
+
EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
|
|
2418
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2419
2419
|
ProcessingStatus: output.ProcessingStatus !== undefined && output.ProcessingStatus !== null
|
|
2420
2420
|
? deserializeAws_json1_1CostCategoryProcessingStatusList(output.ProcessingStatus, context)
|
|
2421
2421
|
: undefined,
|
|
2422
|
-
RuleVersion: smithy_client_1.expectString(output.RuleVersion),
|
|
2422
|
+
RuleVersion: (0, smithy_client_1.expectString)(output.RuleVersion),
|
|
2423
2423
|
Rules: output.Rules !== undefined && output.Rules !== null
|
|
2424
2424
|
? deserializeAws_json1_1CostCategoryRulesList(output.Rules, context)
|
|
2425
2425
|
: undefined,
|
|
@@ -2430,8 +2430,8 @@ const deserializeAws_json1_1CostCategory = (output, context) => {
|
|
|
2430
2430
|
};
|
|
2431
2431
|
const deserializeAws_json1_1CostCategoryInheritedValueDimension = (output, context) => {
|
|
2432
2432
|
return {
|
|
2433
|
-
DimensionKey: smithy_client_1.expectString(output.DimensionKey),
|
|
2434
|
-
DimensionName: smithy_client_1.expectString(output.DimensionName),
|
|
2433
|
+
DimensionKey: (0, smithy_client_1.expectString)(output.DimensionKey),
|
|
2434
|
+
DimensionName: (0, smithy_client_1.expectString)(output.DimensionName),
|
|
2435
2435
|
};
|
|
2436
2436
|
};
|
|
2437
2437
|
const deserializeAws_json1_1CostCategoryNamesList = (output, context) => {
|
|
@@ -2441,14 +2441,14 @@ const deserializeAws_json1_1CostCategoryNamesList = (output, context) => {
|
|
|
2441
2441
|
if (entry === null) {
|
|
2442
2442
|
return null;
|
|
2443
2443
|
}
|
|
2444
|
-
return smithy_client_1.expectString(entry);
|
|
2444
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2445
2445
|
});
|
|
2446
2446
|
return retVal;
|
|
2447
2447
|
};
|
|
2448
2448
|
const deserializeAws_json1_1CostCategoryProcessingStatus = (output, context) => {
|
|
2449
2449
|
return {
|
|
2450
|
-
Component: smithy_client_1.expectString(output.Component),
|
|
2451
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2450
|
+
Component: (0, smithy_client_1.expectString)(output.Component),
|
|
2451
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2452
2452
|
};
|
|
2453
2453
|
};
|
|
2454
2454
|
const deserializeAws_json1_1CostCategoryProcessingStatusList = (output, context) => {
|
|
@@ -2464,12 +2464,12 @@ const deserializeAws_json1_1CostCategoryProcessingStatusList = (output, context)
|
|
|
2464
2464
|
};
|
|
2465
2465
|
const deserializeAws_json1_1CostCategoryReference = (output, context) => {
|
|
2466
2466
|
return {
|
|
2467
|
-
CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
|
|
2468
|
-
DefaultValue: smithy_client_1.expectString(output.DefaultValue),
|
|
2469
|
-
EffectiveEnd: smithy_client_1.expectString(output.EffectiveEnd),
|
|
2470
|
-
EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
|
|
2471
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2472
|
-
NumberOfRules: smithy_client_1.expectInt32(output.NumberOfRules),
|
|
2467
|
+
CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
|
|
2468
|
+
DefaultValue: (0, smithy_client_1.expectString)(output.DefaultValue),
|
|
2469
|
+
EffectiveEnd: (0, smithy_client_1.expectString)(output.EffectiveEnd),
|
|
2470
|
+
EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
|
|
2471
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2472
|
+
NumberOfRules: (0, smithy_client_1.expectInt32)(output.NumberOfRules),
|
|
2473
2473
|
ProcessingStatus: output.ProcessingStatus !== undefined && output.ProcessingStatus !== null
|
|
2474
2474
|
? deserializeAws_json1_1CostCategoryProcessingStatusList(output.ProcessingStatus, context)
|
|
2475
2475
|
: undefined,
|
|
@@ -2497,8 +2497,8 @@ const deserializeAws_json1_1CostCategoryRule = (output, context) => {
|
|
|
2497
2497
|
Rule: output.Rule !== undefined && output.Rule !== null
|
|
2498
2498
|
? deserializeAws_json1_1Expression(output.Rule, context)
|
|
2499
2499
|
: undefined,
|
|
2500
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2501
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2500
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2501
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2502
2502
|
};
|
|
2503
2503
|
};
|
|
2504
2504
|
const deserializeAws_json1_1CostCategoryRulesList = (output, context) => {
|
|
@@ -2514,11 +2514,11 @@ const deserializeAws_json1_1CostCategoryRulesList = (output, context) => {
|
|
|
2514
2514
|
};
|
|
2515
2515
|
const deserializeAws_json1_1CostCategorySplitChargeRule = (output, context) => {
|
|
2516
2516
|
return {
|
|
2517
|
-
Method: smithy_client_1.expectString(output.Method),
|
|
2517
|
+
Method: (0, smithy_client_1.expectString)(output.Method),
|
|
2518
2518
|
Parameters: output.Parameters !== undefined && output.Parameters !== null
|
|
2519
2519
|
? deserializeAws_json1_1CostCategorySplitChargeRuleParametersList(output.Parameters, context)
|
|
2520
2520
|
: undefined,
|
|
2521
|
-
Source: smithy_client_1.expectString(output.Source),
|
|
2521
|
+
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
2522
2522
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
2523
2523
|
? deserializeAws_json1_1CostCategorySplitChargeRuleTargetsList(output.Targets, context)
|
|
2524
2524
|
: undefined,
|
|
@@ -2526,7 +2526,7 @@ const deserializeAws_json1_1CostCategorySplitChargeRule = (output, context) => {
|
|
|
2526
2526
|
};
|
|
2527
2527
|
const deserializeAws_json1_1CostCategorySplitChargeRuleParameter = (output, context) => {
|
|
2528
2528
|
return {
|
|
2529
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2529
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2530
2530
|
Values: output.Values !== undefined && output.Values !== null
|
|
2531
2531
|
? deserializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList(output.Values, context)
|
|
2532
2532
|
: undefined,
|
|
@@ -2550,7 +2550,7 @@ const deserializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList = (ou
|
|
|
2550
2550
|
if (entry === null) {
|
|
2551
2551
|
return null;
|
|
2552
2552
|
}
|
|
2553
|
-
return smithy_client_1.expectString(entry);
|
|
2553
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2554
2554
|
});
|
|
2555
2555
|
return retVal;
|
|
2556
2556
|
};
|
|
@@ -2572,13 +2572,13 @@ const deserializeAws_json1_1CostCategorySplitChargeRuleTargetsList = (output, co
|
|
|
2572
2572
|
if (entry === null) {
|
|
2573
2573
|
return null;
|
|
2574
2574
|
}
|
|
2575
|
-
return smithy_client_1.expectString(entry);
|
|
2575
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2576
2576
|
});
|
|
2577
2577
|
return retVal;
|
|
2578
2578
|
};
|
|
2579
2579
|
const deserializeAws_json1_1CostCategoryValues = (output, context) => {
|
|
2580
2580
|
return {
|
|
2581
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2581
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2582
2582
|
MatchOptions: output.MatchOptions !== undefined && output.MatchOptions !== null
|
|
2583
2583
|
? deserializeAws_json1_1MatchOptions(output.MatchOptions, context)
|
|
2584
2584
|
: undefined,
|
|
@@ -2594,7 +2594,7 @@ const deserializeAws_json1_1CostCategoryValuesList = (output, context) => {
|
|
|
2594
2594
|
if (entry === null) {
|
|
2595
2595
|
return null;
|
|
2596
2596
|
}
|
|
2597
|
-
return smithy_client_1.expectString(entry);
|
|
2597
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2598
2598
|
});
|
|
2599
2599
|
return retVal;
|
|
2600
2600
|
};
|
|
@@ -2626,23 +2626,23 @@ const deserializeAws_json1_1CoverageByTime = (output, context) => {
|
|
|
2626
2626
|
};
|
|
2627
2627
|
const deserializeAws_json1_1CoverageCost = (output, context) => {
|
|
2628
2628
|
return {
|
|
2629
|
-
OnDemandCost: smithy_client_1.expectString(output.OnDemandCost),
|
|
2629
|
+
OnDemandCost: (0, smithy_client_1.expectString)(output.OnDemandCost),
|
|
2630
2630
|
};
|
|
2631
2631
|
};
|
|
2632
2632
|
const deserializeAws_json1_1CoverageHours = (output, context) => {
|
|
2633
2633
|
return {
|
|
2634
|
-
CoverageHoursPercentage: smithy_client_1.expectString(output.CoverageHoursPercentage),
|
|
2635
|
-
OnDemandHours: smithy_client_1.expectString(output.OnDemandHours),
|
|
2636
|
-
ReservedHours: smithy_client_1.expectString(output.ReservedHours),
|
|
2637
|
-
TotalRunningHours: smithy_client_1.expectString(output.TotalRunningHours),
|
|
2634
|
+
CoverageHoursPercentage: (0, smithy_client_1.expectString)(output.CoverageHoursPercentage),
|
|
2635
|
+
OnDemandHours: (0, smithy_client_1.expectString)(output.OnDemandHours),
|
|
2636
|
+
ReservedHours: (0, smithy_client_1.expectString)(output.ReservedHours),
|
|
2637
|
+
TotalRunningHours: (0, smithy_client_1.expectString)(output.TotalRunningHours),
|
|
2638
2638
|
};
|
|
2639
2639
|
};
|
|
2640
2640
|
const deserializeAws_json1_1CoverageNormalizedUnits = (output, context) => {
|
|
2641
2641
|
return {
|
|
2642
|
-
CoverageNormalizedUnitsPercentage: smithy_client_1.expectString(output.CoverageNormalizedUnitsPercentage),
|
|
2643
|
-
OnDemandNormalizedUnits: smithy_client_1.expectString(output.OnDemandNormalizedUnits),
|
|
2644
|
-
ReservedNormalizedUnits: smithy_client_1.expectString(output.ReservedNormalizedUnits),
|
|
2645
|
-
TotalRunningNormalizedUnits: smithy_client_1.expectString(output.TotalRunningNormalizedUnits),
|
|
2642
|
+
CoverageNormalizedUnitsPercentage: (0, smithy_client_1.expectString)(output.CoverageNormalizedUnitsPercentage),
|
|
2643
|
+
OnDemandNormalizedUnits: (0, smithy_client_1.expectString)(output.OnDemandNormalizedUnits),
|
|
2644
|
+
ReservedNormalizedUnits: (0, smithy_client_1.expectString)(output.ReservedNormalizedUnits),
|
|
2645
|
+
TotalRunningNormalizedUnits: (0, smithy_client_1.expectString)(output.TotalRunningNormalizedUnits),
|
|
2646
2646
|
};
|
|
2647
2647
|
};
|
|
2648
2648
|
const deserializeAws_json1_1CoveragesByTime = (output, context) => {
|
|
@@ -2658,50 +2658,50 @@ const deserializeAws_json1_1CoveragesByTime = (output, context) => {
|
|
|
2658
2658
|
};
|
|
2659
2659
|
const deserializeAws_json1_1CreateAnomalyMonitorResponse = (output, context) => {
|
|
2660
2660
|
return {
|
|
2661
|
-
MonitorArn: smithy_client_1.expectString(output.MonitorArn),
|
|
2661
|
+
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
2662
2662
|
};
|
|
2663
2663
|
};
|
|
2664
2664
|
const deserializeAws_json1_1CreateAnomalySubscriptionResponse = (output, context) => {
|
|
2665
2665
|
return {
|
|
2666
|
-
SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
|
|
2666
|
+
SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
|
|
2667
2667
|
};
|
|
2668
2668
|
};
|
|
2669
2669
|
const deserializeAws_json1_1CreateCostCategoryDefinitionResponse = (output, context) => {
|
|
2670
2670
|
return {
|
|
2671
|
-
CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
|
|
2672
|
-
EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
|
|
2671
|
+
CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
|
|
2672
|
+
EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
|
|
2673
2673
|
};
|
|
2674
2674
|
};
|
|
2675
2675
|
const deserializeAws_json1_1CurrentInstance = (output, context) => {
|
|
2676
2676
|
return {
|
|
2677
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
2678
|
-
InstanceName: smithy_client_1.expectString(output.InstanceName),
|
|
2679
|
-
MonthlyCost: smithy_client_1.expectString(output.MonthlyCost),
|
|
2680
|
-
OnDemandHoursInLookbackPeriod: smithy_client_1.expectString(output.OnDemandHoursInLookbackPeriod),
|
|
2681
|
-
ReservationCoveredHoursInLookbackPeriod: smithy_client_1.expectString(output.ReservationCoveredHoursInLookbackPeriod),
|
|
2677
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
2678
|
+
InstanceName: (0, smithy_client_1.expectString)(output.InstanceName),
|
|
2679
|
+
MonthlyCost: (0, smithy_client_1.expectString)(output.MonthlyCost),
|
|
2680
|
+
OnDemandHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.OnDemandHoursInLookbackPeriod),
|
|
2681
|
+
ReservationCoveredHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.ReservationCoveredHoursInLookbackPeriod),
|
|
2682
2682
|
ResourceDetails: output.ResourceDetails !== undefined && output.ResourceDetails !== null
|
|
2683
2683
|
? deserializeAws_json1_1ResourceDetails(output.ResourceDetails, context)
|
|
2684
2684
|
: undefined,
|
|
2685
|
-
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2685
|
+
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
2686
2686
|
ResourceUtilization: output.ResourceUtilization !== undefined && output.ResourceUtilization !== null
|
|
2687
2687
|
? deserializeAws_json1_1ResourceUtilization(output.ResourceUtilization, context)
|
|
2688
2688
|
: undefined,
|
|
2689
|
-
SavingsPlansCoveredHoursInLookbackPeriod: smithy_client_1.expectString(output.SavingsPlansCoveredHoursInLookbackPeriod),
|
|
2689
|
+
SavingsPlansCoveredHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.SavingsPlansCoveredHoursInLookbackPeriod),
|
|
2690
2690
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2691
2691
|
? deserializeAws_json1_1TagValuesList(output.Tags, context)
|
|
2692
2692
|
: undefined,
|
|
2693
|
-
TotalRunningHoursInLookbackPeriod: smithy_client_1.expectString(output.TotalRunningHoursInLookbackPeriod),
|
|
2693
|
+
TotalRunningHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.TotalRunningHoursInLookbackPeriod),
|
|
2694
2694
|
};
|
|
2695
2695
|
};
|
|
2696
2696
|
const deserializeAws_json1_1DataUnavailableException = (output, context) => {
|
|
2697
2697
|
return {
|
|
2698
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2698
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2699
2699
|
};
|
|
2700
2700
|
};
|
|
2701
2701
|
const deserializeAws_json1_1DateInterval = (output, context) => {
|
|
2702
2702
|
return {
|
|
2703
|
-
End: smithy_client_1.expectString(output.End),
|
|
2704
|
-
Start: smithy_client_1.expectString(output.Start),
|
|
2703
|
+
End: (0, smithy_client_1.expectString)(output.End),
|
|
2704
|
+
Start: (0, smithy_client_1.expectString)(output.Start),
|
|
2705
2705
|
};
|
|
2706
2706
|
};
|
|
2707
2707
|
const deserializeAws_json1_1DeleteAnomalyMonitorResponse = (output, context) => {
|
|
@@ -2712,8 +2712,8 @@ const deserializeAws_json1_1DeleteAnomalySubscriptionResponse = (output, context
|
|
|
2712
2712
|
};
|
|
2713
2713
|
const deserializeAws_json1_1DeleteCostCategoryDefinitionResponse = (output, context) => {
|
|
2714
2714
|
return {
|
|
2715
|
-
CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
|
|
2716
|
-
EffectiveEnd: smithy_client_1.expectString(output.EffectiveEnd),
|
|
2715
|
+
CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
|
|
2716
|
+
EffectiveEnd: (0, smithy_client_1.expectString)(output.EffectiveEnd),
|
|
2717
2717
|
};
|
|
2718
2718
|
};
|
|
2719
2719
|
const deserializeAws_json1_1DescribeCostCategoryDefinitionResponse = (output, context) => {
|
|
@@ -2725,7 +2725,7 @@ const deserializeAws_json1_1DescribeCostCategoryDefinitionResponse = (output, co
|
|
|
2725
2725
|
};
|
|
2726
2726
|
const deserializeAws_json1_1DimensionValues = (output, context) => {
|
|
2727
2727
|
return {
|
|
2728
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2728
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2729
2729
|
MatchOptions: output.MatchOptions !== undefined && output.MatchOptions !== null
|
|
2730
2730
|
? deserializeAws_json1_1MatchOptions(output.MatchOptions, context)
|
|
2731
2731
|
: undefined,
|
|
@@ -2739,7 +2739,7 @@ const deserializeAws_json1_1DimensionValuesWithAttributes = (output, context) =>
|
|
|
2739
2739
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2740
2740
|
? deserializeAws_json1_1Attributes(output.Attributes, context)
|
|
2741
2741
|
: undefined,
|
|
2742
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2742
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2743
2743
|
};
|
|
2744
2744
|
};
|
|
2745
2745
|
const deserializeAws_json1_1DimensionValuesWithAttributesList = (output, context) => {
|
|
@@ -2755,43 +2755,43 @@ const deserializeAws_json1_1DimensionValuesWithAttributesList = (output, context
|
|
|
2755
2755
|
};
|
|
2756
2756
|
const deserializeAws_json1_1DiskResourceUtilization = (output, context) => {
|
|
2757
2757
|
return {
|
|
2758
|
-
DiskReadBytesPerSecond: smithy_client_1.expectString(output.DiskReadBytesPerSecond),
|
|
2759
|
-
DiskReadOpsPerSecond: smithy_client_1.expectString(output.DiskReadOpsPerSecond),
|
|
2760
|
-
DiskWriteBytesPerSecond: smithy_client_1.expectString(output.DiskWriteBytesPerSecond),
|
|
2761
|
-
DiskWriteOpsPerSecond: smithy_client_1.expectString(output.DiskWriteOpsPerSecond),
|
|
2758
|
+
DiskReadBytesPerSecond: (0, smithy_client_1.expectString)(output.DiskReadBytesPerSecond),
|
|
2759
|
+
DiskReadOpsPerSecond: (0, smithy_client_1.expectString)(output.DiskReadOpsPerSecond),
|
|
2760
|
+
DiskWriteBytesPerSecond: (0, smithy_client_1.expectString)(output.DiskWriteBytesPerSecond),
|
|
2761
|
+
DiskWriteOpsPerSecond: (0, smithy_client_1.expectString)(output.DiskWriteOpsPerSecond),
|
|
2762
2762
|
};
|
|
2763
2763
|
};
|
|
2764
2764
|
const deserializeAws_json1_1EBSResourceUtilization = (output, context) => {
|
|
2765
2765
|
return {
|
|
2766
|
-
EbsReadBytesPerSecond: smithy_client_1.expectString(output.EbsReadBytesPerSecond),
|
|
2767
|
-
EbsReadOpsPerSecond: smithy_client_1.expectString(output.EbsReadOpsPerSecond),
|
|
2768
|
-
EbsWriteBytesPerSecond: smithy_client_1.expectString(output.EbsWriteBytesPerSecond),
|
|
2769
|
-
EbsWriteOpsPerSecond: smithy_client_1.expectString(output.EbsWriteOpsPerSecond),
|
|
2766
|
+
EbsReadBytesPerSecond: (0, smithy_client_1.expectString)(output.EbsReadBytesPerSecond),
|
|
2767
|
+
EbsReadOpsPerSecond: (0, smithy_client_1.expectString)(output.EbsReadOpsPerSecond),
|
|
2768
|
+
EbsWriteBytesPerSecond: (0, smithy_client_1.expectString)(output.EbsWriteBytesPerSecond),
|
|
2769
|
+
EbsWriteOpsPerSecond: (0, smithy_client_1.expectString)(output.EbsWriteOpsPerSecond),
|
|
2770
2770
|
};
|
|
2771
2771
|
};
|
|
2772
2772
|
const deserializeAws_json1_1EC2InstanceDetails = (output, context) => {
|
|
2773
2773
|
return {
|
|
2774
|
-
AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
|
|
2775
|
-
CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
|
|
2776
|
-
Family: smithy_client_1.expectString(output.Family),
|
|
2777
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
2778
|
-
Platform: smithy_client_1.expectString(output.Platform),
|
|
2779
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
2780
|
-
SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
|
|
2781
|
-
Tenancy: smithy_client_1.expectString(output.Tenancy),
|
|
2774
|
+
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
2775
|
+
CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
|
|
2776
|
+
Family: (0, smithy_client_1.expectString)(output.Family),
|
|
2777
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
2778
|
+
Platform: (0, smithy_client_1.expectString)(output.Platform),
|
|
2779
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
2780
|
+
SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
|
|
2781
|
+
Tenancy: (0, smithy_client_1.expectString)(output.Tenancy),
|
|
2782
2782
|
};
|
|
2783
2783
|
};
|
|
2784
2784
|
const deserializeAws_json1_1EC2ResourceDetails = (output, context) => {
|
|
2785
2785
|
return {
|
|
2786
|
-
HourlyOnDemandRate: smithy_client_1.expectString(output.HourlyOnDemandRate),
|
|
2787
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
2788
|
-
Memory: smithy_client_1.expectString(output.Memory),
|
|
2789
|
-
NetworkPerformance: smithy_client_1.expectString(output.NetworkPerformance),
|
|
2790
|
-
Platform: smithy_client_1.expectString(output.Platform),
|
|
2791
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
2792
|
-
Sku: smithy_client_1.expectString(output.Sku),
|
|
2793
|
-
Storage: smithy_client_1.expectString(output.Storage),
|
|
2794
|
-
Vcpu: smithy_client_1.expectString(output.Vcpu),
|
|
2786
|
+
HourlyOnDemandRate: (0, smithy_client_1.expectString)(output.HourlyOnDemandRate),
|
|
2787
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
2788
|
+
Memory: (0, smithy_client_1.expectString)(output.Memory),
|
|
2789
|
+
NetworkPerformance: (0, smithy_client_1.expectString)(output.NetworkPerformance),
|
|
2790
|
+
Platform: (0, smithy_client_1.expectString)(output.Platform),
|
|
2791
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
2792
|
+
Sku: (0, smithy_client_1.expectString)(output.Sku),
|
|
2793
|
+
Storage: (0, smithy_client_1.expectString)(output.Storage),
|
|
2794
|
+
Vcpu: (0, smithy_client_1.expectString)(output.Vcpu),
|
|
2795
2795
|
};
|
|
2796
2796
|
};
|
|
2797
2797
|
const deserializeAws_json1_1EC2ResourceUtilization = (output, context) => {
|
|
@@ -2802,9 +2802,9 @@ const deserializeAws_json1_1EC2ResourceUtilization = (output, context) => {
|
|
|
2802
2802
|
EBSResourceUtilization: output.EBSResourceUtilization !== undefined && output.EBSResourceUtilization !== null
|
|
2803
2803
|
? deserializeAws_json1_1EBSResourceUtilization(output.EBSResourceUtilization, context)
|
|
2804
2804
|
: undefined,
|
|
2805
|
-
MaxCpuUtilizationPercentage: smithy_client_1.expectString(output.MaxCpuUtilizationPercentage),
|
|
2806
|
-
MaxMemoryUtilizationPercentage: smithy_client_1.expectString(output.MaxMemoryUtilizationPercentage),
|
|
2807
|
-
MaxStorageUtilizationPercentage: smithy_client_1.expectString(output.MaxStorageUtilizationPercentage),
|
|
2805
|
+
MaxCpuUtilizationPercentage: (0, smithy_client_1.expectString)(output.MaxCpuUtilizationPercentage),
|
|
2806
|
+
MaxMemoryUtilizationPercentage: (0, smithy_client_1.expectString)(output.MaxMemoryUtilizationPercentage),
|
|
2807
|
+
MaxStorageUtilizationPercentage: (0, smithy_client_1.expectString)(output.MaxStorageUtilizationPercentage),
|
|
2808
2808
|
NetworkResourceUtilization: output.NetworkResourceUtilization !== undefined && output.NetworkResourceUtilization !== null
|
|
2809
2809
|
? deserializeAws_json1_1NetworkResourceUtilization(output.NetworkResourceUtilization, context)
|
|
2810
2810
|
: undefined,
|
|
@@ -2812,26 +2812,26 @@ const deserializeAws_json1_1EC2ResourceUtilization = (output, context) => {
|
|
|
2812
2812
|
};
|
|
2813
2813
|
const deserializeAws_json1_1EC2Specification = (output, context) => {
|
|
2814
2814
|
return {
|
|
2815
|
-
OfferingClass: smithy_client_1.expectString(output.OfferingClass),
|
|
2815
|
+
OfferingClass: (0, smithy_client_1.expectString)(output.OfferingClass),
|
|
2816
2816
|
};
|
|
2817
2817
|
};
|
|
2818
2818
|
const deserializeAws_json1_1ElastiCacheInstanceDetails = (output, context) => {
|
|
2819
2819
|
return {
|
|
2820
|
-
CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
|
|
2821
|
-
Family: smithy_client_1.expectString(output.Family),
|
|
2822
|
-
NodeType: smithy_client_1.expectString(output.NodeType),
|
|
2823
|
-
ProductDescription: smithy_client_1.expectString(output.ProductDescription),
|
|
2824
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
2825
|
-
SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
|
|
2820
|
+
CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
|
|
2821
|
+
Family: (0, smithy_client_1.expectString)(output.Family),
|
|
2822
|
+
NodeType: (0, smithy_client_1.expectString)(output.NodeType),
|
|
2823
|
+
ProductDescription: (0, smithy_client_1.expectString)(output.ProductDescription),
|
|
2824
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
2825
|
+
SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
|
|
2826
2826
|
};
|
|
2827
2827
|
};
|
|
2828
2828
|
const deserializeAws_json1_1ESInstanceDetails = (output, context) => {
|
|
2829
2829
|
return {
|
|
2830
|
-
CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
|
|
2831
|
-
InstanceClass: smithy_client_1.expectString(output.InstanceClass),
|
|
2832
|
-
InstanceSize: smithy_client_1.expectString(output.InstanceSize),
|
|
2833
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
2834
|
-
SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
|
|
2830
|
+
CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
|
|
2831
|
+
InstanceClass: (0, smithy_client_1.expectString)(output.InstanceClass),
|
|
2832
|
+
InstanceSize: (0, smithy_client_1.expectString)(output.InstanceSize),
|
|
2833
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
2834
|
+
SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
|
|
2835
2835
|
};
|
|
2836
2836
|
};
|
|
2837
2837
|
const deserializeAws_json1_1Expression = (output, context) => {
|
|
@@ -2872,15 +2872,15 @@ const deserializeAws_json1_1FindingReasonCodes = (output, context) => {
|
|
|
2872
2872
|
if (entry === null) {
|
|
2873
2873
|
return null;
|
|
2874
2874
|
}
|
|
2875
|
-
return smithy_client_1.expectString(entry);
|
|
2875
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2876
2876
|
});
|
|
2877
2877
|
return retVal;
|
|
2878
2878
|
};
|
|
2879
2879
|
const deserializeAws_json1_1ForecastResult = (output, context) => {
|
|
2880
2880
|
return {
|
|
2881
|
-
MeanValue: smithy_client_1.expectString(output.MeanValue),
|
|
2882
|
-
PredictionIntervalLowerBound: smithy_client_1.expectString(output.PredictionIntervalLowerBound),
|
|
2883
|
-
PredictionIntervalUpperBound: smithy_client_1.expectString(output.PredictionIntervalUpperBound),
|
|
2881
|
+
MeanValue: (0, smithy_client_1.expectString)(output.MeanValue),
|
|
2882
|
+
PredictionIntervalLowerBound: (0, smithy_client_1.expectString)(output.PredictionIntervalLowerBound),
|
|
2883
|
+
PredictionIntervalUpperBound: (0, smithy_client_1.expectString)(output.PredictionIntervalUpperBound),
|
|
2884
2884
|
TimePeriod: output.TimePeriod !== undefined && output.TimePeriod !== null
|
|
2885
2885
|
? deserializeAws_json1_1DateInterval(output.TimePeriod, context)
|
|
2886
2886
|
: undefined,
|
|
@@ -2902,7 +2902,7 @@ const deserializeAws_json1_1GetAnomaliesResponse = (output, context) => {
|
|
|
2902
2902
|
Anomalies: output.Anomalies !== undefined && output.Anomalies !== null
|
|
2903
2903
|
? deserializeAws_json1_1Anomalies(output.Anomalies, context)
|
|
2904
2904
|
: undefined,
|
|
2905
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2905
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2906
2906
|
};
|
|
2907
2907
|
};
|
|
2908
2908
|
const deserializeAws_json1_1GetAnomalyMonitorsResponse = (output, context) => {
|
|
@@ -2910,7 +2910,7 @@ const deserializeAws_json1_1GetAnomalyMonitorsResponse = (output, context) => {
|
|
|
2910
2910
|
AnomalyMonitors: output.AnomalyMonitors !== undefined && output.AnomalyMonitors !== null
|
|
2911
2911
|
? deserializeAws_json1_1AnomalyMonitors(output.AnomalyMonitors, context)
|
|
2912
2912
|
: undefined,
|
|
2913
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2913
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2914
2914
|
};
|
|
2915
2915
|
};
|
|
2916
2916
|
const deserializeAws_json1_1GetAnomalySubscriptionsResponse = (output, context) => {
|
|
@@ -2918,7 +2918,7 @@ const deserializeAws_json1_1GetAnomalySubscriptionsResponse = (output, context)
|
|
|
2918
2918
|
AnomalySubscriptions: output.AnomalySubscriptions !== undefined && output.AnomalySubscriptions !== null
|
|
2919
2919
|
? deserializeAws_json1_1AnomalySubscriptions(output.AnomalySubscriptions, context)
|
|
2920
2920
|
: undefined,
|
|
2921
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2921
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2922
2922
|
};
|
|
2923
2923
|
};
|
|
2924
2924
|
const deserializeAws_json1_1GetCostAndUsageResponse = (output, context) => {
|
|
@@ -2929,7 +2929,7 @@ const deserializeAws_json1_1GetCostAndUsageResponse = (output, context) => {
|
|
|
2929
2929
|
GroupDefinitions: output.GroupDefinitions !== undefined && output.GroupDefinitions !== null
|
|
2930
2930
|
? deserializeAws_json1_1GroupDefinitions(output.GroupDefinitions, context)
|
|
2931
2931
|
: undefined,
|
|
2932
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2932
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2933
2933
|
ResultsByTime: output.ResultsByTime !== undefined && output.ResultsByTime !== null
|
|
2934
2934
|
? deserializeAws_json1_1ResultsByTime(output.ResultsByTime, context)
|
|
2935
2935
|
: undefined,
|
|
@@ -2943,7 +2943,7 @@ const deserializeAws_json1_1GetCostAndUsageWithResourcesResponse = (output, cont
|
|
|
2943
2943
|
GroupDefinitions: output.GroupDefinitions !== undefined && output.GroupDefinitions !== null
|
|
2944
2944
|
? deserializeAws_json1_1GroupDefinitions(output.GroupDefinitions, context)
|
|
2945
2945
|
: undefined,
|
|
2946
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2946
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2947
2947
|
ResultsByTime: output.ResultsByTime !== undefined && output.ResultsByTime !== null
|
|
2948
2948
|
? deserializeAws_json1_1ResultsByTime(output.ResultsByTime, context)
|
|
2949
2949
|
: undefined,
|
|
@@ -2957,9 +2957,9 @@ const deserializeAws_json1_1GetCostCategoriesResponse = (output, context) => {
|
|
|
2957
2957
|
CostCategoryValues: output.CostCategoryValues !== undefined && output.CostCategoryValues !== null
|
|
2958
2958
|
? deserializeAws_json1_1CostCategoryValuesList(output.CostCategoryValues, context)
|
|
2959
2959
|
: undefined,
|
|
2960
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2961
|
-
ReturnSize: smithy_client_1.expectInt32(output.ReturnSize),
|
|
2962
|
-
TotalSize: smithy_client_1.expectInt32(output.TotalSize),
|
|
2960
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2961
|
+
ReturnSize: (0, smithy_client_1.expectInt32)(output.ReturnSize),
|
|
2962
|
+
TotalSize: (0, smithy_client_1.expectInt32)(output.TotalSize),
|
|
2963
2963
|
};
|
|
2964
2964
|
};
|
|
2965
2965
|
const deserializeAws_json1_1GetCostForecastResponse = (output, context) => {
|
|
@@ -2977,9 +2977,9 @@ const deserializeAws_json1_1GetDimensionValuesResponse = (output, context) => {
|
|
|
2977
2977
|
DimensionValues: output.DimensionValues !== undefined && output.DimensionValues !== null
|
|
2978
2978
|
? deserializeAws_json1_1DimensionValuesWithAttributesList(output.DimensionValues, context)
|
|
2979
2979
|
: undefined,
|
|
2980
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2981
|
-
ReturnSize: smithy_client_1.expectInt32(output.ReturnSize),
|
|
2982
|
-
TotalSize: smithy_client_1.expectInt32(output.TotalSize),
|
|
2980
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2981
|
+
ReturnSize: (0, smithy_client_1.expectInt32)(output.ReturnSize),
|
|
2982
|
+
TotalSize: (0, smithy_client_1.expectInt32)(output.TotalSize),
|
|
2983
2983
|
};
|
|
2984
2984
|
};
|
|
2985
2985
|
const deserializeAws_json1_1GetReservationCoverageResponse = (output, context) => {
|
|
@@ -2987,7 +2987,7 @@ const deserializeAws_json1_1GetReservationCoverageResponse = (output, context) =
|
|
|
2987
2987
|
CoveragesByTime: output.CoveragesByTime !== undefined && output.CoveragesByTime !== null
|
|
2988
2988
|
? deserializeAws_json1_1CoveragesByTime(output.CoveragesByTime, context)
|
|
2989
2989
|
: undefined,
|
|
2990
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
2990
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
2991
2991
|
Total: output.Total !== undefined && output.Total !== null
|
|
2992
2992
|
? deserializeAws_json1_1Coverage(output.Total, context)
|
|
2993
2993
|
: undefined,
|
|
@@ -2998,7 +2998,7 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationResponse = (outp
|
|
|
2998
2998
|
Metadata: output.Metadata !== undefined && output.Metadata !== null
|
|
2999
2999
|
? deserializeAws_json1_1ReservationPurchaseRecommendationMetadata(output.Metadata, context)
|
|
3000
3000
|
: undefined,
|
|
3001
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
3001
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
3002
3002
|
Recommendations: output.Recommendations !== undefined && output.Recommendations !== null
|
|
3003
3003
|
? deserializeAws_json1_1ReservationPurchaseRecommendations(output.Recommendations, context)
|
|
3004
3004
|
: undefined,
|
|
@@ -3006,7 +3006,7 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationResponse = (outp
|
|
|
3006
3006
|
};
|
|
3007
3007
|
const deserializeAws_json1_1GetReservationUtilizationResponse = (output, context) => {
|
|
3008
3008
|
return {
|
|
3009
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
3009
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
3010
3010
|
Total: output.Total !== undefined && output.Total !== null
|
|
3011
3011
|
? deserializeAws_json1_1ReservationAggregates(output.Total, context)
|
|
3012
3012
|
: undefined,
|
|
@@ -3023,7 +3023,7 @@ const deserializeAws_json1_1GetRightsizingRecommendationResponse = (output, cont
|
|
|
3023
3023
|
Metadata: output.Metadata !== undefined && output.Metadata !== null
|
|
3024
3024
|
? deserializeAws_json1_1RightsizingRecommendationMetadata(output.Metadata, context)
|
|
3025
3025
|
: undefined,
|
|
3026
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
3026
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
3027
3027
|
RightsizingRecommendations: output.RightsizingRecommendations !== undefined && output.RightsizingRecommendations !== null
|
|
3028
3028
|
? deserializeAws_json1_1RightsizingRecommendationList(output.RightsizingRecommendations, context)
|
|
3029
3029
|
: undefined,
|
|
@@ -3034,7 +3034,7 @@ const deserializeAws_json1_1GetRightsizingRecommendationResponse = (output, cont
|
|
|
3034
3034
|
};
|
|
3035
3035
|
const deserializeAws_json1_1GetSavingsPlansCoverageResponse = (output, context) => {
|
|
3036
3036
|
return {
|
|
3037
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3037
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3038
3038
|
SavingsPlansCoverages: output.SavingsPlansCoverages !== undefined && output.SavingsPlansCoverages !== null
|
|
3039
3039
|
? deserializeAws_json1_1SavingsPlansCoverages(output.SavingsPlansCoverages, context)
|
|
3040
3040
|
: undefined,
|
|
@@ -3045,7 +3045,7 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationResponse = (out
|
|
|
3045
3045
|
Metadata: output.Metadata !== undefined && output.Metadata !== null
|
|
3046
3046
|
? deserializeAws_json1_1SavingsPlansPurchaseRecommendationMetadata(output.Metadata, context)
|
|
3047
3047
|
: undefined,
|
|
3048
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
3048
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
3049
3049
|
SavingsPlansPurchaseRecommendation: output.SavingsPlansPurchaseRecommendation !== undefined && output.SavingsPlansPurchaseRecommendation !== null
|
|
3050
3050
|
? deserializeAws_json1_1SavingsPlansPurchaseRecommendation(output.SavingsPlansPurchaseRecommendation, context)
|
|
3051
3051
|
: undefined,
|
|
@@ -3053,7 +3053,7 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationResponse = (out
|
|
|
3053
3053
|
};
|
|
3054
3054
|
const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsResponse = (output, context) => {
|
|
3055
3055
|
return {
|
|
3056
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3056
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3057
3057
|
SavingsPlansUtilizationDetails: output.SavingsPlansUtilizationDetails !== undefined && output.SavingsPlansUtilizationDetails !== null
|
|
3058
3058
|
? deserializeAws_json1_1SavingsPlansUtilizationDetails(output.SavingsPlansUtilizationDetails, context)
|
|
3059
3059
|
: undefined,
|
|
@@ -3077,12 +3077,12 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationResponse = (output, contex
|
|
|
3077
3077
|
};
|
|
3078
3078
|
const deserializeAws_json1_1GetTagsResponse = (output, context) => {
|
|
3079
3079
|
return {
|
|
3080
|
-
NextPageToken: smithy_client_1.expectString(output.NextPageToken),
|
|
3081
|
-
ReturnSize: smithy_client_1.expectInt32(output.ReturnSize),
|
|
3080
|
+
NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
|
|
3081
|
+
ReturnSize: (0, smithy_client_1.expectInt32)(output.ReturnSize),
|
|
3082
3082
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3083
3083
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3084
3084
|
: undefined,
|
|
3085
|
-
TotalSize: smithy_client_1.expectInt32(output.TotalSize),
|
|
3085
|
+
TotalSize: (0, smithy_client_1.expectInt32)(output.TotalSize),
|
|
3086
3086
|
};
|
|
3087
3087
|
};
|
|
3088
3088
|
const deserializeAws_json1_1GetUsageForecastResponse = (output, context) => {
|
|
@@ -3105,8 +3105,8 @@ const deserializeAws_json1_1Group = (output, context) => {
|
|
|
3105
3105
|
};
|
|
3106
3106
|
const deserializeAws_json1_1GroupDefinition = (output, context) => {
|
|
3107
3107
|
return {
|
|
3108
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3109
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3108
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3109
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3110
3110
|
};
|
|
3111
3111
|
};
|
|
3112
3112
|
const deserializeAws_json1_1GroupDefinitions = (output, context) => {
|
|
@@ -3133,8 +3133,8 @@ const deserializeAws_json1_1Groups = (output, context) => {
|
|
|
3133
3133
|
};
|
|
3134
3134
|
const deserializeAws_json1_1Impact = (output, context) => {
|
|
3135
3135
|
return {
|
|
3136
|
-
MaxImpact: smithy_client_1.limitedParseDouble(output.MaxImpact),
|
|
3137
|
-
TotalImpact: smithy_client_1.limitedParseDouble(output.TotalImpact),
|
|
3136
|
+
MaxImpact: (0, smithy_client_1.limitedParseDouble)(output.MaxImpact),
|
|
3137
|
+
TotalImpact: (0, smithy_client_1.limitedParseDouble)(output.TotalImpact),
|
|
3138
3138
|
};
|
|
3139
3139
|
};
|
|
3140
3140
|
const deserializeAws_json1_1InstanceDetails = (output, context) => {
|
|
@@ -3158,7 +3158,7 @@ const deserializeAws_json1_1InstanceDetails = (output, context) => {
|
|
|
3158
3158
|
};
|
|
3159
3159
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
3160
3160
|
return {
|
|
3161
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3161
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3162
3162
|
};
|
|
3163
3163
|
};
|
|
3164
3164
|
const deserializeAws_json1_1Keys = (output, context) => {
|
|
@@ -3168,13 +3168,13 @@ const deserializeAws_json1_1Keys = (output, context) => {
|
|
|
3168
3168
|
if (entry === null) {
|
|
3169
3169
|
return null;
|
|
3170
3170
|
}
|
|
3171
|
-
return smithy_client_1.expectString(entry);
|
|
3171
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3172
3172
|
});
|
|
3173
3173
|
return retVal;
|
|
3174
3174
|
};
|
|
3175
3175
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
3176
3176
|
return {
|
|
3177
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3177
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3178
3178
|
};
|
|
3179
3179
|
};
|
|
3180
3180
|
const deserializeAws_json1_1ListCostCategoryDefinitionsResponse = (output, context) => {
|
|
@@ -3182,7 +3182,7 @@ const deserializeAws_json1_1ListCostCategoryDefinitionsResponse = (output, conte
|
|
|
3182
3182
|
CostCategoryReferences: output.CostCategoryReferences !== undefined && output.CostCategoryReferences !== null
|
|
3183
3183
|
? deserializeAws_json1_1CostCategoryReferencesList(output.CostCategoryReferences, context)
|
|
3184
3184
|
: undefined,
|
|
3185
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3185
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3186
3186
|
};
|
|
3187
3187
|
};
|
|
3188
3188
|
const deserializeAws_json1_1MatchOptions = (output, context) => {
|
|
@@ -3192,7 +3192,7 @@ const deserializeAws_json1_1MatchOptions = (output, context) => {
|
|
|
3192
3192
|
if (entry === null) {
|
|
3193
3193
|
return null;
|
|
3194
3194
|
}
|
|
3195
|
-
return smithy_client_1.expectString(entry);
|
|
3195
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3196
3196
|
});
|
|
3197
3197
|
return retVal;
|
|
3198
3198
|
};
|
|
@@ -3209,8 +3209,8 @@ const deserializeAws_json1_1Metrics = (output, context) => {
|
|
|
3209
3209
|
};
|
|
3210
3210
|
const deserializeAws_json1_1MetricValue = (output, context) => {
|
|
3211
3211
|
return {
|
|
3212
|
-
Amount: smithy_client_1.expectString(output.Amount),
|
|
3213
|
-
Unit: smithy_client_1.expectString(output.Unit),
|
|
3212
|
+
Amount: (0, smithy_client_1.expectString)(output.Amount),
|
|
3213
|
+
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
3214
3214
|
};
|
|
3215
3215
|
};
|
|
3216
3216
|
const deserializeAws_json1_1ModifyRecommendationDetail = (output, context) => {
|
|
@@ -3227,16 +3227,16 @@ const deserializeAws_json1_1MonitorArnList = (output, context) => {
|
|
|
3227
3227
|
if (entry === null) {
|
|
3228
3228
|
return null;
|
|
3229
3229
|
}
|
|
3230
|
-
return smithy_client_1.expectString(entry);
|
|
3230
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3231
3231
|
});
|
|
3232
3232
|
return retVal;
|
|
3233
3233
|
};
|
|
3234
3234
|
const deserializeAws_json1_1NetworkResourceUtilization = (output, context) => {
|
|
3235
3235
|
return {
|
|
3236
|
-
NetworkInBytesPerSecond: smithy_client_1.expectString(output.NetworkInBytesPerSecond),
|
|
3237
|
-
NetworkOutBytesPerSecond: smithy_client_1.expectString(output.NetworkOutBytesPerSecond),
|
|
3238
|
-
NetworkPacketsInPerSecond: smithy_client_1.expectString(output.NetworkPacketsInPerSecond),
|
|
3239
|
-
NetworkPacketsOutPerSecond: smithy_client_1.expectString(output.NetworkPacketsOutPerSecond),
|
|
3236
|
+
NetworkInBytesPerSecond: (0, smithy_client_1.expectString)(output.NetworkInBytesPerSecond),
|
|
3237
|
+
NetworkOutBytesPerSecond: (0, smithy_client_1.expectString)(output.NetworkOutBytesPerSecond),
|
|
3238
|
+
NetworkPacketsInPerSecond: (0, smithy_client_1.expectString)(output.NetworkPacketsInPerSecond),
|
|
3239
|
+
NetworkPacketsOutPerSecond: (0, smithy_client_1.expectString)(output.NetworkPacketsOutPerSecond),
|
|
3240
3240
|
};
|
|
3241
3241
|
};
|
|
3242
3242
|
const deserializeAws_json1_1PlatformDifferences = (output, context) => {
|
|
@@ -3246,61 +3246,61 @@ const deserializeAws_json1_1PlatformDifferences = (output, context) => {
|
|
|
3246
3246
|
if (entry === null) {
|
|
3247
3247
|
return null;
|
|
3248
3248
|
}
|
|
3249
|
-
return smithy_client_1.expectString(entry);
|
|
3249
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3250
3250
|
});
|
|
3251
3251
|
return retVal;
|
|
3252
3252
|
};
|
|
3253
3253
|
const deserializeAws_json1_1ProvideAnomalyFeedbackResponse = (output, context) => {
|
|
3254
3254
|
return {
|
|
3255
|
-
AnomalyId: smithy_client_1.expectString(output.AnomalyId),
|
|
3255
|
+
AnomalyId: (0, smithy_client_1.expectString)(output.AnomalyId),
|
|
3256
3256
|
};
|
|
3257
3257
|
};
|
|
3258
3258
|
const deserializeAws_json1_1RDSInstanceDetails = (output, context) => {
|
|
3259
3259
|
return {
|
|
3260
|
-
CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
|
|
3261
|
-
DatabaseEdition: smithy_client_1.expectString(output.DatabaseEdition),
|
|
3262
|
-
DatabaseEngine: smithy_client_1.expectString(output.DatabaseEngine),
|
|
3263
|
-
DeploymentOption: smithy_client_1.expectString(output.DeploymentOption),
|
|
3264
|
-
Family: smithy_client_1.expectString(output.Family),
|
|
3265
|
-
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
3266
|
-
LicenseModel: smithy_client_1.expectString(output.LicenseModel),
|
|
3267
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
3268
|
-
SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
|
|
3260
|
+
CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
|
|
3261
|
+
DatabaseEdition: (0, smithy_client_1.expectString)(output.DatabaseEdition),
|
|
3262
|
+
DatabaseEngine: (0, smithy_client_1.expectString)(output.DatabaseEngine),
|
|
3263
|
+
DeploymentOption: (0, smithy_client_1.expectString)(output.DeploymentOption),
|
|
3264
|
+
Family: (0, smithy_client_1.expectString)(output.Family),
|
|
3265
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
3266
|
+
LicenseModel: (0, smithy_client_1.expectString)(output.LicenseModel),
|
|
3267
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
3268
|
+
SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
|
|
3269
3269
|
};
|
|
3270
3270
|
};
|
|
3271
3271
|
const deserializeAws_json1_1RedshiftInstanceDetails = (output, context) => {
|
|
3272
3272
|
return {
|
|
3273
|
-
CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
|
|
3274
|
-
Family: smithy_client_1.expectString(output.Family),
|
|
3275
|
-
NodeType: smithy_client_1.expectString(output.NodeType),
|
|
3276
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
3277
|
-
SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
|
|
3273
|
+
CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
|
|
3274
|
+
Family: (0, smithy_client_1.expectString)(output.Family),
|
|
3275
|
+
NodeType: (0, smithy_client_1.expectString)(output.NodeType),
|
|
3276
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
3277
|
+
SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
|
|
3278
3278
|
};
|
|
3279
3279
|
};
|
|
3280
3280
|
const deserializeAws_json1_1RequestChangedException = (output, context) => {
|
|
3281
3281
|
return {
|
|
3282
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3282
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3283
3283
|
};
|
|
3284
3284
|
};
|
|
3285
3285
|
const deserializeAws_json1_1ReservationAggregates = (output, context) => {
|
|
3286
3286
|
return {
|
|
3287
|
-
AmortizedRecurringFee: smithy_client_1.expectString(output.AmortizedRecurringFee),
|
|
3288
|
-
AmortizedUpfrontFee: smithy_client_1.expectString(output.AmortizedUpfrontFee),
|
|
3289
|
-
NetRISavings: smithy_client_1.expectString(output.NetRISavings),
|
|
3290
|
-
OnDemandCostOfRIHoursUsed: smithy_client_1.expectString(output.OnDemandCostOfRIHoursUsed),
|
|
3291
|
-
PurchasedHours: smithy_client_1.expectString(output.PurchasedHours),
|
|
3292
|
-
PurchasedUnits: smithy_client_1.expectString(output.PurchasedUnits),
|
|
3293
|
-
RICostForUnusedHours: smithy_client_1.expectString(output.RICostForUnusedHours),
|
|
3294
|
-
RealizedSavings: smithy_client_1.expectString(output.RealizedSavings),
|
|
3295
|
-
TotalActualHours: smithy_client_1.expectString(output.TotalActualHours),
|
|
3296
|
-
TotalActualUnits: smithy_client_1.expectString(output.TotalActualUnits),
|
|
3297
|
-
TotalAmortizedFee: smithy_client_1.expectString(output.TotalAmortizedFee),
|
|
3298
|
-
TotalPotentialRISavings: smithy_client_1.expectString(output.TotalPotentialRISavings),
|
|
3299
|
-
UnrealizedSavings: smithy_client_1.expectString(output.UnrealizedSavings),
|
|
3300
|
-
UnusedHours: smithy_client_1.expectString(output.UnusedHours),
|
|
3301
|
-
UnusedUnits: smithy_client_1.expectString(output.UnusedUnits),
|
|
3302
|
-
UtilizationPercentage: smithy_client_1.expectString(output.UtilizationPercentage),
|
|
3303
|
-
UtilizationPercentageInUnits: smithy_client_1.expectString(output.UtilizationPercentageInUnits),
|
|
3287
|
+
AmortizedRecurringFee: (0, smithy_client_1.expectString)(output.AmortizedRecurringFee),
|
|
3288
|
+
AmortizedUpfrontFee: (0, smithy_client_1.expectString)(output.AmortizedUpfrontFee),
|
|
3289
|
+
NetRISavings: (0, smithy_client_1.expectString)(output.NetRISavings),
|
|
3290
|
+
OnDemandCostOfRIHoursUsed: (0, smithy_client_1.expectString)(output.OnDemandCostOfRIHoursUsed),
|
|
3291
|
+
PurchasedHours: (0, smithy_client_1.expectString)(output.PurchasedHours),
|
|
3292
|
+
PurchasedUnits: (0, smithy_client_1.expectString)(output.PurchasedUnits),
|
|
3293
|
+
RICostForUnusedHours: (0, smithy_client_1.expectString)(output.RICostForUnusedHours),
|
|
3294
|
+
RealizedSavings: (0, smithy_client_1.expectString)(output.RealizedSavings),
|
|
3295
|
+
TotalActualHours: (0, smithy_client_1.expectString)(output.TotalActualHours),
|
|
3296
|
+
TotalActualUnits: (0, smithy_client_1.expectString)(output.TotalActualUnits),
|
|
3297
|
+
TotalAmortizedFee: (0, smithy_client_1.expectString)(output.TotalAmortizedFee),
|
|
3298
|
+
TotalPotentialRISavings: (0, smithy_client_1.expectString)(output.TotalPotentialRISavings),
|
|
3299
|
+
UnrealizedSavings: (0, smithy_client_1.expectString)(output.UnrealizedSavings),
|
|
3300
|
+
UnusedHours: (0, smithy_client_1.expectString)(output.UnusedHours),
|
|
3301
|
+
UnusedUnits: (0, smithy_client_1.expectString)(output.UnusedUnits),
|
|
3302
|
+
UtilizationPercentage: (0, smithy_client_1.expectString)(output.UtilizationPercentage),
|
|
3303
|
+
UtilizationPercentageInUnits: (0, smithy_client_1.expectString)(output.UtilizationPercentageInUnits),
|
|
3304
3304
|
};
|
|
3305
3305
|
};
|
|
3306
3306
|
const deserializeAws_json1_1ReservationCoverageGroup = (output, context) => {
|
|
@@ -3326,9 +3326,9 @@ const deserializeAws_json1_1ReservationCoverageGroups = (output, context) => {
|
|
|
3326
3326
|
};
|
|
3327
3327
|
const deserializeAws_json1_1ReservationPurchaseRecommendation = (output, context) => {
|
|
3328
3328
|
return {
|
|
3329
|
-
AccountScope: smithy_client_1.expectString(output.AccountScope),
|
|
3330
|
-
LookbackPeriodInDays: smithy_client_1.expectString(output.LookbackPeriodInDays),
|
|
3331
|
-
PaymentOption: smithy_client_1.expectString(output.PaymentOption),
|
|
3329
|
+
AccountScope: (0, smithy_client_1.expectString)(output.AccountScope),
|
|
3330
|
+
LookbackPeriodInDays: (0, smithy_client_1.expectString)(output.LookbackPeriodInDays),
|
|
3331
|
+
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
3332
3332
|
RecommendationDetails: output.RecommendationDetails !== undefined && output.RecommendationDetails !== null
|
|
3333
3333
|
? deserializeAws_json1_1ReservationPurchaseRecommendationDetails(output.RecommendationDetails, context)
|
|
3334
3334
|
: undefined,
|
|
@@ -3338,32 +3338,32 @@ const deserializeAws_json1_1ReservationPurchaseRecommendation = (output, context
|
|
|
3338
3338
|
ServiceSpecification: output.ServiceSpecification !== undefined && output.ServiceSpecification !== null
|
|
3339
3339
|
? deserializeAws_json1_1ServiceSpecification(output.ServiceSpecification, context)
|
|
3340
3340
|
: undefined,
|
|
3341
|
-
TermInYears: smithy_client_1.expectString(output.TermInYears),
|
|
3341
|
+
TermInYears: (0, smithy_client_1.expectString)(output.TermInYears),
|
|
3342
3342
|
};
|
|
3343
3343
|
};
|
|
3344
3344
|
const deserializeAws_json1_1ReservationPurchaseRecommendationDetail = (output, context) => {
|
|
3345
3345
|
return {
|
|
3346
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
3347
|
-
AverageNormalizedUnitsUsedPerHour: smithy_client_1.expectString(output.AverageNormalizedUnitsUsedPerHour),
|
|
3348
|
-
AverageNumberOfInstancesUsedPerHour: smithy_client_1.expectString(output.AverageNumberOfInstancesUsedPerHour),
|
|
3349
|
-
AverageUtilization: smithy_client_1.expectString(output.AverageUtilization),
|
|
3350
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
3351
|
-
EstimatedBreakEvenInMonths: smithy_client_1.expectString(output.EstimatedBreakEvenInMonths),
|
|
3352
|
-
EstimatedMonthlyOnDemandCost: smithy_client_1.expectString(output.EstimatedMonthlyOnDemandCost),
|
|
3353
|
-
EstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedMonthlySavingsAmount),
|
|
3354
|
-
EstimatedMonthlySavingsPercentage: smithy_client_1.expectString(output.EstimatedMonthlySavingsPercentage),
|
|
3355
|
-
EstimatedReservationCostForLookbackPeriod: smithy_client_1.expectString(output.EstimatedReservationCostForLookbackPeriod),
|
|
3346
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3347
|
+
AverageNormalizedUnitsUsedPerHour: (0, smithy_client_1.expectString)(output.AverageNormalizedUnitsUsedPerHour),
|
|
3348
|
+
AverageNumberOfInstancesUsedPerHour: (0, smithy_client_1.expectString)(output.AverageNumberOfInstancesUsedPerHour),
|
|
3349
|
+
AverageUtilization: (0, smithy_client_1.expectString)(output.AverageUtilization),
|
|
3350
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
3351
|
+
EstimatedBreakEvenInMonths: (0, smithy_client_1.expectString)(output.EstimatedBreakEvenInMonths),
|
|
3352
|
+
EstimatedMonthlyOnDemandCost: (0, smithy_client_1.expectString)(output.EstimatedMonthlyOnDemandCost),
|
|
3353
|
+
EstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsAmount),
|
|
3354
|
+
EstimatedMonthlySavingsPercentage: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsPercentage),
|
|
3355
|
+
EstimatedReservationCostForLookbackPeriod: (0, smithy_client_1.expectString)(output.EstimatedReservationCostForLookbackPeriod),
|
|
3356
3356
|
InstanceDetails: output.InstanceDetails !== undefined && output.InstanceDetails !== null
|
|
3357
3357
|
? deserializeAws_json1_1InstanceDetails(output.InstanceDetails, context)
|
|
3358
3358
|
: undefined,
|
|
3359
|
-
MaximumNormalizedUnitsUsedPerHour: smithy_client_1.expectString(output.MaximumNormalizedUnitsUsedPerHour),
|
|
3360
|
-
MaximumNumberOfInstancesUsedPerHour: smithy_client_1.expectString(output.MaximumNumberOfInstancesUsedPerHour),
|
|
3361
|
-
MinimumNormalizedUnitsUsedPerHour: smithy_client_1.expectString(output.MinimumNormalizedUnitsUsedPerHour),
|
|
3362
|
-
MinimumNumberOfInstancesUsedPerHour: smithy_client_1.expectString(output.MinimumNumberOfInstancesUsedPerHour),
|
|
3363
|
-
RecommendedNormalizedUnitsToPurchase: smithy_client_1.expectString(output.RecommendedNormalizedUnitsToPurchase),
|
|
3364
|
-
RecommendedNumberOfInstancesToPurchase: smithy_client_1.expectString(output.RecommendedNumberOfInstancesToPurchase),
|
|
3365
|
-
RecurringStandardMonthlyCost: smithy_client_1.expectString(output.RecurringStandardMonthlyCost),
|
|
3366
|
-
UpfrontCost: smithy_client_1.expectString(output.UpfrontCost),
|
|
3359
|
+
MaximumNormalizedUnitsUsedPerHour: (0, smithy_client_1.expectString)(output.MaximumNormalizedUnitsUsedPerHour),
|
|
3360
|
+
MaximumNumberOfInstancesUsedPerHour: (0, smithy_client_1.expectString)(output.MaximumNumberOfInstancesUsedPerHour),
|
|
3361
|
+
MinimumNormalizedUnitsUsedPerHour: (0, smithy_client_1.expectString)(output.MinimumNormalizedUnitsUsedPerHour),
|
|
3362
|
+
MinimumNumberOfInstancesUsedPerHour: (0, smithy_client_1.expectString)(output.MinimumNumberOfInstancesUsedPerHour),
|
|
3363
|
+
RecommendedNormalizedUnitsToPurchase: (0, smithy_client_1.expectString)(output.RecommendedNormalizedUnitsToPurchase),
|
|
3364
|
+
RecommendedNumberOfInstancesToPurchase: (0, smithy_client_1.expectString)(output.RecommendedNumberOfInstancesToPurchase),
|
|
3365
|
+
RecurringStandardMonthlyCost: (0, smithy_client_1.expectString)(output.RecurringStandardMonthlyCost),
|
|
3366
|
+
UpfrontCost: (0, smithy_client_1.expectString)(output.UpfrontCost),
|
|
3367
3367
|
};
|
|
3368
3368
|
};
|
|
3369
3369
|
const deserializeAws_json1_1ReservationPurchaseRecommendationDetails = (output, context) => {
|
|
@@ -3379,8 +3379,8 @@ const deserializeAws_json1_1ReservationPurchaseRecommendationDetails = (output,
|
|
|
3379
3379
|
};
|
|
3380
3380
|
const deserializeAws_json1_1ReservationPurchaseRecommendationMetadata = (output, context) => {
|
|
3381
3381
|
return {
|
|
3382
|
-
GenerationTimestamp: smithy_client_1.expectString(output.GenerationTimestamp),
|
|
3383
|
-
RecommendationId: smithy_client_1.expectString(output.RecommendationId),
|
|
3382
|
+
GenerationTimestamp: (0, smithy_client_1.expectString)(output.GenerationTimestamp),
|
|
3383
|
+
RecommendationId: (0, smithy_client_1.expectString)(output.RecommendationId),
|
|
3384
3384
|
};
|
|
3385
3385
|
};
|
|
3386
3386
|
const deserializeAws_json1_1ReservationPurchaseRecommendations = (output, context) => {
|
|
@@ -3396,9 +3396,9 @@ const deserializeAws_json1_1ReservationPurchaseRecommendations = (output, contex
|
|
|
3396
3396
|
};
|
|
3397
3397
|
const deserializeAws_json1_1ReservationPurchaseRecommendationSummary = (output, context) => {
|
|
3398
3398
|
return {
|
|
3399
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
3400
|
-
TotalEstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.TotalEstimatedMonthlySavingsAmount),
|
|
3401
|
-
TotalEstimatedMonthlySavingsPercentage: smithy_client_1.expectString(output.TotalEstimatedMonthlySavingsPercentage),
|
|
3399
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
3400
|
+
TotalEstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.TotalEstimatedMonthlySavingsAmount),
|
|
3401
|
+
TotalEstimatedMonthlySavingsPercentage: (0, smithy_client_1.expectString)(output.TotalEstimatedMonthlySavingsPercentage),
|
|
3402
3402
|
};
|
|
3403
3403
|
};
|
|
3404
3404
|
const deserializeAws_json1_1ReservationUtilizationGroup = (output, context) => {
|
|
@@ -3406,11 +3406,11 @@ const deserializeAws_json1_1ReservationUtilizationGroup = (output, context) => {
|
|
|
3406
3406
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
3407
3407
|
? deserializeAws_json1_1Attributes(output.Attributes, context)
|
|
3408
3408
|
: undefined,
|
|
3409
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3409
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3410
3410
|
Utilization: output.Utilization !== undefined && output.Utilization !== null
|
|
3411
3411
|
? deserializeAws_json1_1ReservationAggregates(output.Utilization, context)
|
|
3412
3412
|
: undefined,
|
|
3413
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3413
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3414
3414
|
};
|
|
3415
3415
|
};
|
|
3416
3416
|
const deserializeAws_json1_1ReservationUtilizationGroups = (output, context) => {
|
|
@@ -3433,7 +3433,7 @@ const deserializeAws_json1_1ResourceDetails = (output, context) => {
|
|
|
3433
3433
|
};
|
|
3434
3434
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
3435
3435
|
return {
|
|
3436
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3436
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3437
3437
|
};
|
|
3438
3438
|
};
|
|
3439
3439
|
const deserializeAws_json1_1ResourceUtilization = (output, context) => {
|
|
@@ -3445,7 +3445,7 @@ const deserializeAws_json1_1ResourceUtilization = (output, context) => {
|
|
|
3445
3445
|
};
|
|
3446
3446
|
const deserializeAws_json1_1ResultByTime = (output, context) => {
|
|
3447
3447
|
return {
|
|
3448
|
-
Estimated: smithy_client_1.expectBoolean(output.Estimated),
|
|
3448
|
+
Estimated: (0, smithy_client_1.expectBoolean)(output.Estimated),
|
|
3449
3449
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
3450
3450
|
? deserializeAws_json1_1Groups(output.Groups, context)
|
|
3451
3451
|
: undefined,
|
|
@@ -3470,7 +3470,7 @@ const deserializeAws_json1_1ResultsByTime = (output, context) => {
|
|
|
3470
3470
|
};
|
|
3471
3471
|
const deserializeAws_json1_1RightsizingRecommendation = (output, context) => {
|
|
3472
3472
|
return {
|
|
3473
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
3473
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3474
3474
|
CurrentInstance: output.CurrentInstance !== undefined && output.CurrentInstance !== null
|
|
3475
3475
|
? deserializeAws_json1_1CurrentInstance(output.CurrentInstance, context)
|
|
3476
3476
|
: undefined,
|
|
@@ -3480,7 +3480,7 @@ const deserializeAws_json1_1RightsizingRecommendation = (output, context) => {
|
|
|
3480
3480
|
ModifyRecommendationDetail: output.ModifyRecommendationDetail !== undefined && output.ModifyRecommendationDetail !== null
|
|
3481
3481
|
? deserializeAws_json1_1ModifyRecommendationDetail(output.ModifyRecommendationDetail, context)
|
|
3482
3482
|
: undefined,
|
|
3483
|
-
RightsizingType: smithy_client_1.expectString(output.RightsizingType),
|
|
3483
|
+
RightsizingType: (0, smithy_client_1.expectString)(output.RightsizingType),
|
|
3484
3484
|
TerminateRecommendationDetail: output.TerminateRecommendationDetail !== undefined && output.TerminateRecommendationDetail !== null
|
|
3485
3485
|
? deserializeAws_json1_1TerminateRecommendationDetail(output.TerminateRecommendationDetail, context)
|
|
3486
3486
|
: undefined,
|
|
@@ -3488,8 +3488,8 @@ const deserializeAws_json1_1RightsizingRecommendation = (output, context) => {
|
|
|
3488
3488
|
};
|
|
3489
3489
|
const deserializeAws_json1_1RightsizingRecommendationConfiguration = (output, context) => {
|
|
3490
3490
|
return {
|
|
3491
|
-
BenefitsConsidered: smithy_client_1.expectBoolean(output.BenefitsConsidered),
|
|
3492
|
-
RecommendationTarget: smithy_client_1.expectString(output.RecommendationTarget),
|
|
3491
|
+
BenefitsConsidered: (0, smithy_client_1.expectBoolean)(output.BenefitsConsidered),
|
|
3492
|
+
RecommendationTarget: (0, smithy_client_1.expectString)(output.RecommendationTarget),
|
|
3493
3493
|
};
|
|
3494
3494
|
};
|
|
3495
3495
|
const deserializeAws_json1_1RightsizingRecommendationList = (output, context) => {
|
|
@@ -3505,26 +3505,26 @@ const deserializeAws_json1_1RightsizingRecommendationList = (output, context) =>
|
|
|
3505
3505
|
};
|
|
3506
3506
|
const deserializeAws_json1_1RightsizingRecommendationMetadata = (output, context) => {
|
|
3507
3507
|
return {
|
|
3508
|
-
AdditionalMetadata: smithy_client_1.expectString(output.AdditionalMetadata),
|
|
3509
|
-
GenerationTimestamp: smithy_client_1.expectString(output.GenerationTimestamp),
|
|
3510
|
-
LookbackPeriodInDays: smithy_client_1.expectString(output.LookbackPeriodInDays),
|
|
3511
|
-
RecommendationId: smithy_client_1.expectString(output.RecommendationId),
|
|
3508
|
+
AdditionalMetadata: (0, smithy_client_1.expectString)(output.AdditionalMetadata),
|
|
3509
|
+
GenerationTimestamp: (0, smithy_client_1.expectString)(output.GenerationTimestamp),
|
|
3510
|
+
LookbackPeriodInDays: (0, smithy_client_1.expectString)(output.LookbackPeriodInDays),
|
|
3511
|
+
RecommendationId: (0, smithy_client_1.expectString)(output.RecommendationId),
|
|
3512
3512
|
};
|
|
3513
3513
|
};
|
|
3514
3514
|
const deserializeAws_json1_1RightsizingRecommendationSummary = (output, context) => {
|
|
3515
3515
|
return {
|
|
3516
|
-
EstimatedTotalMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedTotalMonthlySavingsAmount),
|
|
3517
|
-
SavingsCurrencyCode: smithy_client_1.expectString(output.SavingsCurrencyCode),
|
|
3518
|
-
SavingsPercentage: smithy_client_1.expectString(output.SavingsPercentage),
|
|
3519
|
-
TotalRecommendationCount: smithy_client_1.expectString(output.TotalRecommendationCount),
|
|
3516
|
+
EstimatedTotalMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedTotalMonthlySavingsAmount),
|
|
3517
|
+
SavingsCurrencyCode: (0, smithy_client_1.expectString)(output.SavingsCurrencyCode),
|
|
3518
|
+
SavingsPercentage: (0, smithy_client_1.expectString)(output.SavingsPercentage),
|
|
3519
|
+
TotalRecommendationCount: (0, smithy_client_1.expectString)(output.TotalRecommendationCount),
|
|
3520
3520
|
};
|
|
3521
3521
|
};
|
|
3522
3522
|
const deserializeAws_json1_1RootCause = (output, context) => {
|
|
3523
3523
|
return {
|
|
3524
|
-
LinkedAccount: smithy_client_1.expectString(output.LinkedAccount),
|
|
3525
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
3526
|
-
Service: smithy_client_1.expectString(output.Service),
|
|
3527
|
-
UsageType: smithy_client_1.expectString(output.UsageType),
|
|
3524
|
+
LinkedAccount: (0, smithy_client_1.expectString)(output.LinkedAccount),
|
|
3525
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
3526
|
+
Service: (0, smithy_client_1.expectString)(output.Service),
|
|
3527
|
+
UsageType: (0, smithy_client_1.expectString)(output.UsageType),
|
|
3528
3528
|
};
|
|
3529
3529
|
};
|
|
3530
3530
|
const deserializeAws_json1_1RootCauses = (output, context) => {
|
|
@@ -3540,9 +3540,9 @@ const deserializeAws_json1_1RootCauses = (output, context) => {
|
|
|
3540
3540
|
};
|
|
3541
3541
|
const deserializeAws_json1_1SavingsPlansAmortizedCommitment = (output, context) => {
|
|
3542
3542
|
return {
|
|
3543
|
-
AmortizedRecurringCommitment: smithy_client_1.expectString(output.AmortizedRecurringCommitment),
|
|
3544
|
-
AmortizedUpfrontCommitment: smithy_client_1.expectString(output.AmortizedUpfrontCommitment),
|
|
3545
|
-
TotalAmortizedCommitment: smithy_client_1.expectString(output.TotalAmortizedCommitment),
|
|
3543
|
+
AmortizedRecurringCommitment: (0, smithy_client_1.expectString)(output.AmortizedRecurringCommitment),
|
|
3544
|
+
AmortizedUpfrontCommitment: (0, smithy_client_1.expectString)(output.AmortizedUpfrontCommitment),
|
|
3545
|
+
TotalAmortizedCommitment: (0, smithy_client_1.expectString)(output.TotalAmortizedCommitment),
|
|
3546
3546
|
};
|
|
3547
3547
|
};
|
|
3548
3548
|
const deserializeAws_json1_1SavingsPlansCoverage = (output, context) => {
|
|
@@ -3560,10 +3560,10 @@ const deserializeAws_json1_1SavingsPlansCoverage = (output, context) => {
|
|
|
3560
3560
|
};
|
|
3561
3561
|
const deserializeAws_json1_1SavingsPlansCoverageData = (output, context) => {
|
|
3562
3562
|
return {
|
|
3563
|
-
CoveragePercentage: smithy_client_1.expectString(output.CoveragePercentage),
|
|
3564
|
-
OnDemandCost: smithy_client_1.expectString(output.OnDemandCost),
|
|
3565
|
-
SpendCoveredBySavingsPlans: smithy_client_1.expectString(output.SpendCoveredBySavingsPlans),
|
|
3566
|
-
TotalCost: smithy_client_1.expectString(output.TotalCost),
|
|
3563
|
+
CoveragePercentage: (0, smithy_client_1.expectString)(output.CoveragePercentage),
|
|
3564
|
+
OnDemandCost: (0, smithy_client_1.expectString)(output.OnDemandCost),
|
|
3565
|
+
SpendCoveredBySavingsPlans: (0, smithy_client_1.expectString)(output.SpendCoveredBySavingsPlans),
|
|
3566
|
+
TotalCost: (0, smithy_client_1.expectString)(output.TotalCost),
|
|
3567
3567
|
};
|
|
3568
3568
|
};
|
|
3569
3569
|
const deserializeAws_json1_1SavingsPlansCoverages = (output, context) => {
|
|
@@ -3579,16 +3579,16 @@ const deserializeAws_json1_1SavingsPlansCoverages = (output, context) => {
|
|
|
3579
3579
|
};
|
|
3580
3580
|
const deserializeAws_json1_1SavingsPlansDetails = (output, context) => {
|
|
3581
3581
|
return {
|
|
3582
|
-
InstanceFamily: smithy_client_1.expectString(output.InstanceFamily),
|
|
3583
|
-
OfferingId: smithy_client_1.expectString(output.OfferingId),
|
|
3584
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
3582
|
+
InstanceFamily: (0, smithy_client_1.expectString)(output.InstanceFamily),
|
|
3583
|
+
OfferingId: (0, smithy_client_1.expectString)(output.OfferingId),
|
|
3584
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
3585
3585
|
};
|
|
3586
3586
|
};
|
|
3587
3587
|
const deserializeAws_json1_1SavingsPlansPurchaseRecommendation = (output, context) => {
|
|
3588
3588
|
return {
|
|
3589
|
-
AccountScope: smithy_client_1.expectString(output.AccountScope),
|
|
3590
|
-
LookbackPeriodInDays: smithy_client_1.expectString(output.LookbackPeriodInDays),
|
|
3591
|
-
PaymentOption: smithy_client_1.expectString(output.PaymentOption),
|
|
3589
|
+
AccountScope: (0, smithy_client_1.expectString)(output.AccountScope),
|
|
3590
|
+
LookbackPeriodInDays: (0, smithy_client_1.expectString)(output.LookbackPeriodInDays),
|
|
3591
|
+
PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
|
|
3592
3592
|
SavingsPlansPurchaseRecommendationDetails: output.SavingsPlansPurchaseRecommendationDetails !== undefined &&
|
|
3593
3593
|
output.SavingsPlansPurchaseRecommendationDetails !== null
|
|
3594
3594
|
? deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetailList(output.SavingsPlansPurchaseRecommendationDetails, context)
|
|
@@ -3597,30 +3597,30 @@ const deserializeAws_json1_1SavingsPlansPurchaseRecommendation = (output, contex
|
|
|
3597
3597
|
output.SavingsPlansPurchaseRecommendationSummary !== null
|
|
3598
3598
|
? deserializeAws_json1_1SavingsPlansPurchaseRecommendationSummary(output.SavingsPlansPurchaseRecommendationSummary, context)
|
|
3599
3599
|
: undefined,
|
|
3600
|
-
SavingsPlansType: smithy_client_1.expectString(output.SavingsPlansType),
|
|
3601
|
-
TermInYears: smithy_client_1.expectString(output.TermInYears),
|
|
3600
|
+
SavingsPlansType: (0, smithy_client_1.expectString)(output.SavingsPlansType),
|
|
3601
|
+
TermInYears: (0, smithy_client_1.expectString)(output.TermInYears),
|
|
3602
3602
|
};
|
|
3603
3603
|
};
|
|
3604
3604
|
const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetail = (output, context) => {
|
|
3605
3605
|
return {
|
|
3606
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
3607
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
3608
|
-
CurrentAverageHourlyOnDemandSpend: smithy_client_1.expectString(output.CurrentAverageHourlyOnDemandSpend),
|
|
3609
|
-
CurrentMaximumHourlyOnDemandSpend: smithy_client_1.expectString(output.CurrentMaximumHourlyOnDemandSpend),
|
|
3610
|
-
CurrentMinimumHourlyOnDemandSpend: smithy_client_1.expectString(output.CurrentMinimumHourlyOnDemandSpend),
|
|
3611
|
-
EstimatedAverageUtilization: smithy_client_1.expectString(output.EstimatedAverageUtilization),
|
|
3612
|
-
EstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedMonthlySavingsAmount),
|
|
3613
|
-
EstimatedOnDemandCost: smithy_client_1.expectString(output.EstimatedOnDemandCost),
|
|
3614
|
-
EstimatedOnDemandCostWithCurrentCommitment: smithy_client_1.expectString(output.EstimatedOnDemandCostWithCurrentCommitment),
|
|
3615
|
-
EstimatedROI: smithy_client_1.expectString(output.EstimatedROI),
|
|
3616
|
-
EstimatedSPCost: smithy_client_1.expectString(output.EstimatedSPCost),
|
|
3617
|
-
EstimatedSavingsAmount: smithy_client_1.expectString(output.EstimatedSavingsAmount),
|
|
3618
|
-
EstimatedSavingsPercentage: smithy_client_1.expectString(output.EstimatedSavingsPercentage),
|
|
3619
|
-
HourlyCommitmentToPurchase: smithy_client_1.expectString(output.HourlyCommitmentToPurchase),
|
|
3606
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3607
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
3608
|
+
CurrentAverageHourlyOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentAverageHourlyOnDemandSpend),
|
|
3609
|
+
CurrentMaximumHourlyOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentMaximumHourlyOnDemandSpend),
|
|
3610
|
+
CurrentMinimumHourlyOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentMinimumHourlyOnDemandSpend),
|
|
3611
|
+
EstimatedAverageUtilization: (0, smithy_client_1.expectString)(output.EstimatedAverageUtilization),
|
|
3612
|
+
EstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsAmount),
|
|
3613
|
+
EstimatedOnDemandCost: (0, smithy_client_1.expectString)(output.EstimatedOnDemandCost),
|
|
3614
|
+
EstimatedOnDemandCostWithCurrentCommitment: (0, smithy_client_1.expectString)(output.EstimatedOnDemandCostWithCurrentCommitment),
|
|
3615
|
+
EstimatedROI: (0, smithy_client_1.expectString)(output.EstimatedROI),
|
|
3616
|
+
EstimatedSPCost: (0, smithy_client_1.expectString)(output.EstimatedSPCost),
|
|
3617
|
+
EstimatedSavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedSavingsAmount),
|
|
3618
|
+
EstimatedSavingsPercentage: (0, smithy_client_1.expectString)(output.EstimatedSavingsPercentage),
|
|
3619
|
+
HourlyCommitmentToPurchase: (0, smithy_client_1.expectString)(output.HourlyCommitmentToPurchase),
|
|
3620
3620
|
SavingsPlansDetails: output.SavingsPlansDetails !== undefined && output.SavingsPlansDetails !== null
|
|
3621
3621
|
? deserializeAws_json1_1SavingsPlansDetails(output.SavingsPlansDetails, context)
|
|
3622
3622
|
: undefined,
|
|
3623
|
-
UpfrontCost: smithy_client_1.expectString(output.UpfrontCost),
|
|
3623
|
+
UpfrontCost: (0, smithy_client_1.expectString)(output.UpfrontCost),
|
|
3624
3624
|
};
|
|
3625
3625
|
};
|
|
3626
3626
|
const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetailList = (output, context) => {
|
|
@@ -3636,38 +3636,38 @@ const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetailList = (outp
|
|
|
3636
3636
|
};
|
|
3637
3637
|
const deserializeAws_json1_1SavingsPlansPurchaseRecommendationMetadata = (output, context) => {
|
|
3638
3638
|
return {
|
|
3639
|
-
AdditionalMetadata: smithy_client_1.expectString(output.AdditionalMetadata),
|
|
3640
|
-
GenerationTimestamp: smithy_client_1.expectString(output.GenerationTimestamp),
|
|
3641
|
-
RecommendationId: smithy_client_1.expectString(output.RecommendationId),
|
|
3639
|
+
AdditionalMetadata: (0, smithy_client_1.expectString)(output.AdditionalMetadata),
|
|
3640
|
+
GenerationTimestamp: (0, smithy_client_1.expectString)(output.GenerationTimestamp),
|
|
3641
|
+
RecommendationId: (0, smithy_client_1.expectString)(output.RecommendationId),
|
|
3642
3642
|
};
|
|
3643
3643
|
};
|
|
3644
3644
|
const deserializeAws_json1_1SavingsPlansPurchaseRecommendationSummary = (output, context) => {
|
|
3645
3645
|
return {
|
|
3646
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
3647
|
-
CurrentOnDemandSpend: smithy_client_1.expectString(output.CurrentOnDemandSpend),
|
|
3648
|
-
DailyCommitmentToPurchase: smithy_client_1.expectString(output.DailyCommitmentToPurchase),
|
|
3649
|
-
EstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedMonthlySavingsAmount),
|
|
3650
|
-
EstimatedOnDemandCostWithCurrentCommitment: smithy_client_1.expectString(output.EstimatedOnDemandCostWithCurrentCommitment),
|
|
3651
|
-
EstimatedROI: smithy_client_1.expectString(output.EstimatedROI),
|
|
3652
|
-
EstimatedSavingsAmount: smithy_client_1.expectString(output.EstimatedSavingsAmount),
|
|
3653
|
-
EstimatedSavingsPercentage: smithy_client_1.expectString(output.EstimatedSavingsPercentage),
|
|
3654
|
-
EstimatedTotalCost: smithy_client_1.expectString(output.EstimatedTotalCost),
|
|
3655
|
-
HourlyCommitmentToPurchase: smithy_client_1.expectString(output.HourlyCommitmentToPurchase),
|
|
3656
|
-
TotalRecommendationCount: smithy_client_1.expectString(output.TotalRecommendationCount),
|
|
3646
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
3647
|
+
CurrentOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentOnDemandSpend),
|
|
3648
|
+
DailyCommitmentToPurchase: (0, smithy_client_1.expectString)(output.DailyCommitmentToPurchase),
|
|
3649
|
+
EstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsAmount),
|
|
3650
|
+
EstimatedOnDemandCostWithCurrentCommitment: (0, smithy_client_1.expectString)(output.EstimatedOnDemandCostWithCurrentCommitment),
|
|
3651
|
+
EstimatedROI: (0, smithy_client_1.expectString)(output.EstimatedROI),
|
|
3652
|
+
EstimatedSavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedSavingsAmount),
|
|
3653
|
+
EstimatedSavingsPercentage: (0, smithy_client_1.expectString)(output.EstimatedSavingsPercentage),
|
|
3654
|
+
EstimatedTotalCost: (0, smithy_client_1.expectString)(output.EstimatedTotalCost),
|
|
3655
|
+
HourlyCommitmentToPurchase: (0, smithy_client_1.expectString)(output.HourlyCommitmentToPurchase),
|
|
3656
|
+
TotalRecommendationCount: (0, smithy_client_1.expectString)(output.TotalRecommendationCount),
|
|
3657
3657
|
};
|
|
3658
3658
|
};
|
|
3659
3659
|
const deserializeAws_json1_1SavingsPlansSavings = (output, context) => {
|
|
3660
3660
|
return {
|
|
3661
|
-
NetSavings: smithy_client_1.expectString(output.NetSavings),
|
|
3662
|
-
OnDemandCostEquivalent: smithy_client_1.expectString(output.OnDemandCostEquivalent),
|
|
3661
|
+
NetSavings: (0, smithy_client_1.expectString)(output.NetSavings),
|
|
3662
|
+
OnDemandCostEquivalent: (0, smithy_client_1.expectString)(output.OnDemandCostEquivalent),
|
|
3663
3663
|
};
|
|
3664
3664
|
};
|
|
3665
3665
|
const deserializeAws_json1_1SavingsPlansUtilization = (output, context) => {
|
|
3666
3666
|
return {
|
|
3667
|
-
TotalCommitment: smithy_client_1.expectString(output.TotalCommitment),
|
|
3668
|
-
UnusedCommitment: smithy_client_1.expectString(output.UnusedCommitment),
|
|
3669
|
-
UsedCommitment: smithy_client_1.expectString(output.UsedCommitment),
|
|
3670
|
-
UtilizationPercentage: smithy_client_1.expectString(output.UtilizationPercentage),
|
|
3667
|
+
TotalCommitment: (0, smithy_client_1.expectString)(output.TotalCommitment),
|
|
3668
|
+
UnusedCommitment: (0, smithy_client_1.expectString)(output.UnusedCommitment),
|
|
3669
|
+
UsedCommitment: (0, smithy_client_1.expectString)(output.UsedCommitment),
|
|
3670
|
+
UtilizationPercentage: (0, smithy_client_1.expectString)(output.UtilizationPercentage),
|
|
3671
3671
|
};
|
|
3672
3672
|
};
|
|
3673
3673
|
const deserializeAws_json1_1SavingsPlansUtilizationAggregates = (output, context) => {
|
|
@@ -3710,7 +3710,7 @@ const deserializeAws_json1_1SavingsPlansUtilizationDetail = (output, context) =>
|
|
|
3710
3710
|
Savings: output.Savings !== undefined && output.Savings !== null
|
|
3711
3711
|
? deserializeAws_json1_1SavingsPlansSavings(output.Savings, context)
|
|
3712
3712
|
: undefined,
|
|
3713
|
-
SavingsPlanArn: smithy_client_1.expectString(output.SavingsPlanArn),
|
|
3713
|
+
SavingsPlanArn: (0, smithy_client_1.expectString)(output.SavingsPlanArn),
|
|
3714
3714
|
Utilization: output.Utilization !== undefined && output.Utilization !== null
|
|
3715
3715
|
? deserializeAws_json1_1SavingsPlansUtilization(output.Utilization, context)
|
|
3716
3716
|
: undefined,
|
|
@@ -3740,7 +3740,7 @@ const deserializeAws_json1_1SavingsPlansUtilizationsByTime = (output, context) =
|
|
|
3740
3740
|
};
|
|
3741
3741
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
3742
3742
|
return {
|
|
3743
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3743
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3744
3744
|
};
|
|
3745
3745
|
};
|
|
3746
3746
|
const deserializeAws_json1_1ServiceSpecification = (output, context) => {
|
|
@@ -3752,9 +3752,9 @@ const deserializeAws_json1_1ServiceSpecification = (output, context) => {
|
|
|
3752
3752
|
};
|
|
3753
3753
|
const deserializeAws_json1_1Subscriber = (output, context) => {
|
|
3754
3754
|
return {
|
|
3755
|
-
Address: smithy_client_1.expectString(output.Address),
|
|
3756
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3757
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3755
|
+
Address: (0, smithy_client_1.expectString)(output.Address),
|
|
3756
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3757
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3758
3758
|
};
|
|
3759
3759
|
};
|
|
3760
3760
|
const deserializeAws_json1_1Subscribers = (output, context) => {
|
|
@@ -3775,13 +3775,13 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
3775
3775
|
if (entry === null) {
|
|
3776
3776
|
return null;
|
|
3777
3777
|
}
|
|
3778
|
-
return smithy_client_1.expectString(entry);
|
|
3778
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3779
3779
|
});
|
|
3780
3780
|
return retVal;
|
|
3781
3781
|
};
|
|
3782
3782
|
const deserializeAws_json1_1TagValues = (output, context) => {
|
|
3783
3783
|
return {
|
|
3784
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3784
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3785
3785
|
MatchOptions: output.MatchOptions !== undefined && output.MatchOptions !== null
|
|
3786
3786
|
? deserializeAws_json1_1MatchOptions(output.MatchOptions, context)
|
|
3787
3787
|
: undefined,
|
|
@@ -3803,10 +3803,10 @@ const deserializeAws_json1_1TagValuesList = (output, context) => {
|
|
|
3803
3803
|
};
|
|
3804
3804
|
const deserializeAws_json1_1TargetInstance = (output, context) => {
|
|
3805
3805
|
return {
|
|
3806
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
3807
|
-
DefaultTargetInstance: smithy_client_1.expectBoolean(output.DefaultTargetInstance),
|
|
3808
|
-
EstimatedMonthlyCost: smithy_client_1.expectString(output.EstimatedMonthlyCost),
|
|
3809
|
-
EstimatedMonthlySavings: smithy_client_1.expectString(output.EstimatedMonthlySavings),
|
|
3806
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
3807
|
+
DefaultTargetInstance: (0, smithy_client_1.expectBoolean)(output.DefaultTargetInstance),
|
|
3808
|
+
EstimatedMonthlyCost: (0, smithy_client_1.expectString)(output.EstimatedMonthlyCost),
|
|
3809
|
+
EstimatedMonthlySavings: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavings),
|
|
3810
3810
|
ExpectedResourceUtilization: output.ExpectedResourceUtilization !== undefined && output.ExpectedResourceUtilization !== null
|
|
3811
3811
|
? deserializeAws_json1_1ResourceUtilization(output.ExpectedResourceUtilization, context)
|
|
3812
3812
|
: undefined,
|
|
@@ -3831,39 +3831,39 @@ const deserializeAws_json1_1TargetInstancesList = (output, context) => {
|
|
|
3831
3831
|
};
|
|
3832
3832
|
const deserializeAws_json1_1TerminateRecommendationDetail = (output, context) => {
|
|
3833
3833
|
return {
|
|
3834
|
-
CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
|
|
3835
|
-
EstimatedMonthlySavings: smithy_client_1.expectString(output.EstimatedMonthlySavings),
|
|
3834
|
+
CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
|
|
3835
|
+
EstimatedMonthlySavings: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavings),
|
|
3836
3836
|
};
|
|
3837
3837
|
};
|
|
3838
3838
|
const deserializeAws_json1_1UnknownMonitorException = (output, context) => {
|
|
3839
3839
|
return {
|
|
3840
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3840
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3841
3841
|
};
|
|
3842
3842
|
};
|
|
3843
3843
|
const deserializeAws_json1_1UnknownSubscriptionException = (output, context) => {
|
|
3844
3844
|
return {
|
|
3845
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3845
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3846
3846
|
};
|
|
3847
3847
|
};
|
|
3848
3848
|
const deserializeAws_json1_1UnresolvableUsageUnitException = (output, context) => {
|
|
3849
3849
|
return {
|
|
3850
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3850
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3851
3851
|
};
|
|
3852
3852
|
};
|
|
3853
3853
|
const deserializeAws_json1_1UpdateAnomalyMonitorResponse = (output, context) => {
|
|
3854
3854
|
return {
|
|
3855
|
-
MonitorArn: smithy_client_1.expectString(output.MonitorArn),
|
|
3855
|
+
MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
|
|
3856
3856
|
};
|
|
3857
3857
|
};
|
|
3858
3858
|
const deserializeAws_json1_1UpdateAnomalySubscriptionResponse = (output, context) => {
|
|
3859
3859
|
return {
|
|
3860
|
-
SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
|
|
3860
|
+
SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
|
|
3861
3861
|
};
|
|
3862
3862
|
};
|
|
3863
3863
|
const deserializeAws_json1_1UpdateCostCategoryDefinitionResponse = (output, context) => {
|
|
3864
3864
|
return {
|
|
3865
|
-
CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
|
|
3866
|
-
EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
|
|
3865
|
+
CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
|
|
3866
|
+
EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
|
|
3867
3867
|
};
|
|
3868
3868
|
};
|
|
3869
3869
|
const deserializeAws_json1_1UtilizationByTime = (output, context) => {
|
|
@@ -3897,7 +3897,7 @@ const deserializeAws_json1_1Values = (output, context) => {
|
|
|
3897
3897
|
if (entry === null) {
|
|
3898
3898
|
return null;
|
|
3899
3899
|
}
|
|
3900
|
-
return smithy_client_1.expectString(entry);
|
|
3900
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3901
3901
|
});
|
|
3902
3902
|
return retVal;
|
|
3903
3903
|
};
|