@aws-sdk/client-compute-optimizer 3.821.0 → 3.823.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +30 -0
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_json1_0.js +2 -0
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +3 -3
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +2 -2
- package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +8 -6
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +10 -2
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +129 -129
- package/dist-types/ts3.4/models/models_0.d.ts +34 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -133,6 +133,7 @@ __export(index_exports, {
|
|
|
133
133
|
RDSDBMetricName: () => RDSDBMetricName,
|
|
134
134
|
RDSDBMetricStatistic: () => RDSDBMetricStatistic,
|
|
135
135
|
RDSDBRecommendationFilterName: () => RDSDBRecommendationFilterName,
|
|
136
|
+
RDSEstimatedMonthlyVolumeIOPsCostVariation: () => RDSEstimatedMonthlyVolumeIOPsCostVariation,
|
|
136
137
|
RDSInstanceFinding: () => RDSInstanceFinding,
|
|
137
138
|
RDSInstanceFindingReasonCode: () => RDSInstanceFindingReasonCode,
|
|
138
139
|
RDSSavingsEstimationModeSource: () => RDSSavingsEstimationModeSource,
|
|
@@ -473,6 +474,7 @@ var RecommendationPreferenceName = {
|
|
|
473
474
|
UTILIZATION_PREFERENCES: "UtilizationPreferences"
|
|
474
475
|
};
|
|
475
476
|
var ResourceType = {
|
|
477
|
+
AURORA_DB_CLUSTER_STORAGE: "AuroraDBClusterStorage",
|
|
476
478
|
AUTO_SCALING_GROUP: "AutoScalingGroup",
|
|
477
479
|
EBS_VOLUME: "EbsVolume",
|
|
478
480
|
EC2_INSTANCE: "Ec2Instance",
|
|
@@ -966,6 +968,7 @@ var LicenseRecommendationFilterName = {
|
|
|
966
968
|
};
|
|
967
969
|
var ExportableRDSDBField = {
|
|
968
970
|
ACCOUNT_ID: "AccountId",
|
|
971
|
+
CLUSTER_WRITER: "ClusterWriter",
|
|
969
972
|
CURRENT_DB_INSTANCE_CLASS: "CurrentDBInstanceClass",
|
|
970
973
|
CURRENT_INSTANCE_ON_DEMAND_HOURLY_PRICE: "CurrentInstanceOnDemandHourlyPrice",
|
|
971
974
|
CURRENT_INSTANCE_PERFORMANCE_RISK: "CurrentInstancePerformanceRisk",
|
|
@@ -974,6 +977,10 @@ var ExportableRDSDBField = {
|
|
|
974
977
|
CURRENT_STORAGE_CONFIGURATION_MAX_ALLOCATED_STORAGE: "CurrentStorageConfigurationMaxAllocatedStorage",
|
|
975
978
|
CURRENT_STORAGE_CONFIGURATION_STORAGE_THROUGHPUT: "CurrentStorageConfigurationStorageThroughput",
|
|
976
979
|
CURRENT_STORAGE_CONFIGURATION_STORAGE_TYPE: "CurrentStorageConfigurationStorageType",
|
|
980
|
+
CURRENT_STORAGE_ESTIMATED_CLUSTER_INSTANCE_ON_DEMAND_MONTHLY_COST: "CurrentStorageEstimatedClusterInstanceOnDemandMonthlyCost",
|
|
981
|
+
CURRENT_STORAGE_ESTIMATED_CLUSTER_STORAGE_IO_ON_DEMAND_MONTHLY_COST: "CurrentStorageEstimatedClusterStorageIOOnDemandMonthlyCost",
|
|
982
|
+
CURRENT_STORAGE_ESTIMATED_CLUSTER_STORAGE_ON_DEMAND_MONTHLY_COST: "CurrentStorageEstimatedClusterStorageOnDemandMonthlyCost",
|
|
983
|
+
CURRENT_STORAGE_ESTIMATED_MONTHLY_VOLUME_IOPS_COST_VARIATION: "CurrentStorageEstimatedMonthlyVolumeIOPsCostVariation",
|
|
977
984
|
CURRENT_STORAGE_ON_DEMAND_MONTHLY_PRICE: "CurrentStorageOnDemandMonthlyPrice",
|
|
978
985
|
DB_CLUSTER_IDENTIFIER: "DBClusterIdentifier",
|
|
979
986
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
@@ -1004,10 +1011,14 @@ var ExportableRDSDBField = {
|
|
|
1004
1011
|
STORAGE_FINDING: "StorageFinding",
|
|
1005
1012
|
STORAGE_FINDING_REASON_CODES: "StorageFindingReasonCodes",
|
|
1006
1013
|
STORAGE_RECOMMENDATION_OPTIONS_ALLOCATED_STORAGE: "StorageRecommendationOptionsAllocatedStorage",
|
|
1014
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_CLUSTER_INSTANCE_ON_DEMAND_MONTHLY_COST: "StorageRecommendationOptionsEstimatedClusterInstanceOnDemandMonthlyCost",
|
|
1015
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_CLUSTER_STORAGE_IO_ON_DEMAND_MONTHLY_COST: "StorageRecommendationOptionsEstimatedClusterStorageIOOnDemandMonthlyCost",
|
|
1016
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_CLUSTER_STORAGE_ON_DEMAND_MONTHLY_COST: "StorageRecommendationOptionsEstimatedClusterStorageOnDemandMonthlyCost",
|
|
1007
1017
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
1008
1018
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
|
|
1009
1019
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "StorageRecommendationOptionsEstimatedMonthlySavingsValue",
|
|
1010
1020
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
|
|
1021
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_VOLUME_IOPS_COST_VARIATION: "StorageRecommendationOptionsEstimatedMonthlyVolumeIOPsCostVariation",
|
|
1011
1022
|
STORAGE_RECOMMENDATION_OPTIONS_IOPS: "StorageRecommendationOptionsIOPS",
|
|
1012
1023
|
STORAGE_RECOMMENDATION_OPTIONS_MAX_ALLOCATED_STORAGE: "StorageRecommendationOptionsMaxAllocatedStorage",
|
|
1013
1024
|
STORAGE_RECOMMENDATION_OPTIONS_ON_DEMAND_MONTHLY_PRICE: "StorageRecommendationOptionsOnDemandMonthlyPrice",
|
|
@@ -1034,6 +1045,9 @@ var ExportableRDSDBField = {
|
|
|
1034
1045
|
UTILIZATION_METRICS_READ_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsReadIOPSEphemeralStorageMaximum",
|
|
1035
1046
|
UTILIZATION_METRICS_STORAGE_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkReceiveThroughputMaximum",
|
|
1036
1047
|
UTILIZATION_METRICS_STORAGE_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkTransmitThroughputMaximum",
|
|
1048
|
+
UTILIZATION_METRICS_VOLUME_BYTES_USED_AVERAGE: "UtilizationMetricsVolumeBytesUsedAverage",
|
|
1049
|
+
UTILIZATION_METRICS_VOLUME_READ_IOPS_AVERAGE: "UtilizationMetricsVolumeReadIOPsAverage",
|
|
1050
|
+
UTILIZATION_METRICS_VOLUME_WRITE_IOPS_AVERAGE: "UtilizationMetricsVolumeWriteIOPsAverage",
|
|
1037
1051
|
UTILIZATION_METRICS_WRITE_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsWriteIOPSEphemeralStorageMaximum"
|
|
1038
1052
|
};
|
|
1039
1053
|
var RDSDBRecommendationFilterName = {
|
|
@@ -1113,6 +1127,7 @@ var PlatformDifference = {
|
|
|
1113
1127
|
VIRTUALIZATION_TYPE: "VirtualizationType"
|
|
1114
1128
|
};
|
|
1115
1129
|
var RecommendationSourceType = {
|
|
1130
|
+
AURORA_DB_CLUSTER_STORAGE: "AuroraDBClusterStorage",
|
|
1116
1131
|
AUTO_SCALING_GROUP: "AutoScalingGroup",
|
|
1117
1132
|
EBS_VOLUME: "EbsVolume",
|
|
1118
1133
|
EC2_INSTANCE: "Ec2Instance",
|
|
@@ -1260,6 +1275,9 @@ var RDSDBMetricName = {
|
|
|
1260
1275
|
READ_IOPS_EPHEMERAL_STORAGE: "ReadIOPSEphemeralStorage",
|
|
1261
1276
|
STORAGE_NETWORK_RECEIVE_THROUGHPUT: "StorageNetworkReceiveThroughput",
|
|
1262
1277
|
STORAGE_NETWORK_TRANSMIT_THROUGHPUT: "StorageNetworkTransmitThroughput",
|
|
1278
|
+
VOLUME_BYTES_USED: "VolumeBytesUsed",
|
|
1279
|
+
VOLUME_READ_IOPS: "VolumeReadIOPs",
|
|
1280
|
+
VOLUME_WRITE_IOPS: "VolumeWriteIOPs",
|
|
1263
1281
|
WRITE_IOPS_EPHEMERAL_STORAGE: "WriteIOPSEphemeralStorage"
|
|
1264
1282
|
};
|
|
1265
1283
|
var RDSCurrentInstancePerformanceRisk = {
|
|
@@ -1268,6 +1286,12 @@ var RDSCurrentInstancePerformanceRisk = {
|
|
|
1268
1286
|
MEDIUM: "Medium",
|
|
1269
1287
|
VERY_LOW: "VeryLow"
|
|
1270
1288
|
};
|
|
1289
|
+
var RDSEstimatedMonthlyVolumeIOPsCostVariation = {
|
|
1290
|
+
HIGH: "High",
|
|
1291
|
+
LOW: "Low",
|
|
1292
|
+
MEDIUM: "Medium",
|
|
1293
|
+
NONE: "None"
|
|
1294
|
+
};
|
|
1271
1295
|
var RDSSavingsEstimationModeSource = {
|
|
1272
1296
|
COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing",
|
|
1273
1297
|
COST_OPTIMIZATION_HUB: "CostOptimizationHub",
|
|
@@ -1304,11 +1328,14 @@ var RDSDBMetricStatistic = {
|
|
|
1304
1328
|
MINIMUM: "Minimum"
|
|
1305
1329
|
};
|
|
1306
1330
|
var RDSStorageFinding = {
|
|
1331
|
+
NOT_OPTIMIZED: "NotOptimized",
|
|
1307
1332
|
OPTIMIZED: "Optimized",
|
|
1308
1333
|
OVER_PROVISIONED: "Overprovisioned",
|
|
1309
1334
|
UNDER_PROVISIONED: "Underprovisioned"
|
|
1310
1335
|
};
|
|
1311
1336
|
var RDSStorageFindingReasonCode = {
|
|
1337
|
+
DB_CLUSTER_STORAGE_OPTION_AVAILABLE: "DBClusterStorageOptionAvailable",
|
|
1338
|
+
DB_CLUSTER_STORAGE_SAVINGS_AVAILABLE: "DBClusterStorageSavingsAvailable",
|
|
1312
1339
|
EBS_VOLUME_ALLOCATED_STORAGE_UNDER_PROVISIONED: "EBSVolumeAllocatedStorageUnderprovisioned",
|
|
1313
1340
|
EBS_VOLUME_IOPS_OVER_PROVISIONED: "EBSVolumeIOPSOverprovisioned",
|
|
1314
1341
|
EBS_VOLUME_THROUGHPUT_OVER_PROVISIONED: "EBSVolumeThroughputOverprovisioned",
|
|
@@ -2643,6 +2670,7 @@ var de_RDSDBRecommendation = /* @__PURE__ */ __name((output, context) => {
|
|
|
2643
2670
|
currentDBInstanceClass: import_smithy_client.expectString,
|
|
2644
2671
|
currentInstancePerformanceRisk: import_smithy_client.expectString,
|
|
2645
2672
|
currentStorageConfiguration: import_smithy_client._json,
|
|
2673
|
+
currentStorageEstimatedMonthlyVolumeIOPsCostVariation: import_smithy_client.expectString,
|
|
2646
2674
|
dbClusterIdentifier: import_smithy_client.expectString,
|
|
2647
2675
|
effectiveRecommendationPreferences: import_smithy_client._json,
|
|
2648
2676
|
engine: import_smithy_client.expectString,
|
|
@@ -2670,6 +2698,7 @@ var de_RDSDBRecommendations = /* @__PURE__ */ __name((output, context) => {
|
|
|
2670
2698
|
}, "de_RDSDBRecommendations");
|
|
2671
2699
|
var de_RDSDBStorageRecommendationOption = /* @__PURE__ */ __name((output, context) => {
|
|
2672
2700
|
return (0, import_smithy_client.take)(output, {
|
|
2701
|
+
estimatedMonthlyVolumeIOPsCostVariation: import_smithy_client.expectString,
|
|
2673
2702
|
rank: import_smithy_client.expectInt32,
|
|
2674
2703
|
savingsOpportunity: /* @__PURE__ */ __name((_) => de_SavingsOpportunity(_, context), "savingsOpportunity"),
|
|
2675
2704
|
savingsOpportunityAfterDiscounts: /* @__PURE__ */ __name((_) => de_RDSStorageSavingsOpportunityAfterDiscounts(_, context), "savingsOpportunityAfterDiscounts"),
|
|
@@ -3495,6 +3524,7 @@ var paginateGetRecommendationSummaries = (0, import_core.createPaginator)(Comput
|
|
|
3495
3524
|
LicenseFindingReasonCode,
|
|
3496
3525
|
RDSDBMetricName,
|
|
3497
3526
|
RDSCurrentInstancePerformanceRisk,
|
|
3527
|
+
RDSEstimatedMonthlyVolumeIOPsCostVariation,
|
|
3498
3528
|
RDSSavingsEstimationModeSource,
|
|
3499
3529
|
Idle,
|
|
3500
3530
|
RDSInstanceFinding,
|
|
@@ -139,6 +139,7 @@ export const RecommendationPreferenceName = {
|
|
|
139
139
|
UTILIZATION_PREFERENCES: "UtilizationPreferences",
|
|
140
140
|
};
|
|
141
141
|
export const ResourceType = {
|
|
142
|
+
AURORA_DB_CLUSTER_STORAGE: "AuroraDBClusterStorage",
|
|
142
143
|
AUTO_SCALING_GROUP: "AutoScalingGroup",
|
|
143
144
|
EBS_VOLUME: "EbsVolume",
|
|
144
145
|
EC2_INSTANCE: "Ec2Instance",
|
|
@@ -584,6 +585,7 @@ export const LicenseRecommendationFilterName = {
|
|
|
584
585
|
};
|
|
585
586
|
export const ExportableRDSDBField = {
|
|
586
587
|
ACCOUNT_ID: "AccountId",
|
|
588
|
+
CLUSTER_WRITER: "ClusterWriter",
|
|
587
589
|
CURRENT_DB_INSTANCE_CLASS: "CurrentDBInstanceClass",
|
|
588
590
|
CURRENT_INSTANCE_ON_DEMAND_HOURLY_PRICE: "CurrentInstanceOnDemandHourlyPrice",
|
|
589
591
|
CURRENT_INSTANCE_PERFORMANCE_RISK: "CurrentInstancePerformanceRisk",
|
|
@@ -592,6 +594,10 @@ export const ExportableRDSDBField = {
|
|
|
592
594
|
CURRENT_STORAGE_CONFIGURATION_MAX_ALLOCATED_STORAGE: "CurrentStorageConfigurationMaxAllocatedStorage",
|
|
593
595
|
CURRENT_STORAGE_CONFIGURATION_STORAGE_THROUGHPUT: "CurrentStorageConfigurationStorageThroughput",
|
|
594
596
|
CURRENT_STORAGE_CONFIGURATION_STORAGE_TYPE: "CurrentStorageConfigurationStorageType",
|
|
597
|
+
CURRENT_STORAGE_ESTIMATED_CLUSTER_INSTANCE_ON_DEMAND_MONTHLY_COST: "CurrentStorageEstimatedClusterInstanceOnDemandMonthlyCost",
|
|
598
|
+
CURRENT_STORAGE_ESTIMATED_CLUSTER_STORAGE_IO_ON_DEMAND_MONTHLY_COST: "CurrentStorageEstimatedClusterStorageIOOnDemandMonthlyCost",
|
|
599
|
+
CURRENT_STORAGE_ESTIMATED_CLUSTER_STORAGE_ON_DEMAND_MONTHLY_COST: "CurrentStorageEstimatedClusterStorageOnDemandMonthlyCost",
|
|
600
|
+
CURRENT_STORAGE_ESTIMATED_MONTHLY_VOLUME_IOPS_COST_VARIATION: "CurrentStorageEstimatedMonthlyVolumeIOPsCostVariation",
|
|
595
601
|
CURRENT_STORAGE_ON_DEMAND_MONTHLY_PRICE: "CurrentStorageOnDemandMonthlyPrice",
|
|
596
602
|
DB_CLUSTER_IDENTIFIER: "DBClusterIdentifier",
|
|
597
603
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
@@ -622,10 +628,14 @@ export const ExportableRDSDBField = {
|
|
|
622
628
|
STORAGE_FINDING: "StorageFinding",
|
|
623
629
|
STORAGE_FINDING_REASON_CODES: "StorageFindingReasonCodes",
|
|
624
630
|
STORAGE_RECOMMENDATION_OPTIONS_ALLOCATED_STORAGE: "StorageRecommendationOptionsAllocatedStorage",
|
|
631
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_CLUSTER_INSTANCE_ON_DEMAND_MONTHLY_COST: "StorageRecommendationOptionsEstimatedClusterInstanceOnDemandMonthlyCost",
|
|
632
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_CLUSTER_STORAGE_IO_ON_DEMAND_MONTHLY_COST: "StorageRecommendationOptionsEstimatedClusterStorageIOOnDemandMonthlyCost",
|
|
633
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_CLUSTER_STORAGE_ON_DEMAND_MONTHLY_COST: "StorageRecommendationOptionsEstimatedClusterStorageOnDemandMonthlyCost",
|
|
625
634
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
626
635
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
|
|
627
636
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "StorageRecommendationOptionsEstimatedMonthlySavingsValue",
|
|
628
637
|
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
|
|
638
|
+
STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_VOLUME_IOPS_COST_VARIATION: "StorageRecommendationOptionsEstimatedMonthlyVolumeIOPsCostVariation",
|
|
629
639
|
STORAGE_RECOMMENDATION_OPTIONS_IOPS: "StorageRecommendationOptionsIOPS",
|
|
630
640
|
STORAGE_RECOMMENDATION_OPTIONS_MAX_ALLOCATED_STORAGE: "StorageRecommendationOptionsMaxAllocatedStorage",
|
|
631
641
|
STORAGE_RECOMMENDATION_OPTIONS_ON_DEMAND_MONTHLY_PRICE: "StorageRecommendationOptionsOnDemandMonthlyPrice",
|
|
@@ -652,6 +662,9 @@ export const ExportableRDSDBField = {
|
|
|
652
662
|
UTILIZATION_METRICS_READ_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsReadIOPSEphemeralStorageMaximum",
|
|
653
663
|
UTILIZATION_METRICS_STORAGE_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkReceiveThroughputMaximum",
|
|
654
664
|
UTILIZATION_METRICS_STORAGE_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkTransmitThroughputMaximum",
|
|
665
|
+
UTILIZATION_METRICS_VOLUME_BYTES_USED_AVERAGE: "UtilizationMetricsVolumeBytesUsedAverage",
|
|
666
|
+
UTILIZATION_METRICS_VOLUME_READ_IOPS_AVERAGE: "UtilizationMetricsVolumeReadIOPsAverage",
|
|
667
|
+
UTILIZATION_METRICS_VOLUME_WRITE_IOPS_AVERAGE: "UtilizationMetricsVolumeWriteIOPsAverage",
|
|
655
668
|
UTILIZATION_METRICS_WRITE_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsWriteIOPSEphemeralStorageMaximum",
|
|
656
669
|
};
|
|
657
670
|
export const RDSDBRecommendationFilterName = {
|
|
@@ -731,6 +744,7 @@ export const PlatformDifference = {
|
|
|
731
744
|
VIRTUALIZATION_TYPE: "VirtualizationType",
|
|
732
745
|
};
|
|
733
746
|
export const RecommendationSourceType = {
|
|
747
|
+
AURORA_DB_CLUSTER_STORAGE: "AuroraDBClusterStorage",
|
|
734
748
|
AUTO_SCALING_GROUP: "AutoScalingGroup",
|
|
735
749
|
EBS_VOLUME: "EbsVolume",
|
|
736
750
|
EC2_INSTANCE: "Ec2Instance",
|
|
@@ -878,6 +892,9 @@ export const RDSDBMetricName = {
|
|
|
878
892
|
READ_IOPS_EPHEMERAL_STORAGE: "ReadIOPSEphemeralStorage",
|
|
879
893
|
STORAGE_NETWORK_RECEIVE_THROUGHPUT: "StorageNetworkReceiveThroughput",
|
|
880
894
|
STORAGE_NETWORK_TRANSMIT_THROUGHPUT: "StorageNetworkTransmitThroughput",
|
|
895
|
+
VOLUME_BYTES_USED: "VolumeBytesUsed",
|
|
896
|
+
VOLUME_READ_IOPS: "VolumeReadIOPs",
|
|
897
|
+
VOLUME_WRITE_IOPS: "VolumeWriteIOPs",
|
|
881
898
|
WRITE_IOPS_EPHEMERAL_STORAGE: "WriteIOPSEphemeralStorage",
|
|
882
899
|
};
|
|
883
900
|
export const RDSCurrentInstancePerformanceRisk = {
|
|
@@ -886,6 +903,12 @@ export const RDSCurrentInstancePerformanceRisk = {
|
|
|
886
903
|
MEDIUM: "Medium",
|
|
887
904
|
VERY_LOW: "VeryLow",
|
|
888
905
|
};
|
|
906
|
+
export const RDSEstimatedMonthlyVolumeIOPsCostVariation = {
|
|
907
|
+
HIGH: "High",
|
|
908
|
+
LOW: "Low",
|
|
909
|
+
MEDIUM: "Medium",
|
|
910
|
+
NONE: "None",
|
|
911
|
+
};
|
|
889
912
|
export const RDSSavingsEstimationModeSource = {
|
|
890
913
|
COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing",
|
|
891
914
|
COST_OPTIMIZATION_HUB: "CostOptimizationHub",
|
|
@@ -922,11 +945,14 @@ export const RDSDBMetricStatistic = {
|
|
|
922
945
|
MINIMUM: "Minimum",
|
|
923
946
|
};
|
|
924
947
|
export const RDSStorageFinding = {
|
|
948
|
+
NOT_OPTIMIZED: "NotOptimized",
|
|
925
949
|
OPTIMIZED: "Optimized",
|
|
926
950
|
OVER_PROVISIONED: "Overprovisioned",
|
|
927
951
|
UNDER_PROVISIONED: "Underprovisioned",
|
|
928
952
|
};
|
|
929
953
|
export const RDSStorageFindingReasonCode = {
|
|
954
|
+
DB_CLUSTER_STORAGE_OPTION_AVAILABLE: "DBClusterStorageOptionAvailable",
|
|
955
|
+
DB_CLUSTER_STORAGE_SAVINGS_AVAILABLE: "DBClusterStorageSavingsAvailable",
|
|
930
956
|
EBS_VOLUME_ALLOCATED_STORAGE_UNDER_PROVISIONED: "EBSVolumeAllocatedStorageUnderprovisioned",
|
|
931
957
|
EBS_VOLUME_IOPS_OVER_PROVISIONED: "EBSVolumeIOPSOverprovisioned",
|
|
932
958
|
EBS_VOLUME_THROUGHPUT_OVER_PROVISIONED: "EBSVolumeThroughputOverprovisioned",
|
|
@@ -1377,6 +1377,7 @@ const de_RDSDBRecommendation = (output, context) => {
|
|
|
1377
1377
|
currentDBInstanceClass: __expectString,
|
|
1378
1378
|
currentInstancePerformanceRisk: __expectString,
|
|
1379
1379
|
currentStorageConfiguration: _json,
|
|
1380
|
+
currentStorageEstimatedMonthlyVolumeIOPsCostVariation: __expectString,
|
|
1380
1381
|
dbClusterIdentifier: __expectString,
|
|
1381
1382
|
effectiveRecommendationPreferences: _json,
|
|
1382
1383
|
engine: __expectString,
|
|
@@ -1406,6 +1407,7 @@ const de_RDSDBRecommendations = (output, context) => {
|
|
|
1406
1407
|
};
|
|
1407
1408
|
const de_RDSDBStorageRecommendationOption = (output, context) => {
|
|
1408
1409
|
return take(output, {
|
|
1410
|
+
estimatedMonthlyVolumeIOPsCostVariation: __expectString,
|
|
1409
1411
|
rank: __expectInt32,
|
|
1410
1412
|
savingsOpportunity: (_) => de_SavingsOpportunity(_, context),
|
|
1411
1413
|
savingsOpportunityAfterDiscounts: (_) => de_RDSStorageSavingsOpportunityAfterDiscounts(_, context),
|
|
@@ -38,7 +38,7 @@ declare const DeleteRecommendationPreferencesCommand_base: {
|
|
|
38
38
|
* // const { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
39
39
|
* const client = new ComputeOptimizerClient(config);
|
|
40
40
|
* const input = { // DeleteRecommendationPreferencesRequest
|
|
41
|
-
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "Idle", // required
|
|
41
|
+
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required
|
|
42
42
|
* scope: { // Scope
|
|
43
43
|
* name: "Organization" || "AccountId" || "ResourceArn",
|
|
44
44
|
* value: "STRING_VALUE",
|
|
@@ -65,7 +65,7 @@ declare const DescribeRecommendationExportJobsCommand_base: {
|
|
|
65
65
|
* // metadataKey: "STRING_VALUE",
|
|
66
66
|
* // },
|
|
67
67
|
* // },
|
|
68
|
-
* // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "Idle",
|
|
68
|
+
* // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle",
|
|
69
69
|
* // status: "Queued" || "InProgress" || "Complete" || "Failed",
|
|
70
70
|
* // creationTimestamp: new Date("TIMESTAMP"),
|
|
71
71
|
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
@@ -28,13 +28,13 @@ declare const ExportRDSDatabaseRecommendationsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>
|
|
31
|
-
* Export optimization recommendations for your Amazon Relational Database Service (Amazon RDS).
|
|
31
|
+
* Export optimization recommendations for your Amazon Aurora and Amazon Relational Database Service (Amazon RDS) databases.
|
|
32
32
|
* </p>
|
|
33
33
|
* <p>Recommendations are exported in a comma-separated values (CSV) file, and its metadata
|
|
34
34
|
* in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
|
|
35
35
|
* Recommendations</a> in the <i>Compute Optimizer User
|
|
36
36
|
* Guide</i>.</p>
|
|
37
|
-
* <p>You can have only one Amazon RDS export job in progress per Amazon Web Services Region.</p>
|
|
37
|
+
* <p>You can have only one Amazon Aurora or RDS export job in progress per Amazon Web Services Region.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -54,7 +54,7 @@ declare const ExportRDSDatabaseRecommendationsCommand_base: {
|
|
|
54
54
|
* },
|
|
55
55
|
* ],
|
|
56
56
|
* fieldsToExport: [ // ExportableRDSDBFields
|
|
57
|
-
* "ResourceArn" || "AccountId" || "Engine" || "EngineVersion" || "Idle" || "MultiAZDBInstance" || "CurrentDBInstanceClass" || "CurrentStorageConfigurationStorageType" || "CurrentStorageConfigurationAllocatedStorage" || "CurrentStorageConfigurationMaxAllocatedStorage" || "CurrentStorageConfigurationIOPS" || "CurrentStorageConfigurationStorageThroughput" || "CurrentInstanceOnDemandHourlyPrice" || "CurrentStorageOnDemandMonthlyPrice" || "LookbackPeriodInDays" || "CurrentInstancePerformanceRisk" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" || "UtilizationMetricsNetworkReceiveThroughputMaximum" || "UtilizationMetricsNetworkTransmitThroughputMaximum" || "UtilizationMetricsEBSVolumeReadIOPSMaximum" || "UtilizationMetricsEBSVolumeWriteIOPSMaximum" || "UtilizationMetricsEBSVolumeReadThroughputMaximum" || "UtilizationMetricsEBSVolumeWriteThroughputMaximum" || "UtilizationMetricsDatabaseConnectionsMaximum" || "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" || "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" || "UtilizationMetricsAuroraMemoryHealthStateMaximum" || "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" || "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" || "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" || "UtilizationMetricsReadIOPSEphemeralStorageMaximum" || "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" || "InstanceFinding" || "InstanceFindingReasonCodes" || "StorageFinding" || "StorageFindingReasonCodes" || "InstanceRecommendationOptionsDBInstanceClass" || "InstanceRecommendationOptionsRank" || "InstanceRecommendationOptionsPerformanceRisk" || "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "StorageRecommendationOptionsStorageType" || "StorageRecommendationOptionsAllocatedStorage" || "StorageRecommendationOptionsMaxAllocatedStorage" || "StorageRecommendationOptionsIOPS" || "StorageRecommendationOptionsStorageThroughput" || "StorageRecommendationOptionsRank" || "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" || "InstanceRecommendationOptionsSavingsOpportunityPercentage" || "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" || "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" || "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "StorageRecommendationOptionsOnDemandMonthlyPrice" || "StorageRecommendationOptionsSavingsOpportunityPercentage" || "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" || "StorageRecommendationOptionsEstimatedMonthlySavingsValue" || "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesLookBackPeriod" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "LastRefreshTimestamp" || "Tags" || "DBClusterIdentifier" || "PromotionTier",
|
|
57
|
+
* "ResourceArn" || "AccountId" || "Engine" || "EngineVersion" || "Idle" || "MultiAZDBInstance" || "ClusterWriter" || "CurrentDBInstanceClass" || "CurrentStorageConfigurationStorageType" || "CurrentStorageConfigurationAllocatedStorage" || "CurrentStorageConfigurationMaxAllocatedStorage" || "CurrentStorageConfigurationIOPS" || "CurrentStorageConfigurationStorageThroughput" || "CurrentStorageEstimatedMonthlyVolumeIOPsCostVariation" || "CurrentInstanceOnDemandHourlyPrice" || "CurrentStorageOnDemandMonthlyPrice" || "LookbackPeriodInDays" || "CurrentStorageEstimatedClusterInstanceOnDemandMonthlyCost" || "CurrentStorageEstimatedClusterStorageOnDemandMonthlyCost" || "CurrentStorageEstimatedClusterStorageIOOnDemandMonthlyCost" || "CurrentInstancePerformanceRisk" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" || "UtilizationMetricsNetworkReceiveThroughputMaximum" || "UtilizationMetricsNetworkTransmitThroughputMaximum" || "UtilizationMetricsEBSVolumeReadIOPSMaximum" || "UtilizationMetricsEBSVolumeWriteIOPSMaximum" || "UtilizationMetricsEBSVolumeReadThroughputMaximum" || "UtilizationMetricsEBSVolumeWriteThroughputMaximum" || "UtilizationMetricsDatabaseConnectionsMaximum" || "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" || "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" || "UtilizationMetricsAuroraMemoryHealthStateMaximum" || "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" || "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" || "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" || "UtilizationMetricsReadIOPSEphemeralStorageMaximum" || "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" || "UtilizationMetricsVolumeBytesUsedAverage" || "UtilizationMetricsVolumeReadIOPsAverage" || "UtilizationMetricsVolumeWriteIOPsAverage" || "InstanceFinding" || "InstanceFindingReasonCodes" || "StorageFinding" || "StorageFindingReasonCodes" || "InstanceRecommendationOptionsDBInstanceClass" || "InstanceRecommendationOptionsRank" || "InstanceRecommendationOptionsPerformanceRisk" || "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "StorageRecommendationOptionsStorageType" || "StorageRecommendationOptionsAllocatedStorage" || "StorageRecommendationOptionsMaxAllocatedStorage" || "StorageRecommendationOptionsIOPS" || "StorageRecommendationOptionsStorageThroughput" || "StorageRecommendationOptionsRank" || "StorageRecommendationOptionsEstimatedMonthlyVolumeIOPsCostVariation" || "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" || "InstanceRecommendationOptionsSavingsOpportunityPercentage" || "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" || "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" || "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "StorageRecommendationOptionsOnDemandMonthlyPrice" || "StorageRecommendationOptionsEstimatedClusterInstanceOnDemandMonthlyCost" || "StorageRecommendationOptionsEstimatedClusterStorageOnDemandMonthlyCost" || "StorageRecommendationOptionsEstimatedClusterStorageIOOnDemandMonthlyCost" || "StorageRecommendationOptionsSavingsOpportunityPercentage" || "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" || "StorageRecommendationOptionsEstimatedMonthlySavingsValue" || "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesLookBackPeriod" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "LastRefreshTimestamp" || "Tags" || "DBClusterIdentifier" || "PromotionTier",
|
|
58
58
|
* ],
|
|
59
59
|
* s3DestinationConfig: { // S3DestinationConfig
|
|
60
60
|
* bucket: "STRING_VALUE",
|
|
@@ -126,7 +126,7 @@ declare const GetEC2InstanceRecommendationsCommand_base: {
|
|
|
126
126
|
* // recommendationSources: [ // RecommendationSources
|
|
127
127
|
* // { // RecommendationSource
|
|
128
128
|
* // recommendationSourceArn: "STRING_VALUE",
|
|
129
|
-
* // recommendationSourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "EcsService" || "License" || "RdsDBInstance" || "RdsDBInstanceStorage",
|
|
129
|
+
* // recommendationSourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "EcsService" || "License" || "RdsDBInstance" || "RdsDBInstanceStorage" || "AuroraDBClusterStorage",
|
|
130
130
|
* // },
|
|
131
131
|
* // ],
|
|
132
132
|
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
@@ -28,7 +28,7 @@ declare const GetRDSDatabaseRecommendationProjectedMetricsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>
|
|
31
|
-
* Returns the projected metrics of
|
|
31
|
+
* Returns the projected metrics of Aurora and RDS database recommendations.
|
|
32
32
|
* </p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -57,7 +57,7 @@ declare const GetRDSDatabaseRecommendationProjectedMetricsCommand_base: {
|
|
|
57
57
|
* // rank: Number("int"),
|
|
58
58
|
* // projectedMetrics: [ // RDSDatabaseProjectedMetrics
|
|
59
59
|
* // { // RDSDatabaseProjectedMetric
|
|
60
|
-
* // name: "CPU" || "Memory" || "EBSVolumeStorageSpaceUtilization" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "EBSVolumeReadIOPS" || "EBSVolumeWriteIOPS" || "EBSVolumeReadThroughput" || "EBSVolumeWriteThroughput" || "DatabaseConnections" || "StorageNetworkReceiveThroughput" || "StorageNetworkTransmitThroughput" || "AuroraMemoryHealthState" || "AuroraMemoryNumDeclinedSql" || "AuroraMemoryNumKillConnTotal" || "AuroraMemoryNumKillQueryTotal" || "ReadIOPSEphemeralStorage" || "WriteIOPSEphemeralStorage",
|
|
60
|
+
* // name: "CPU" || "Memory" || "EBSVolumeStorageSpaceUtilization" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "EBSVolumeReadIOPS" || "EBSVolumeWriteIOPS" || "EBSVolumeReadThroughput" || "EBSVolumeWriteThroughput" || "DatabaseConnections" || "StorageNetworkReceiveThroughput" || "StorageNetworkTransmitThroughput" || "AuroraMemoryHealthState" || "AuroraMemoryNumDeclinedSql" || "AuroraMemoryNumKillConnTotal" || "AuroraMemoryNumKillQueryTotal" || "ReadIOPSEphemeralStorage" || "WriteIOPSEphemeralStorage" || "VolumeReadIOPs" || "VolumeBytesUsed" || "VolumeWriteIOPs",
|
|
61
61
|
* // timestamps: [ // Timestamps
|
|
62
62
|
* // new Date("TIMESTAMP"),
|
|
63
63
|
* // ],
|
|
@@ -28,9 +28,9 @@ declare const GetRDSDatabaseRecommendationsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>
|
|
31
|
-
* Returns Amazon RDS recommendations.
|
|
31
|
+
* Returns Amazon Aurora and RDS database recommendations.
|
|
32
32
|
* </p>
|
|
33
|
-
* <p>Compute Optimizer generates recommendations for Amazon RDS that
|
|
33
|
+
* <p>Compute Optimizer generates recommendations for Amazon Aurora and RDS databases that
|
|
34
34
|
* meet a specific set of requirements. For more
|
|
35
35
|
* information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
|
|
36
36
|
* requirements</a> in the <i>Compute Optimizer User
|
|
@@ -86,20 +86,21 @@ declare const GetRDSDatabaseRecommendationsCommand_base: {
|
|
|
86
86
|
* // dbClusterIdentifier: "STRING_VALUE",
|
|
87
87
|
* // idle: "True" || "False",
|
|
88
88
|
* // instanceFinding: "Optimized" || "Underprovisioned" || "Overprovisioned",
|
|
89
|
-
* // storageFinding: "Optimized" || "Underprovisioned" || "Overprovisioned",
|
|
89
|
+
* // storageFinding: "Optimized" || "Underprovisioned" || "Overprovisioned" || "NotOptimized",
|
|
90
90
|
* // instanceFindingReasonCodes: [ // RDSInstanceFindingReasonCodes
|
|
91
91
|
* // "CPUOverprovisioned" || "NetworkBandwidthOverprovisioned" || "EBSIOPSOverprovisioned" || "EBSIOPSUnderprovisioned" || "EBSThroughputOverprovisioned" || "CPUUnderprovisioned" || "NetworkBandwidthUnderprovisioned" || "EBSThroughputUnderprovisioned" || "NewGenerationDBInstanceClassAvailable" || "NewEngineVersionAvailable" || "DBClusterWriterUnderprovisioned" || "MemoryUnderprovisioned" || "InstanceStorageReadIOPSUnderprovisioned" || "InstanceStorageWriteIOPSUnderprovisioned",
|
|
92
92
|
* // ],
|
|
93
93
|
* // currentInstancePerformanceRisk: "VeryLow" || "Low" || "Medium" || "High",
|
|
94
|
+
* // currentStorageEstimatedMonthlyVolumeIOPsCostVariation: "None" || "Low" || "Medium" || "High",
|
|
94
95
|
* // storageFindingReasonCodes: [ // RDSStorageFindingReasonCodes
|
|
95
|
-
* // "EBSVolumeAllocatedStorageUnderprovisioned" || "EBSVolumeThroughputUnderprovisioned" || "EBSVolumeIOPSOverprovisioned" || "EBSVolumeThroughputOverprovisioned" || "NewGenerationStorageTypeAvailable",
|
|
96
|
+
* // "EBSVolumeAllocatedStorageUnderprovisioned" || "EBSVolumeThroughputUnderprovisioned" || "EBSVolumeIOPSOverprovisioned" || "EBSVolumeThroughputOverprovisioned" || "NewGenerationStorageTypeAvailable" || "DBClusterStorageOptionAvailable" || "DBClusterStorageSavingsAvailable",
|
|
96
97
|
* // ],
|
|
97
98
|
* // instanceRecommendationOptions: [ // RDSDBInstanceRecommendationOptions
|
|
98
99
|
* // { // RDSDBInstanceRecommendationOption
|
|
99
100
|
* // dbInstanceClass: "STRING_VALUE",
|
|
100
101
|
* // projectedUtilizationMetrics: [ // RDSDBProjectedUtilizationMetrics
|
|
101
102
|
* // { // RDSDBUtilizationMetric
|
|
102
|
-
* // name: "CPU" || "Memory" || "EBSVolumeStorageSpaceUtilization" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "EBSVolumeReadIOPS" || "EBSVolumeWriteIOPS" || "EBSVolumeReadThroughput" || "EBSVolumeWriteThroughput" || "DatabaseConnections" || "StorageNetworkReceiveThroughput" || "StorageNetworkTransmitThroughput" || "AuroraMemoryHealthState" || "AuroraMemoryNumDeclinedSql" || "AuroraMemoryNumKillConnTotal" || "AuroraMemoryNumKillQueryTotal" || "ReadIOPSEphemeralStorage" || "WriteIOPSEphemeralStorage",
|
|
103
|
+
* // name: "CPU" || "Memory" || "EBSVolumeStorageSpaceUtilization" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "EBSVolumeReadIOPS" || "EBSVolumeWriteIOPS" || "EBSVolumeReadThroughput" || "EBSVolumeWriteThroughput" || "DatabaseConnections" || "StorageNetworkReceiveThroughput" || "StorageNetworkTransmitThroughput" || "AuroraMemoryHealthState" || "AuroraMemoryNumDeclinedSql" || "AuroraMemoryNumKillConnTotal" || "AuroraMemoryNumKillQueryTotal" || "ReadIOPSEphemeralStorage" || "WriteIOPSEphemeralStorage" || "VolumeReadIOPs" || "VolumeBytesUsed" || "VolumeWriteIOPs",
|
|
103
104
|
* // statistic: "Maximum" || "Minimum" || "Average",
|
|
104
105
|
* // value: Number("double"),
|
|
105
106
|
* // },
|
|
@@ -146,11 +147,12 @@ declare const GetRDSDatabaseRecommendationsCommand_base: {
|
|
|
146
147
|
* // value: Number("double"),
|
|
147
148
|
* // },
|
|
148
149
|
* // },
|
|
150
|
+
* // estimatedMonthlyVolumeIOPsCostVariation: "None" || "Low" || "Medium" || "High",
|
|
149
151
|
* // },
|
|
150
152
|
* // ],
|
|
151
153
|
* // utilizationMetrics: [ // RDSDBUtilizationMetrics
|
|
152
154
|
* // {
|
|
153
|
-
* // name: "CPU" || "Memory" || "EBSVolumeStorageSpaceUtilization" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "EBSVolumeReadIOPS" || "EBSVolumeWriteIOPS" || "EBSVolumeReadThroughput" || "EBSVolumeWriteThroughput" || "DatabaseConnections" || "StorageNetworkReceiveThroughput" || "StorageNetworkTransmitThroughput" || "AuroraMemoryHealthState" || "AuroraMemoryNumDeclinedSql" || "AuroraMemoryNumKillConnTotal" || "AuroraMemoryNumKillQueryTotal" || "ReadIOPSEphemeralStorage" || "WriteIOPSEphemeralStorage",
|
|
155
|
+
* // name: "CPU" || "Memory" || "EBSVolumeStorageSpaceUtilization" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "EBSVolumeReadIOPS" || "EBSVolumeWriteIOPS" || "EBSVolumeReadThroughput" || "EBSVolumeWriteThroughput" || "DatabaseConnections" || "StorageNetworkReceiveThroughput" || "StorageNetworkTransmitThroughput" || "AuroraMemoryHealthState" || "AuroraMemoryNumDeclinedSql" || "AuroraMemoryNumKillConnTotal" || "AuroraMemoryNumKillQueryTotal" || "ReadIOPSEphemeralStorage" || "WriteIOPSEphemeralStorage" || "VolumeReadIOPs" || "VolumeBytesUsed" || "VolumeWriteIOPs",
|
|
154
156
|
* // statistic: "Maximum" || "Minimum" || "Average",
|
|
155
157
|
* // value: Number("double"),
|
|
156
158
|
* // },
|
|
@@ -42,7 +42,7 @@ declare const GetRecommendationPreferencesCommand_base: {
|
|
|
42
42
|
* // const { ComputeOptimizerClient, GetRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
43
43
|
* const client = new ComputeOptimizerClient(config);
|
|
44
44
|
* const input = { // GetRecommendationPreferencesRequest
|
|
45
|
-
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "Idle", // required
|
|
45
|
+
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required
|
|
46
46
|
* scope: { // Scope
|
|
47
47
|
* name: "Organization" || "AccountId" || "ResourceArn",
|
|
48
48
|
* value: "STRING_VALUE",
|
|
@@ -60,7 +60,7 @@ declare const GetRecommendationPreferencesCommand_base: {
|
|
|
60
60
|
* // name: "Organization" || "AccountId" || "ResourceArn",
|
|
61
61
|
* // value: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
|
-
* // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "Idle",
|
|
63
|
+
* // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle",
|
|
64
64
|
* // enhancedInfrastructureMetrics: "Active" || "Inactive",
|
|
65
65
|
* // inferredWorkloadTypes: "Active" || "Inactive",
|
|
66
66
|
* // externalMetricsPreference: { // ExternalMetricsPreference
|
|
@@ -36,7 +36,7 @@ declare const GetRecommendationSummariesCommand_base: {
|
|
|
36
36
|
* <code>Optimized</code>.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
* <p>
|
|
39
|
+
* <p>EC2Auto Scaling groups in an account that are <code>NotOptimized</code>, or
|
|
40
40
|
* <code>Optimized</code>.</p>
|
|
41
41
|
* </li>
|
|
42
42
|
* <li>
|
|
@@ -51,6 +51,14 @@ declare const GetRecommendationSummariesCommand_base: {
|
|
|
51
51
|
* <p>Amazon ECS services in an account that are <code>Underprovisioned</code>,
|
|
52
52
|
* <code>Overprovisioned</code>, or <code>Optimized</code>.</p>
|
|
53
53
|
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>Commercial software licenses in an account that are <code>InsufficientMetrics</code>,
|
|
56
|
+
* <code>NotOptimized</code> or <code>Optimized</code>.</p>
|
|
57
|
+
* </li>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>Amazon Aurora and Amazon RDS databases in an account that are <code>Underprovisioned</code>,
|
|
60
|
+
* <code>Overprovisioned</code>, <code>Optimized</code>, or <code>NotOptimized</code>.</p>
|
|
61
|
+
* </li>
|
|
54
62
|
* </ul>
|
|
55
63
|
* @example
|
|
56
64
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -89,7 +97,7 @@ declare const GetRecommendationSummariesCommand_base: {
|
|
|
89
97
|
* // value: Number("double"),
|
|
90
98
|
* // },
|
|
91
99
|
* // ],
|
|
92
|
-
* // recommendationResourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "EcsService" || "License" || "RdsDBInstance" || "RdsDBInstanceStorage",
|
|
100
|
+
* // recommendationResourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "EcsService" || "License" || "RdsDBInstance" || "RdsDBInstanceStorage" || "AuroraDBClusterStorage",
|
|
93
101
|
* // accountId: "STRING_VALUE",
|
|
94
102
|
* // savingsOpportunity: { // SavingsOpportunity
|
|
95
103
|
* // savingsOpportunityPercentage: Number("double"),
|
|
@@ -39,7 +39,7 @@ declare const PutRecommendationPreferencesCommand_base: {
|
|
|
39
39
|
* // const { ComputeOptimizerClient, PutRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
|
|
40
40
|
* const client = new ComputeOptimizerClient(config);
|
|
41
41
|
* const input = { // PutRecommendationPreferencesRequest
|
|
42
|
-
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "Idle", // required
|
|
42
|
+
* resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required
|
|
43
43
|
* scope: { // Scope
|
|
44
44
|
* name: "Organization" || "AccountId" || "ResourceArn",
|
|
45
45
|
* value: "STRING_VALUE",
|