@aws-sdk/client-compute-optimizer 3.600.0 → 3.602.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/README.md +24 -0
- package/dist-cjs/index.js +410 -2
- package/dist-es/ComputeOptimizer.js +6 -0
- package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +24 -0
- package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +24 -0
- package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +125 -0
- package/dist-es/protocols/Aws_json1_0.js +220 -0
- package/dist-types/ComputeOptimizer.d.ts +22 -0
- package/dist-types/ComputeOptimizerClient.d.ts +5 -2
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +121 -0
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +17 -17
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +5 -5
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +10 -10
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +12 -12
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +5 -5
- package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +112 -0
- package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +223 -0
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +1 -1
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +1316 -209
- package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
- package/dist-types/ts3.4/ComputeOptimizer.d.ts +58 -0
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +275 -9
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +1 -1
|
@@ -224,13 +224,13 @@ export interface AutoScalingGroupSavingsOpportunityAfterDiscounts {
|
|
|
224
224
|
}
|
|
225
225
|
export interface AutoScalingGroupRecommendationOption {
|
|
226
226
|
configuration?: AutoScalingGroupConfiguration;
|
|
227
|
+
instanceGpuInfo?: GpuInfo;
|
|
227
228
|
projectedUtilizationMetrics?: UtilizationMetric[];
|
|
228
229
|
performanceRisk?: number;
|
|
229
230
|
rank?: number;
|
|
230
231
|
savingsOpportunity?: SavingsOpportunity;
|
|
231
|
-
migrationEffort?: MigrationEffort;
|
|
232
|
-
instanceGpuInfo?: GpuInfo;
|
|
233
232
|
savingsOpportunityAfterDiscounts?: AutoScalingGroupSavingsOpportunityAfterDiscounts;
|
|
233
|
+
migrationEffort?: MigrationEffort;
|
|
234
234
|
}
|
|
235
235
|
export interface AutoScalingGroupRecommendation {
|
|
236
236
|
accountId?: string;
|
|
@@ -240,12 +240,12 @@ export interface AutoScalingGroupRecommendation {
|
|
|
240
240
|
utilizationMetrics?: UtilizationMetric[];
|
|
241
241
|
lookBackPeriodInDays?: number;
|
|
242
242
|
currentConfiguration?: AutoScalingGroupConfiguration;
|
|
243
|
+
currentInstanceGpuInfo?: GpuInfo;
|
|
243
244
|
recommendationOptions?: AutoScalingGroupRecommendationOption[];
|
|
244
245
|
lastRefreshTimestamp?: Date;
|
|
245
246
|
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
246
247
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
247
248
|
inferredWorkloadTypes?: InferredWorkloadType[];
|
|
248
|
-
currentInstanceGpuInfo?: GpuInfo;
|
|
249
249
|
}
|
|
250
250
|
export declare const RecommendationPreferenceName: {
|
|
251
251
|
readonly ENHANCED_INFRASTRUCTURE_METRICS: "EnhancedInfrastructureMetrics";
|
|
@@ -265,6 +265,7 @@ export declare const ResourceType: {
|
|
|
265
265
|
readonly LAMBDA_FUNCTION: "LambdaFunction";
|
|
266
266
|
readonly LICENSE: "License";
|
|
267
267
|
readonly NOT_APPLICABLE: "NotApplicable";
|
|
268
|
+
readonly RDS_DB_INSTANCE: "RdsDBInstance";
|
|
268
269
|
};
|
|
269
270
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
270
271
|
export declare const ScopeName: {
|
|
@@ -793,6 +794,95 @@ export interface ExportLicenseRecommendationsResponse {
|
|
|
793
794
|
jobId?: string;
|
|
794
795
|
s3Destination?: S3Destination;
|
|
795
796
|
}
|
|
797
|
+
export declare const ExportableRDSDBField: {
|
|
798
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
799
|
+
readonly CURRENT_DB_INSTANCE_CLASS: "CurrentDBInstanceClass";
|
|
800
|
+
readonly CURRENT_INSTANCE_ON_DEMAND_HOURLY_PRICE: "CurrentInstanceOnDemandHourlyPrice";
|
|
801
|
+
readonly CURRENT_STORAGE_CONFIGURATION_ALLOCATED_STORAGE: "CurrentStorageConfigurationAllocatedStorage";
|
|
802
|
+
readonly CURRENT_STORAGE_CONFIGURATION_IOPS: "CurrentStorageConfigurationIOPS";
|
|
803
|
+
readonly CURRENT_STORAGE_CONFIGURATION_MAX_ALLOCATED_STORAGE: "CurrentStorageConfigurationMaxAllocatedStorage";
|
|
804
|
+
readonly CURRENT_STORAGE_CONFIGURATION_STORAGE_THROUGHPUT: "CurrentStorageConfigurationStorageThroughput";
|
|
805
|
+
readonly CURRENT_STORAGE_CONFIGURATION_STORAGE_TYPE: "CurrentStorageConfigurationStorageType";
|
|
806
|
+
readonly CURRENT_STORAGE_ON_DEMAND_MONTHLY_PRICE: "CurrentStorageOnDemandMonthlyPrice";
|
|
807
|
+
readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures";
|
|
808
|
+
readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
|
|
809
|
+
readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod";
|
|
810
|
+
readonly EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode";
|
|
811
|
+
readonly ENGINE: "Engine";
|
|
812
|
+
readonly ENGINE_VERSION: "EngineVersion";
|
|
813
|
+
readonly IDLE: "Idle";
|
|
814
|
+
readonly INSTANCE_FINDING: "InstanceFinding";
|
|
815
|
+
readonly INSTANCE_FINDING_REASON_CODES: "InstanceFindingReasonCodes";
|
|
816
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_DB_INSTANCE_CLASS: "InstanceRecommendationOptionsDBInstanceClass";
|
|
817
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency";
|
|
818
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
|
|
819
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "InstanceRecommendationOptionsEstimatedMonthlySavingsValue";
|
|
820
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
|
|
821
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_INSTANCE_ON_DEMAND_HOURLY_PRICE: "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice";
|
|
822
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_PERFORMANCE_RISK: "InstanceRecommendationOptionsPerformanceRisk";
|
|
823
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM: "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum";
|
|
824
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_RANK: "InstanceRecommendationOptionsRank";
|
|
825
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
|
|
826
|
+
readonly INSTANCE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "InstanceRecommendationOptionsSavingsOpportunityPercentage";
|
|
827
|
+
readonly LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp";
|
|
828
|
+
readonly LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays";
|
|
829
|
+
readonly MULTI_AZ_DB_INSTANCE: "MultiAZDBInstance";
|
|
830
|
+
readonly RESOURCE_ARN: "ResourceArn";
|
|
831
|
+
readonly STORAGE_FINDING: "StorageFinding";
|
|
832
|
+
readonly STORAGE_FINDING_REASON_CODES: "StorageFindingReasonCodes";
|
|
833
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_ALLOCATED_STORAGE: "StorageRecommendationOptionsAllocatedStorage";
|
|
834
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency";
|
|
835
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts";
|
|
836
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "StorageRecommendationOptionsEstimatedMonthlySavingsValue";
|
|
837
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts";
|
|
838
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_IOPS: "StorageRecommendationOptionsIOPS";
|
|
839
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_MAX_ALLOCATED_STORAGE: "StorageRecommendationOptionsMaxAllocatedStorage";
|
|
840
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_ON_DEMAND_MONTHLY_PRICE: "StorageRecommendationOptionsOnDemandMonthlyPrice";
|
|
841
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_RANK: "StorageRecommendationOptionsRank";
|
|
842
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage";
|
|
843
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "StorageRecommendationOptionsSavingsOpportunityPercentage";
|
|
844
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_STORAGE_THROUGHPUT: "StorageRecommendationOptionsStorageThroughput";
|
|
845
|
+
readonly STORAGE_RECOMMENDATION_OPTIONS_STORAGE_TYPE: "StorageRecommendationOptionsStorageType";
|
|
846
|
+
readonly TAGS: "Tags";
|
|
847
|
+
readonly UTILIZATION_METRICS_CPU_MAXIMUM: "UtilizationMetricsCpuMaximum";
|
|
848
|
+
readonly UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM: "UtilizationMetricsDatabaseConnectionsMaximum";
|
|
849
|
+
readonly UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeReadIOPSMaximum";
|
|
850
|
+
readonly UTILIZATION_METRICS_EBS_VOLUME_READ_THROUGHPUT_MAXIMUM: "UtilizationMetricsEBSVolumeReadThroughputMaximum";
|
|
851
|
+
readonly UTILIZATION_METRICS_EBS_VOLUME_STORAGE_SPACE_UTILIZATION_MAXIMUM: "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum";
|
|
852
|
+
readonly UTILIZATION_METRICS_EBS_VOLUME_WRITE_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeWriteIOPSMaximum";
|
|
853
|
+
readonly UTILIZATION_METRICS_EBS_VOLUME_WRITE_THROUGHPUT_MAXIMUM: "UtilizationMetricsEBSVolumeWriteThroughputMaximum";
|
|
854
|
+
readonly UTILIZATION_METRICS_MEMORY_MAXIMUM: "UtilizationMetricsMemoryMaximum";
|
|
855
|
+
readonly UTILIZATION_METRICS_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkReceiveThroughputMaximum";
|
|
856
|
+
readonly UTILIZATION_METRICS_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkTransmitThroughputMaximum";
|
|
857
|
+
};
|
|
858
|
+
export type ExportableRDSDBField =
|
|
859
|
+
(typeof ExportableRDSDBField)[keyof typeof ExportableRDSDBField];
|
|
860
|
+
export declare const RDSDBRecommendationFilterName: {
|
|
861
|
+
readonly IDLE: "Idle";
|
|
862
|
+
readonly INSTANCE_FINDING: "InstanceFinding";
|
|
863
|
+
readonly INSTANCE_FINDING_REASON_CODE: "InstanceFindingReasonCode";
|
|
864
|
+
readonly STORAGE_FINDING: "StorageFinding";
|
|
865
|
+
readonly STORAGE_FINDING_REASON_CODE: "StorageFindingReasonCode";
|
|
866
|
+
};
|
|
867
|
+
export type RDSDBRecommendationFilterName =
|
|
868
|
+
(typeof RDSDBRecommendationFilterName)[keyof typeof RDSDBRecommendationFilterName];
|
|
869
|
+
export interface RDSDBRecommendationFilter {
|
|
870
|
+
name?: RDSDBRecommendationFilterName;
|
|
871
|
+
values?: string[];
|
|
872
|
+
}
|
|
873
|
+
export interface ExportRDSDatabaseRecommendationsRequest {
|
|
874
|
+
accountIds?: string[];
|
|
875
|
+
filters?: RDSDBRecommendationFilter[];
|
|
876
|
+
fieldsToExport?: ExportableRDSDBField[];
|
|
877
|
+
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
878
|
+
fileFormat?: FileFormat;
|
|
879
|
+
includeMemberAccounts?: boolean;
|
|
880
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
881
|
+
}
|
|
882
|
+
export interface ExportRDSDatabaseRecommendationsResponse {
|
|
883
|
+
jobId?: string;
|
|
884
|
+
s3Destination?: S3Destination;
|
|
885
|
+
}
|
|
796
886
|
export interface GetAutoScalingGroupRecommendationsRequest {
|
|
797
887
|
accountIds?: string[];
|
|
798
888
|
autoScalingGroupArns?: string[];
|
|
@@ -886,8 +976,8 @@ export interface VolumeRecommendation {
|
|
|
886
976
|
volumeRecommendationOptions?: VolumeRecommendationOption[];
|
|
887
977
|
lastRefreshTimestamp?: Date;
|
|
888
978
|
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
889
|
-
tags?: Tag[];
|
|
890
979
|
effectiveRecommendationPreferences?: EBSEffectiveRecommendationPreferences;
|
|
980
|
+
tags?: Tag[];
|
|
891
981
|
}
|
|
892
982
|
export interface GetEBSVolumeRecommendationsResponse {
|
|
893
983
|
nextToken?: string;
|
|
@@ -978,14 +1068,14 @@ export interface InstanceSavingsOpportunityAfterDiscounts {
|
|
|
978
1068
|
}
|
|
979
1069
|
export interface InstanceRecommendationOption {
|
|
980
1070
|
instanceType?: string;
|
|
1071
|
+
instanceGpuInfo?: GpuInfo;
|
|
981
1072
|
projectedUtilizationMetrics?: UtilizationMetric[];
|
|
982
1073
|
platformDifferences?: PlatformDifference[];
|
|
983
1074
|
performanceRisk?: number;
|
|
984
1075
|
rank?: number;
|
|
985
1076
|
savingsOpportunity?: SavingsOpportunity;
|
|
986
|
-
migrationEffort?: MigrationEffort;
|
|
987
|
-
instanceGpuInfo?: GpuInfo;
|
|
988
1077
|
savingsOpportunityAfterDiscounts?: InstanceSavingsOpportunityAfterDiscounts;
|
|
1078
|
+
migrationEffort?: MigrationEffort;
|
|
989
1079
|
}
|
|
990
1080
|
export declare const RecommendationSourceType: {
|
|
991
1081
|
readonly AUTO_SCALING_GROUP: "AutoScalingGroup";
|
|
@@ -994,6 +1084,8 @@ export declare const RecommendationSourceType: {
|
|
|
994
1084
|
readonly ECS_SERVICE: "EcsService";
|
|
995
1085
|
readonly LAMBDA_FUNCTION: "LambdaFunction";
|
|
996
1086
|
readonly LICENSE: "License";
|
|
1087
|
+
readonly RDS_DB_INSTANCE: "RdsDBInstance";
|
|
1088
|
+
readonly RDS_DB_INSTANCE_STORAGE: "RdsDBInstanceStorage";
|
|
997
1089
|
};
|
|
998
1090
|
export type RecommendationSourceType =
|
|
999
1091
|
(typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
|
|
@@ -1161,9 +1253,9 @@ export interface ECSServiceRecommendationOption {
|
|
|
1161
1253
|
memory?: number;
|
|
1162
1254
|
cpu?: number;
|
|
1163
1255
|
savingsOpportunity?: SavingsOpportunity;
|
|
1256
|
+
savingsOpportunityAfterDiscounts?: ECSSavingsOpportunityAfterDiscounts;
|
|
1164
1257
|
projectedUtilizationMetrics?: ECSServiceProjectedUtilizationMetric[];
|
|
1165
1258
|
containerRecommendations?: ContainerRecommendation[];
|
|
1166
|
-
savingsOpportunityAfterDiscounts?: ECSSavingsOpportunityAfterDiscounts;
|
|
1167
1259
|
}
|
|
1168
1260
|
export interface ECSServiceUtilizationMetric {
|
|
1169
1261
|
name?: ECSServiceMetricName;
|
|
@@ -1182,8 +1274,8 @@ export interface ECSServiceRecommendation {
|
|
|
1182
1274
|
findingReasonCodes?: ECSServiceRecommendationFindingReasonCode[];
|
|
1183
1275
|
serviceRecommendationOptions?: ECSServiceRecommendationOption[];
|
|
1184
1276
|
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
1185
|
-
tags?: Tag[];
|
|
1186
1277
|
effectiveRecommendationPreferences?: ECSEffectiveRecommendationPreferences;
|
|
1278
|
+
tags?: Tag[];
|
|
1187
1279
|
}
|
|
1188
1280
|
export interface GetECSServiceRecommendationsResponse {
|
|
1189
1281
|
nextToken?: string;
|
|
@@ -1323,8 +1415,8 @@ export interface LambdaFunctionRecommendation {
|
|
|
1323
1415
|
findingReasonCodes?: LambdaFunctionRecommendationFindingReasonCode[];
|
|
1324
1416
|
memorySizeRecommendationOptions?: LambdaFunctionMemoryRecommendationOption[];
|
|
1325
1417
|
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
1326
|
-
tags?: Tag[];
|
|
1327
1418
|
effectiveRecommendationPreferences?: LambdaEffectiveRecommendationPreferences;
|
|
1419
|
+
tags?: Tag[];
|
|
1328
1420
|
}
|
|
1329
1421
|
export interface GetLambdaFunctionRecommendationsResponse {
|
|
1330
1422
|
nextToken?: string;
|
|
@@ -1411,6 +1503,180 @@ export interface GetLicenseRecommendationsResponse {
|
|
|
1411
1503
|
licenseRecommendations?: LicenseRecommendation[];
|
|
1412
1504
|
errors?: GetRecommendationError[];
|
|
1413
1505
|
}
|
|
1506
|
+
export interface GetRDSDatabaseRecommendationProjectedMetricsRequest {
|
|
1507
|
+
resourceArn: string | undefined;
|
|
1508
|
+
stat: MetricStatistic | undefined;
|
|
1509
|
+
period: number | undefined;
|
|
1510
|
+
startTime: Date | undefined;
|
|
1511
|
+
endTime: Date | undefined;
|
|
1512
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
1513
|
+
}
|
|
1514
|
+
export declare const RDSDBMetricName: {
|
|
1515
|
+
readonly CPU: "CPU";
|
|
1516
|
+
readonly DATABASE_CONNECTIONS: "DatabaseConnections";
|
|
1517
|
+
readonly EBS_VOLUME_READ_IOPS: "EBSVolumeReadIOPS";
|
|
1518
|
+
readonly EBS_VOLUME_READ_THROUGHPUT: "EBSVolumeReadThroughput";
|
|
1519
|
+
readonly EBS_VOLUME_STORAGE_SPACE_UTILIZATION: "EBSVolumeStorageSpaceUtilization";
|
|
1520
|
+
readonly EBS_VOLUME_WRITE_IOPS: "EBSVolumeWriteIOPS";
|
|
1521
|
+
readonly EBS_VOLUME_WRITE_THROUGHPUT: "EBSVolumeWriteThroughput";
|
|
1522
|
+
readonly MEMORY: "Memory";
|
|
1523
|
+
readonly NETWORK_RECEIVE_THROUGHPUT: "NetworkReceiveThroughput";
|
|
1524
|
+
readonly NETWORK_TRANSMIT_THROUGHPUT: "NetworkTransmitThroughput";
|
|
1525
|
+
};
|
|
1526
|
+
export type RDSDBMetricName =
|
|
1527
|
+
(typeof RDSDBMetricName)[keyof typeof RDSDBMetricName];
|
|
1528
|
+
export interface RDSDatabaseProjectedMetric {
|
|
1529
|
+
name?: RDSDBMetricName;
|
|
1530
|
+
timestamps?: Date[];
|
|
1531
|
+
values?: number[];
|
|
1532
|
+
}
|
|
1533
|
+
export interface RDSDatabaseRecommendedOptionProjectedMetric {
|
|
1534
|
+
recommendedDBInstanceClass?: string;
|
|
1535
|
+
rank?: number;
|
|
1536
|
+
projectedMetrics?: RDSDatabaseProjectedMetric[];
|
|
1537
|
+
}
|
|
1538
|
+
export interface GetRDSDatabaseRecommendationProjectedMetricsResponse {
|
|
1539
|
+
recommendedOptionProjectedMetrics?: RDSDatabaseRecommendedOptionProjectedMetric[];
|
|
1540
|
+
}
|
|
1541
|
+
export interface GetRDSDatabaseRecommendationsRequest {
|
|
1542
|
+
resourceArns?: string[];
|
|
1543
|
+
nextToken?: string;
|
|
1544
|
+
maxResults?: number;
|
|
1545
|
+
filters?: RDSDBRecommendationFilter[];
|
|
1546
|
+
accountIds?: string[];
|
|
1547
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
1548
|
+
}
|
|
1549
|
+
export interface DBStorageConfiguration {
|
|
1550
|
+
storageType?: string;
|
|
1551
|
+
allocatedStorage?: number;
|
|
1552
|
+
iops?: number;
|
|
1553
|
+
maxAllocatedStorage?: number;
|
|
1554
|
+
storageThroughput?: number;
|
|
1555
|
+
}
|
|
1556
|
+
export declare const RDSSavingsEstimationModeSource: {
|
|
1557
|
+
readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
|
|
1558
|
+
readonly COST_OPTIMIZATION_HUB: "CostOptimizationHub";
|
|
1559
|
+
readonly PUBLIC_PRICING: "PublicPricing";
|
|
1560
|
+
};
|
|
1561
|
+
export type RDSSavingsEstimationModeSource =
|
|
1562
|
+
(typeof RDSSavingsEstimationModeSource)[keyof typeof RDSSavingsEstimationModeSource];
|
|
1563
|
+
export interface RDSSavingsEstimationMode {
|
|
1564
|
+
source?: RDSSavingsEstimationModeSource;
|
|
1565
|
+
}
|
|
1566
|
+
export interface RDSEffectiveRecommendationPreferences {
|
|
1567
|
+
cpuVendorArchitectures?: CpuVendorArchitecture[];
|
|
1568
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1569
|
+
lookBackPeriod?: LookBackPeriodPreference;
|
|
1570
|
+
savingsEstimationMode?: RDSSavingsEstimationMode;
|
|
1571
|
+
}
|
|
1572
|
+
export declare const Idle: {
|
|
1573
|
+
readonly FALSE: "False";
|
|
1574
|
+
readonly TRUE: "True";
|
|
1575
|
+
};
|
|
1576
|
+
export type Idle = (typeof Idle)[keyof typeof Idle];
|
|
1577
|
+
export declare const RDSInstanceFinding: {
|
|
1578
|
+
readonly OPTIMIZED: "Optimized";
|
|
1579
|
+
readonly OVER_PROVISIONED: "Overprovisioned";
|
|
1580
|
+
readonly UNDER_PROVISIONED: "Underprovisioned";
|
|
1581
|
+
};
|
|
1582
|
+
export type RDSInstanceFinding =
|
|
1583
|
+
(typeof RDSInstanceFinding)[keyof typeof RDSInstanceFinding];
|
|
1584
|
+
export declare const RDSInstanceFindingReasonCode: {
|
|
1585
|
+
readonly CPU_OVER_PROVISIONED: "CPUOverprovisioned";
|
|
1586
|
+
readonly CPU_UNDER_PROVISIONED: "CPUUnderprovisioned";
|
|
1587
|
+
readonly EBS_IOPS_OVER_PROVISIONED: "EBSIOPSOverprovisioned";
|
|
1588
|
+
readonly EBS_THROUGHPUT_OVER_PROVISIONED: "EBSThroughputOverprovisioned";
|
|
1589
|
+
readonly EBS_THROUGHPUT_UNDER_PROVISIONED: "EBSThroughputUnderprovisioned";
|
|
1590
|
+
readonly NETWORK_BANDWIDTH_OVER_PROVISIONED: "NetworkBandwidthOverprovisioned";
|
|
1591
|
+
readonly NETWORK_BANDWIDTH_UNDER_PROVISIONED: "NetworkBandwidthUnderprovisioned";
|
|
1592
|
+
readonly NEW_ENGINE_VERSION_AVAILABLE: "NewEngineVersionAvailable";
|
|
1593
|
+
readonly NEW_GENERATION_DB_INSTANCE_CLASS_AVAILABLE: "NewGenerationDBInstanceClassAvailable";
|
|
1594
|
+
};
|
|
1595
|
+
export type RDSInstanceFindingReasonCode =
|
|
1596
|
+
(typeof RDSInstanceFindingReasonCode)[keyof typeof RDSInstanceFindingReasonCode];
|
|
1597
|
+
export declare const RDSDBMetricStatistic: {
|
|
1598
|
+
readonly AVERAGE: "Average";
|
|
1599
|
+
readonly MAXIMUM: "Maximum";
|
|
1600
|
+
readonly MINIMUM: "Minimum";
|
|
1601
|
+
};
|
|
1602
|
+
export type RDSDBMetricStatistic =
|
|
1603
|
+
(typeof RDSDBMetricStatistic)[keyof typeof RDSDBMetricStatistic];
|
|
1604
|
+
export interface RDSDBUtilizationMetric {
|
|
1605
|
+
name?: RDSDBMetricName;
|
|
1606
|
+
statistic?: RDSDBMetricStatistic;
|
|
1607
|
+
value?: number;
|
|
1608
|
+
}
|
|
1609
|
+
export interface RDSInstanceEstimatedMonthlySavings {
|
|
1610
|
+
currency?: Currency;
|
|
1611
|
+
value?: number;
|
|
1612
|
+
}
|
|
1613
|
+
export interface RDSInstanceSavingsOpportunityAfterDiscounts {
|
|
1614
|
+
savingsOpportunityPercentage?: number;
|
|
1615
|
+
estimatedMonthlySavings?: RDSInstanceEstimatedMonthlySavings;
|
|
1616
|
+
}
|
|
1617
|
+
export interface RDSDBInstanceRecommendationOption {
|
|
1618
|
+
dbInstanceClass?: string;
|
|
1619
|
+
projectedUtilizationMetrics?: RDSDBUtilizationMetric[];
|
|
1620
|
+
performanceRisk?: number;
|
|
1621
|
+
rank?: number;
|
|
1622
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
1623
|
+
savingsOpportunityAfterDiscounts?: RDSInstanceSavingsOpportunityAfterDiscounts;
|
|
1624
|
+
}
|
|
1625
|
+
export declare const RDSStorageFinding: {
|
|
1626
|
+
readonly OPTIMIZED: "Optimized";
|
|
1627
|
+
readonly OVER_PROVISIONED: "Overprovisioned";
|
|
1628
|
+
readonly UNDER_PROVISIONED: "Underprovisioned";
|
|
1629
|
+
};
|
|
1630
|
+
export type RDSStorageFinding =
|
|
1631
|
+
(typeof RDSStorageFinding)[keyof typeof RDSStorageFinding];
|
|
1632
|
+
export declare const RDSStorageFindingReasonCode: {
|
|
1633
|
+
readonly EBS_VOLUME_ALLOCATED_STORAGE_UNDER_PROVISIONED: "EBSVolumeAllocatedStorageUnderprovisioned";
|
|
1634
|
+
readonly EBS_VOLUME_IOPS_OVER_PROVISIONED: "EBSVolumeIOPSOverprovisioned";
|
|
1635
|
+
readonly EBS_VOLUME_THROUGHPUT_OVER_PROVISIONED: "EBSVolumeThroughputOverprovisioned";
|
|
1636
|
+
readonly EBS_VOLUME_THROUGHPUT_UNDER_PROVISIONED: "EBSVolumeThroughputUnderprovisioned";
|
|
1637
|
+
readonly NEW_GENERATION_STORAGE_TYPE_AVAILABLE: "NewGenerationStorageTypeAvailable";
|
|
1638
|
+
};
|
|
1639
|
+
export type RDSStorageFindingReasonCode =
|
|
1640
|
+
(typeof RDSStorageFindingReasonCode)[keyof typeof RDSStorageFindingReasonCode];
|
|
1641
|
+
export interface RDSStorageEstimatedMonthlySavings {
|
|
1642
|
+
currency?: Currency;
|
|
1643
|
+
value?: number;
|
|
1644
|
+
}
|
|
1645
|
+
export interface RDSStorageSavingsOpportunityAfterDiscounts {
|
|
1646
|
+
savingsOpportunityPercentage?: number;
|
|
1647
|
+
estimatedMonthlySavings?: RDSStorageEstimatedMonthlySavings;
|
|
1648
|
+
}
|
|
1649
|
+
export interface RDSDBStorageRecommendationOption {
|
|
1650
|
+
storageConfiguration?: DBStorageConfiguration;
|
|
1651
|
+
rank?: number;
|
|
1652
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
1653
|
+
savingsOpportunityAfterDiscounts?: RDSStorageSavingsOpportunityAfterDiscounts;
|
|
1654
|
+
}
|
|
1655
|
+
export interface RDSDBRecommendation {
|
|
1656
|
+
resourceArn?: string;
|
|
1657
|
+
accountId?: string;
|
|
1658
|
+
engine?: string;
|
|
1659
|
+
engineVersion?: string;
|
|
1660
|
+
currentDBInstanceClass?: string;
|
|
1661
|
+
currentStorageConfiguration?: DBStorageConfiguration;
|
|
1662
|
+
idle?: Idle;
|
|
1663
|
+
instanceFinding?: RDSInstanceFinding;
|
|
1664
|
+
storageFinding?: RDSStorageFinding;
|
|
1665
|
+
instanceFindingReasonCodes?: RDSInstanceFindingReasonCode[];
|
|
1666
|
+
storageFindingReasonCodes?: RDSStorageFindingReasonCode[];
|
|
1667
|
+
instanceRecommendationOptions?: RDSDBInstanceRecommendationOption[];
|
|
1668
|
+
storageRecommendationOptions?: RDSDBStorageRecommendationOption[];
|
|
1669
|
+
utilizationMetrics?: RDSDBUtilizationMetric[];
|
|
1670
|
+
effectiveRecommendationPreferences?: RDSEffectiveRecommendationPreferences;
|
|
1671
|
+
lookbackPeriodInDays?: number;
|
|
1672
|
+
lastRefreshTimestamp?: Date;
|
|
1673
|
+
tags?: Tag[];
|
|
1674
|
+
}
|
|
1675
|
+
export interface GetRDSDatabaseRecommendationsResponse {
|
|
1676
|
+
nextToken?: string;
|
|
1677
|
+
rdsDBRecommendations?: RDSDBRecommendation[];
|
|
1678
|
+
errors?: GetRecommendationError[];
|
|
1679
|
+
}
|
|
1414
1680
|
export interface GetRecommendationPreferencesRequest {
|
|
1415
1681
|
resourceType: ResourceType | undefined;
|
|
1416
1682
|
scope?: Scope;
|
|
@@ -35,6 +35,10 @@ import {
|
|
|
35
35
|
ExportLicenseRecommendationsCommandInput,
|
|
36
36
|
ExportLicenseRecommendationsCommandOutput,
|
|
37
37
|
} from "../commands/ExportLicenseRecommendationsCommand";
|
|
38
|
+
import {
|
|
39
|
+
ExportRDSDatabaseRecommendationsCommandInput,
|
|
40
|
+
ExportRDSDatabaseRecommendationsCommandOutput,
|
|
41
|
+
} from "../commands/ExportRDSDatabaseRecommendationsCommand";
|
|
38
42
|
import {
|
|
39
43
|
GetAutoScalingGroupRecommendationsCommandInput,
|
|
40
44
|
GetAutoScalingGroupRecommendationsCommandOutput,
|
|
@@ -79,6 +83,14 @@ import {
|
|
|
79
83
|
GetLicenseRecommendationsCommandInput,
|
|
80
84
|
GetLicenseRecommendationsCommandOutput,
|
|
81
85
|
} from "../commands/GetLicenseRecommendationsCommand";
|
|
86
|
+
import {
|
|
87
|
+
GetRDSDatabaseRecommendationProjectedMetricsCommandInput,
|
|
88
|
+
GetRDSDatabaseRecommendationProjectedMetricsCommandOutput,
|
|
89
|
+
} from "../commands/GetRDSDatabaseRecommendationProjectedMetricsCommand";
|
|
90
|
+
import {
|
|
91
|
+
GetRDSDatabaseRecommendationsCommandInput,
|
|
92
|
+
GetRDSDatabaseRecommendationsCommandOutput,
|
|
93
|
+
} from "../commands/GetRDSDatabaseRecommendationsCommand";
|
|
82
94
|
import {
|
|
83
95
|
GetRecommendationPreferencesCommandInput,
|
|
84
96
|
GetRecommendationPreferencesCommandOutput,
|
|
@@ -127,6 +139,10 @@ export declare const se_ExportLicenseRecommendationsCommand: (
|
|
|
127
139
|
input: ExportLicenseRecommendationsCommandInput,
|
|
128
140
|
context: __SerdeContext
|
|
129
141
|
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const se_ExportRDSDatabaseRecommendationsCommand: (
|
|
143
|
+
input: ExportRDSDatabaseRecommendationsCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
130
146
|
export declare const se_GetAutoScalingGroupRecommendationsCommand: (
|
|
131
147
|
input: GetAutoScalingGroupRecommendationsCommandInput,
|
|
132
148
|
context: __SerdeContext
|
|
@@ -171,6 +187,14 @@ export declare const se_GetLicenseRecommendationsCommand: (
|
|
|
171
187
|
input: GetLicenseRecommendationsCommandInput,
|
|
172
188
|
context: __SerdeContext
|
|
173
189
|
) => Promise<__HttpRequest>;
|
|
190
|
+
export declare const se_GetRDSDatabaseRecommendationProjectedMetricsCommand: (
|
|
191
|
+
input: GetRDSDatabaseRecommendationProjectedMetricsCommandInput,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<__HttpRequest>;
|
|
194
|
+
export declare const se_GetRDSDatabaseRecommendationsCommand: (
|
|
195
|
+
input: GetRDSDatabaseRecommendationsCommandInput,
|
|
196
|
+
context: __SerdeContext
|
|
197
|
+
) => Promise<__HttpRequest>;
|
|
174
198
|
export declare const se_GetRecommendationPreferencesCommand: (
|
|
175
199
|
input: GetRecommendationPreferencesCommandInput,
|
|
176
200
|
context: __SerdeContext
|
|
@@ -219,6 +243,10 @@ export declare const de_ExportLicenseRecommendationsCommand: (
|
|
|
219
243
|
output: __HttpResponse,
|
|
220
244
|
context: __SerdeContext
|
|
221
245
|
) => Promise<ExportLicenseRecommendationsCommandOutput>;
|
|
246
|
+
export declare const de_ExportRDSDatabaseRecommendationsCommand: (
|
|
247
|
+
output: __HttpResponse,
|
|
248
|
+
context: __SerdeContext
|
|
249
|
+
) => Promise<ExportRDSDatabaseRecommendationsCommandOutput>;
|
|
222
250
|
export declare const de_GetAutoScalingGroupRecommendationsCommand: (
|
|
223
251
|
output: __HttpResponse,
|
|
224
252
|
context: __SerdeContext
|
|
@@ -263,6 +291,14 @@ export declare const de_GetLicenseRecommendationsCommand: (
|
|
|
263
291
|
output: __HttpResponse,
|
|
264
292
|
context: __SerdeContext
|
|
265
293
|
) => Promise<GetLicenseRecommendationsCommandOutput>;
|
|
294
|
+
export declare const de_GetRDSDatabaseRecommendationProjectedMetricsCommand: (
|
|
295
|
+
output: __HttpResponse,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<GetRDSDatabaseRecommendationProjectedMetricsCommandOutput>;
|
|
298
|
+
export declare const de_GetRDSDatabaseRecommendationsCommand: (
|
|
299
|
+
output: __HttpResponse,
|
|
300
|
+
context: __SerdeContext
|
|
301
|
+
) => Promise<GetRDSDatabaseRecommendationsCommandOutput>;
|
|
266
302
|
export declare const de_GetRecommendationPreferencesCommand: (
|
|
267
303
|
output: __HttpResponse,
|
|
268
304
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.602.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-compute-optimizer",
|