@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.
Files changed (39) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +410 -2
  3. package/dist-es/ComputeOptimizer.js +6 -0
  4. package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +24 -0
  5. package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +24 -0
  6. package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +125 -0
  9. package/dist-es/protocols/Aws_json1_0.js +220 -0
  10. package/dist-types/ComputeOptimizer.d.ts +22 -0
  11. package/dist-types/ComputeOptimizerClient.d.ts +5 -2
  12. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
  14. package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +1 -1
  15. package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +121 -0
  18. package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +17 -17
  19. package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +5 -5
  20. package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +10 -10
  21. package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +12 -12
  22. package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +5 -5
  23. package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +112 -0
  24. package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +223 -0
  25. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
  26. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +1 -1
  27. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/models/models_0.d.ts +1316 -209
  30. package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
  31. package/dist-types/ts3.4/ComputeOptimizer.d.ts +58 -0
  32. package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +18 -0
  33. package/dist-types/ts3.4/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +40 -0
  34. package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +40 -0
  35. package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationsCommand.d.ts +40 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +275 -9
  38. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
  39. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetRDSDatabaseRecommendationProjectedMetricsCommand, se_GetRDSDatabaseRecommendationProjectedMetricsCommand, } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetRDSDatabaseRecommendationProjectedMetricsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComputeOptimizerService", "GetRDSDatabaseRecommendationProjectedMetrics", {})
19
+ .n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationProjectedMetricsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRDSDatabaseRecommendationProjectedMetricsCommand)
22
+ .de(de_GetRDSDatabaseRecommendationProjectedMetricsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetRDSDatabaseRecommendationsCommand, se_GetRDSDatabaseRecommendationsCommand, } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetRDSDatabaseRecommendationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComputeOptimizerService", "GetRDSDatabaseRecommendations", {})
19
+ .n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRDSDatabaseRecommendationsCommand)
22
+ .de(de_GetRDSDatabaseRecommendationsCommand)
23
+ .build() {
24
+ }
@@ -6,6 +6,7 @@ export * from "./ExportEC2InstanceRecommendationsCommand";
6
6
  export * from "./ExportECSServiceRecommendationsCommand";
7
7
  export * from "./ExportLambdaFunctionRecommendationsCommand";
8
8
  export * from "./ExportLicenseRecommendationsCommand";
9
+ export * from "./ExportRDSDatabaseRecommendationsCommand";
9
10
  export * from "./GetAutoScalingGroupRecommendationsCommand";
10
11
  export * from "./GetEBSVolumeRecommendationsCommand";
11
12
  export * from "./GetEC2InstanceRecommendationsCommand";
@@ -17,6 +18,8 @@ export * from "./GetEnrollmentStatusCommand";
17
18
  export * from "./GetEnrollmentStatusesForOrganizationCommand";
18
19
  export * from "./GetLambdaFunctionRecommendationsCommand";
19
20
  export * from "./GetLicenseRecommendationsCommand";
21
+ export * from "./GetRDSDatabaseRecommendationProjectedMetricsCommand";
22
+ export * from "./GetRDSDatabaseRecommendationsCommand";
20
23
  export * from "./GetRecommendationPreferencesCommand";
21
24
  export * from "./GetRecommendationSummariesCommand";
22
25
  export * from "./PutRecommendationPreferencesCommand";
@@ -138,6 +138,7 @@ export const ResourceType = {
138
138
  LAMBDA_FUNCTION: "LambdaFunction",
139
139
  LICENSE: "License",
140
140
  NOT_APPLICABLE: "NotApplicable",
141
+ RDS_DB_INSTANCE: "RdsDBInstance",
141
142
  };
142
143
  export const ScopeName = {
143
144
  ACCOUNT_ID: "AccountId",
@@ -539,6 +540,74 @@ export const LicenseRecommendationFilterName = {
539
540
  LICENSE_FINDING_REASON_CODE: "FindingReasonCode",
540
541
  LICENSE_NAME: "LicenseName",
541
542
  };
543
+ export const ExportableRDSDBField = {
544
+ ACCOUNT_ID: "AccountId",
545
+ CURRENT_DB_INSTANCE_CLASS: "CurrentDBInstanceClass",
546
+ CURRENT_INSTANCE_ON_DEMAND_HOURLY_PRICE: "CurrentInstanceOnDemandHourlyPrice",
547
+ CURRENT_STORAGE_CONFIGURATION_ALLOCATED_STORAGE: "CurrentStorageConfigurationAllocatedStorage",
548
+ CURRENT_STORAGE_CONFIGURATION_IOPS: "CurrentStorageConfigurationIOPS",
549
+ CURRENT_STORAGE_CONFIGURATION_MAX_ALLOCATED_STORAGE: "CurrentStorageConfigurationMaxAllocatedStorage",
550
+ CURRENT_STORAGE_CONFIGURATION_STORAGE_THROUGHPUT: "CurrentStorageConfigurationStorageThroughput",
551
+ CURRENT_STORAGE_CONFIGURATION_STORAGE_TYPE: "CurrentStorageConfigurationStorageType",
552
+ CURRENT_STORAGE_ON_DEMAND_MONTHLY_PRICE: "CurrentStorageOnDemandMonthlyPrice",
553
+ EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures",
554
+ EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
555
+ EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod",
556
+ EFFECTIVE_RECOMMENDATION_PREFERENCES_SAVINGS_ESTIMATION_MODE: "EffectiveRecommendationPreferencesSavingsEstimationMode",
557
+ ENGINE: "Engine",
558
+ ENGINE_VERSION: "EngineVersion",
559
+ IDLE: "Idle",
560
+ INSTANCE_FINDING: "InstanceFinding",
561
+ INSTANCE_FINDING_REASON_CODES: "InstanceFindingReasonCodes",
562
+ INSTANCE_RECOMMENDATION_OPTIONS_DB_INSTANCE_CLASS: "InstanceRecommendationOptionsDBInstanceClass",
563
+ INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency",
564
+ INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
565
+ INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "InstanceRecommendationOptionsEstimatedMonthlySavingsValue",
566
+ INSTANCE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
567
+ INSTANCE_RECOMMENDATION_OPTIONS_INSTANCE_ON_DEMAND_HOURLY_PRICE: "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice",
568
+ INSTANCE_RECOMMENDATION_OPTIONS_PERFORMANCE_RISK: "InstanceRecommendationOptionsPerformanceRisk",
569
+ INSTANCE_RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM: "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
570
+ INSTANCE_RECOMMENDATION_OPTIONS_RANK: "InstanceRecommendationOptionsRank",
571
+ INSTANCE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
572
+ INSTANCE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "InstanceRecommendationOptionsSavingsOpportunityPercentage",
573
+ LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp",
574
+ LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays",
575
+ MULTI_AZ_DB_INSTANCE: "MultiAZDBInstance",
576
+ RESOURCE_ARN: "ResourceArn",
577
+ STORAGE_FINDING: "StorageFinding",
578
+ STORAGE_FINDING_REASON_CODES: "StorageFindingReasonCodes",
579
+ STORAGE_RECOMMENDATION_OPTIONS_ALLOCATED_STORAGE: "StorageRecommendationOptionsAllocatedStorage",
580
+ STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency",
581
+ STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts",
582
+ STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE: "StorageRecommendationOptionsEstimatedMonthlySavingsValue",
583
+ STORAGE_RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE_AFTER_DISCOUNTS: "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
584
+ STORAGE_RECOMMENDATION_OPTIONS_IOPS: "StorageRecommendationOptionsIOPS",
585
+ STORAGE_RECOMMENDATION_OPTIONS_MAX_ALLOCATED_STORAGE: "StorageRecommendationOptionsMaxAllocatedStorage",
586
+ STORAGE_RECOMMENDATION_OPTIONS_ON_DEMAND_MONTHLY_PRICE: "StorageRecommendationOptionsOnDemandMonthlyPrice",
587
+ STORAGE_RECOMMENDATION_OPTIONS_RANK: "StorageRecommendationOptionsRank",
588
+ STORAGE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_AFTER_DISCOUNTS_PERCENTAGE: "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage",
589
+ STORAGE_RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE: "StorageRecommendationOptionsSavingsOpportunityPercentage",
590
+ STORAGE_RECOMMENDATION_OPTIONS_STORAGE_THROUGHPUT: "StorageRecommendationOptionsStorageThroughput",
591
+ STORAGE_RECOMMENDATION_OPTIONS_STORAGE_TYPE: "StorageRecommendationOptionsStorageType",
592
+ TAGS: "Tags",
593
+ UTILIZATION_METRICS_CPU_MAXIMUM: "UtilizationMetricsCpuMaximum",
594
+ UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM: "UtilizationMetricsDatabaseConnectionsMaximum",
595
+ UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeReadIOPSMaximum",
596
+ UTILIZATION_METRICS_EBS_VOLUME_READ_THROUGHPUT_MAXIMUM: "UtilizationMetricsEBSVolumeReadThroughputMaximum",
597
+ UTILIZATION_METRICS_EBS_VOLUME_STORAGE_SPACE_UTILIZATION_MAXIMUM: "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum",
598
+ UTILIZATION_METRICS_EBS_VOLUME_WRITE_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeWriteIOPSMaximum",
599
+ UTILIZATION_METRICS_EBS_VOLUME_WRITE_THROUGHPUT_MAXIMUM: "UtilizationMetricsEBSVolumeWriteThroughputMaximum",
600
+ UTILIZATION_METRICS_MEMORY_MAXIMUM: "UtilizationMetricsMemoryMaximum",
601
+ UTILIZATION_METRICS_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkReceiveThroughputMaximum",
602
+ UTILIZATION_METRICS_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkTransmitThroughputMaximum",
603
+ };
604
+ export const RDSDBRecommendationFilterName = {
605
+ IDLE: "Idle",
606
+ INSTANCE_FINDING: "InstanceFinding",
607
+ INSTANCE_FINDING_REASON_CODE: "InstanceFindingReasonCode",
608
+ STORAGE_FINDING: "StorageFinding",
609
+ STORAGE_FINDING_REASON_CODE: "StorageFindingReasonCode",
610
+ };
542
611
  export const EBSSavingsEstimationModeSource = {
543
612
  COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing",
544
613
  COST_OPTIMIZATION_HUB: "CostOptimizationHub",
@@ -615,6 +684,8 @@ export const RecommendationSourceType = {
615
684
  ECS_SERVICE: "EcsService",
616
685
  LAMBDA_FUNCTION: "LambdaFunction",
617
686
  LICENSE: "License",
687
+ RDS_DB_INSTANCE: "RdsDBInstance",
688
+ RDS_DB_INSTANCE_STORAGE: "RdsDBInstanceStorage",
618
689
  };
619
690
  export const ECSServiceMetricName = {
620
691
  CPU: "Cpu",
@@ -706,6 +777,60 @@ export const LicenseFindingReasonCode = {
706
777
  LICENSE_OVER_PROVISIONED: "LicenseOverprovisioned",
707
778
  OPTIMIZED: "Optimized",
708
779
  };
780
+ export const RDSDBMetricName = {
781
+ CPU: "CPU",
782
+ DATABASE_CONNECTIONS: "DatabaseConnections",
783
+ EBS_VOLUME_READ_IOPS: "EBSVolumeReadIOPS",
784
+ EBS_VOLUME_READ_THROUGHPUT: "EBSVolumeReadThroughput",
785
+ EBS_VOLUME_STORAGE_SPACE_UTILIZATION: "EBSVolumeStorageSpaceUtilization",
786
+ EBS_VOLUME_WRITE_IOPS: "EBSVolumeWriteIOPS",
787
+ EBS_VOLUME_WRITE_THROUGHPUT: "EBSVolumeWriteThroughput",
788
+ MEMORY: "Memory",
789
+ NETWORK_RECEIVE_THROUGHPUT: "NetworkReceiveThroughput",
790
+ NETWORK_TRANSMIT_THROUGHPUT: "NetworkTransmitThroughput",
791
+ };
792
+ export const RDSSavingsEstimationModeSource = {
793
+ COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing",
794
+ COST_OPTIMIZATION_HUB: "CostOptimizationHub",
795
+ PUBLIC_PRICING: "PublicPricing",
796
+ };
797
+ export const Idle = {
798
+ FALSE: "False",
799
+ TRUE: "True",
800
+ };
801
+ export const RDSInstanceFinding = {
802
+ OPTIMIZED: "Optimized",
803
+ OVER_PROVISIONED: "Overprovisioned",
804
+ UNDER_PROVISIONED: "Underprovisioned",
805
+ };
806
+ export const RDSInstanceFindingReasonCode = {
807
+ CPU_OVER_PROVISIONED: "CPUOverprovisioned",
808
+ CPU_UNDER_PROVISIONED: "CPUUnderprovisioned",
809
+ EBS_IOPS_OVER_PROVISIONED: "EBSIOPSOverprovisioned",
810
+ EBS_THROUGHPUT_OVER_PROVISIONED: "EBSThroughputOverprovisioned",
811
+ EBS_THROUGHPUT_UNDER_PROVISIONED: "EBSThroughputUnderprovisioned",
812
+ NETWORK_BANDWIDTH_OVER_PROVISIONED: "NetworkBandwidthOverprovisioned",
813
+ NETWORK_BANDWIDTH_UNDER_PROVISIONED: "NetworkBandwidthUnderprovisioned",
814
+ NEW_ENGINE_VERSION_AVAILABLE: "NewEngineVersionAvailable",
815
+ NEW_GENERATION_DB_INSTANCE_CLASS_AVAILABLE: "NewGenerationDBInstanceClassAvailable",
816
+ };
817
+ export const RDSDBMetricStatistic = {
818
+ AVERAGE: "Average",
819
+ MAXIMUM: "Maximum",
820
+ MINIMUM: "Minimum",
821
+ };
822
+ export const RDSStorageFinding = {
823
+ OPTIMIZED: "Optimized",
824
+ OVER_PROVISIONED: "Overprovisioned",
825
+ UNDER_PROVISIONED: "Underprovisioned",
826
+ };
827
+ export const RDSStorageFindingReasonCode = {
828
+ EBS_VOLUME_ALLOCATED_STORAGE_UNDER_PROVISIONED: "EBSVolumeAllocatedStorageUnderprovisioned",
829
+ EBS_VOLUME_IOPS_OVER_PROVISIONED: "EBSVolumeIOPSOverprovisioned",
830
+ EBS_VOLUME_THROUGHPUT_OVER_PROVISIONED: "EBSVolumeThroughputOverprovisioned",
831
+ EBS_VOLUME_THROUGHPUT_UNDER_PROVISIONED: "EBSVolumeThroughputUnderprovisioned",
832
+ NEW_GENERATION_STORAGE_TYPE_AVAILABLE: "NewGenerationStorageTypeAvailable",
833
+ };
709
834
  export const SavingsEstimationMode = {
710
835
  AFTER_DISCOUNTS: "AfterDiscounts",
711
836
  BEFORE_DISCOUNTS: "BeforeDiscounts",
@@ -51,6 +51,12 @@ export const se_ExportLicenseRecommendationsCommand = async (input, context) =>
51
51
  body = JSON.stringify(_json(input));
52
52
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
53
53
  };
54
+ export const se_ExportRDSDatabaseRecommendationsCommand = async (input, context) => {
55
+ const headers = sharedHeaders("ExportRDSDatabaseRecommendations");
56
+ let body;
57
+ body = JSON.stringify(_json(input));
58
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
+ };
54
60
  export const se_GetAutoScalingGroupRecommendationsCommand = async (input, context) => {
55
61
  const headers = sharedHeaders("GetAutoScalingGroupRecommendations");
56
62
  let body;
@@ -117,6 +123,18 @@ export const se_GetLicenseRecommendationsCommand = async (input, context) => {
117
123
  body = JSON.stringify(_json(input));
118
124
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
125
  };
126
+ export const se_GetRDSDatabaseRecommendationProjectedMetricsCommand = async (input, context) => {
127
+ const headers = sharedHeaders("GetRDSDatabaseRecommendationProjectedMetrics");
128
+ let body;
129
+ body = JSON.stringify(se_GetRDSDatabaseRecommendationProjectedMetricsRequest(input, context));
130
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
131
+ };
132
+ export const se_GetRDSDatabaseRecommendationsCommand = async (input, context) => {
133
+ const headers = sharedHeaders("GetRDSDatabaseRecommendations");
134
+ let body;
135
+ body = JSON.stringify(_json(input));
136
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
137
+ };
120
138
  export const se_GetRecommendationPreferencesCommand = async (input, context) => {
121
139
  const headers = sharedHeaders("GetRecommendationPreferences");
122
140
  let body;
@@ -245,6 +263,19 @@ export const de_ExportLicenseRecommendationsCommand = async (output, context) =>
245
263
  };
246
264
  return response;
247
265
  };
266
+ export const de_ExportRDSDatabaseRecommendationsCommand = async (output, context) => {
267
+ if (output.statusCode >= 300) {
268
+ return de_CommandError(output, context);
269
+ }
270
+ const data = await parseBody(output.body, context);
271
+ let contents = {};
272
+ contents = _json(data);
273
+ const response = {
274
+ $metadata: deserializeMetadata(output),
275
+ ...contents,
276
+ };
277
+ return response;
278
+ };
248
279
  export const de_GetAutoScalingGroupRecommendationsCommand = async (output, context) => {
249
280
  if (output.statusCode >= 300) {
250
281
  return de_CommandError(output, context);
@@ -388,6 +419,32 @@ export const de_GetLicenseRecommendationsCommand = async (output, context) => {
388
419
  };
389
420
  return response;
390
421
  };
422
+ export const de_GetRDSDatabaseRecommendationProjectedMetricsCommand = async (output, context) => {
423
+ if (output.statusCode >= 300) {
424
+ return de_CommandError(output, context);
425
+ }
426
+ const data = await parseBody(output.body, context);
427
+ let contents = {};
428
+ contents = de_GetRDSDatabaseRecommendationProjectedMetricsResponse(data, context);
429
+ const response = {
430
+ $metadata: deserializeMetadata(output),
431
+ ...contents,
432
+ };
433
+ return response;
434
+ };
435
+ export const de_GetRDSDatabaseRecommendationsCommand = async (output, context) => {
436
+ if (output.statusCode >= 300) {
437
+ return de_CommandError(output, context);
438
+ }
439
+ const data = await parseBody(output.body, context);
440
+ let contents = {};
441
+ contents = de_GetRDSDatabaseRecommendationsResponse(data, context);
442
+ const response = {
443
+ $metadata: deserializeMetadata(output),
444
+ ...contents,
445
+ };
446
+ return response;
447
+ };
391
448
  export const de_GetRecommendationPreferencesCommand = async (output, context) => {
392
449
  if (output.statusCode >= 300) {
393
450
  return de_CommandError(output, context);
@@ -583,6 +640,16 @@ const se_GetECSServiceRecommendationProjectedMetricsRequest = (input, context) =
583
640
  stat: [],
584
641
  });
585
642
  };
643
+ const se_GetRDSDatabaseRecommendationProjectedMetricsRequest = (input, context) => {
644
+ return take(input, {
645
+ endTime: (_) => _.getTime() / 1000,
646
+ period: [],
647
+ recommendationPreferences: _json,
648
+ resourceArn: [],
649
+ startTime: (_) => _.getTime() / 1000,
650
+ stat: [],
651
+ });
652
+ };
586
653
  const de_AccountEnrollmentStatus = (output, context) => {
587
654
  return take(output, {
588
655
  accountId: __expectString,
@@ -878,6 +945,18 @@ const de_GetLicenseRecommendationsResponse = (output, context) => {
878
945
  nextToken: __expectString,
879
946
  });
880
947
  };
948
+ const de_GetRDSDatabaseRecommendationProjectedMetricsResponse = (output, context) => {
949
+ return take(output, {
950
+ recommendedOptionProjectedMetrics: (_) => de_RDSDatabaseRecommendedOptionProjectedMetrics(_, context),
951
+ });
952
+ };
953
+ const de_GetRDSDatabaseRecommendationsResponse = (output, context) => {
954
+ return take(output, {
955
+ errors: _json,
956
+ nextToken: __expectString,
957
+ rdsDBRecommendations: (_) => de_RDSDBRecommendations(_, context),
958
+ });
959
+ };
881
960
  const de_GetRecommendationSummariesResponse = (output, context) => {
882
961
  return take(output, {
883
962
  nextToken: __expectString,
@@ -1108,6 +1187,147 @@ const de_ProjectedUtilizationMetrics = (output, context) => {
1108
1187
  });
1109
1188
  return retVal;
1110
1189
  };
1190
+ const de_RDSDatabaseProjectedMetric = (output, context) => {
1191
+ return take(output, {
1192
+ name: __expectString,
1193
+ timestamps: (_) => de_Timestamps(_, context),
1194
+ values: (_) => de_MetricValues(_, context),
1195
+ });
1196
+ };
1197
+ const de_RDSDatabaseProjectedMetrics = (output, context) => {
1198
+ const retVal = (output || [])
1199
+ .filter((e) => e != null)
1200
+ .map((entry) => {
1201
+ return de_RDSDatabaseProjectedMetric(entry, context);
1202
+ });
1203
+ return retVal;
1204
+ };
1205
+ const de_RDSDatabaseRecommendedOptionProjectedMetric = (output, context) => {
1206
+ return take(output, {
1207
+ projectedMetrics: (_) => de_RDSDatabaseProjectedMetrics(_, context),
1208
+ rank: __expectInt32,
1209
+ recommendedDBInstanceClass: __expectString,
1210
+ });
1211
+ };
1212
+ const de_RDSDatabaseRecommendedOptionProjectedMetrics = (output, context) => {
1213
+ const retVal = (output || [])
1214
+ .filter((e) => e != null)
1215
+ .map((entry) => {
1216
+ return de_RDSDatabaseRecommendedOptionProjectedMetric(entry, context);
1217
+ });
1218
+ return retVal;
1219
+ };
1220
+ const de_RDSDBInstanceRecommendationOption = (output, context) => {
1221
+ return take(output, {
1222
+ dbInstanceClass: __expectString,
1223
+ performanceRisk: __limitedParseDouble,
1224
+ projectedUtilizationMetrics: (_) => de_RDSDBProjectedUtilizationMetrics(_, context),
1225
+ rank: __expectInt32,
1226
+ savingsOpportunity: (_) => de_SavingsOpportunity(_, context),
1227
+ savingsOpportunityAfterDiscounts: (_) => de_RDSInstanceSavingsOpportunityAfterDiscounts(_, context),
1228
+ });
1229
+ };
1230
+ const de_RDSDBInstanceRecommendationOptions = (output, context) => {
1231
+ const retVal = (output || [])
1232
+ .filter((e) => e != null)
1233
+ .map((entry) => {
1234
+ return de_RDSDBInstanceRecommendationOption(entry, context);
1235
+ });
1236
+ return retVal;
1237
+ };
1238
+ const de_RDSDBProjectedUtilizationMetrics = (output, context) => {
1239
+ const retVal = (output || [])
1240
+ .filter((e) => e != null)
1241
+ .map((entry) => {
1242
+ return de_RDSDBUtilizationMetric(entry, context);
1243
+ });
1244
+ return retVal;
1245
+ };
1246
+ const de_RDSDBRecommendation = (output, context) => {
1247
+ return take(output, {
1248
+ accountId: __expectString,
1249
+ currentDBInstanceClass: __expectString,
1250
+ currentStorageConfiguration: _json,
1251
+ effectiveRecommendationPreferences: _json,
1252
+ engine: __expectString,
1253
+ engineVersion: __expectString,
1254
+ idle: __expectString,
1255
+ instanceFinding: __expectString,
1256
+ instanceFindingReasonCodes: _json,
1257
+ instanceRecommendationOptions: (_) => de_RDSDBInstanceRecommendationOptions(_, context),
1258
+ lastRefreshTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1259
+ lookbackPeriodInDays: __limitedParseDouble,
1260
+ resourceArn: __expectString,
1261
+ storageFinding: __expectString,
1262
+ storageFindingReasonCodes: _json,
1263
+ storageRecommendationOptions: (_) => de_RDSDBStorageRecommendationOptions(_, context),
1264
+ tags: _json,
1265
+ utilizationMetrics: (_) => de_RDSDBUtilizationMetrics(_, context),
1266
+ });
1267
+ };
1268
+ const de_RDSDBRecommendations = (output, context) => {
1269
+ const retVal = (output || [])
1270
+ .filter((e) => e != null)
1271
+ .map((entry) => {
1272
+ return de_RDSDBRecommendation(entry, context);
1273
+ });
1274
+ return retVal;
1275
+ };
1276
+ const de_RDSDBStorageRecommendationOption = (output, context) => {
1277
+ return take(output, {
1278
+ rank: __expectInt32,
1279
+ savingsOpportunity: (_) => de_SavingsOpportunity(_, context),
1280
+ savingsOpportunityAfterDiscounts: (_) => de_RDSStorageSavingsOpportunityAfterDiscounts(_, context),
1281
+ storageConfiguration: _json,
1282
+ });
1283
+ };
1284
+ const de_RDSDBStorageRecommendationOptions = (output, context) => {
1285
+ const retVal = (output || [])
1286
+ .filter((e) => e != null)
1287
+ .map((entry) => {
1288
+ return de_RDSDBStorageRecommendationOption(entry, context);
1289
+ });
1290
+ return retVal;
1291
+ };
1292
+ const de_RDSDBUtilizationMetric = (output, context) => {
1293
+ return take(output, {
1294
+ name: __expectString,
1295
+ statistic: __expectString,
1296
+ value: __limitedParseDouble,
1297
+ });
1298
+ };
1299
+ const de_RDSDBUtilizationMetrics = (output, context) => {
1300
+ const retVal = (output || [])
1301
+ .filter((e) => e != null)
1302
+ .map((entry) => {
1303
+ return de_RDSDBUtilizationMetric(entry, context);
1304
+ });
1305
+ return retVal;
1306
+ };
1307
+ const de_RDSInstanceEstimatedMonthlySavings = (output, context) => {
1308
+ return take(output, {
1309
+ currency: __expectString,
1310
+ value: __limitedParseDouble,
1311
+ });
1312
+ };
1313
+ const de_RDSInstanceSavingsOpportunityAfterDiscounts = (output, context) => {
1314
+ return take(output, {
1315
+ estimatedMonthlySavings: (_) => de_RDSInstanceEstimatedMonthlySavings(_, context),
1316
+ savingsOpportunityPercentage: __limitedParseDouble,
1317
+ });
1318
+ };
1319
+ const de_RDSStorageEstimatedMonthlySavings = (output, context) => {
1320
+ return take(output, {
1321
+ currency: __expectString,
1322
+ value: __limitedParseDouble,
1323
+ });
1324
+ };
1325
+ const de_RDSStorageSavingsOpportunityAfterDiscounts = (output, context) => {
1326
+ return take(output, {
1327
+ estimatedMonthlySavings: (_) => de_RDSStorageEstimatedMonthlySavings(_, context),
1328
+ savingsOpportunityPercentage: __limitedParseDouble,
1329
+ });
1330
+ };
1111
1331
  const de_ReasonCodeSummaries = (output, context) => {
1112
1332
  const retVal = (output || [])
1113
1333
  .filter((e) => e != null)
@@ -7,6 +7,7 @@ import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommen
7
7
  import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "./commands/ExportECSServiceRecommendationsCommand";
8
8
  import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "./commands/ExportLambdaFunctionRecommendationsCommand";
9
9
  import { ExportLicenseRecommendationsCommandInput, ExportLicenseRecommendationsCommandOutput } from "./commands/ExportLicenseRecommendationsCommand";
10
+ import { ExportRDSDatabaseRecommendationsCommandInput, ExportRDSDatabaseRecommendationsCommandOutput } from "./commands/ExportRDSDatabaseRecommendationsCommand";
10
11
  import { GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupRecommendationsCommandOutput } from "./commands/GetAutoScalingGroupRecommendationsCommand";
11
12
  import { GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput } from "./commands/GetEBSVolumeRecommendationsCommand";
12
13
  import { GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput } from "./commands/GetEC2InstanceRecommendationsCommand";
@@ -18,6 +19,8 @@ import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } fro
18
19
  import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
19
20
  import { GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput } from "./commands/GetLambdaFunctionRecommendationsCommand";
20
21
  import { GetLicenseRecommendationsCommandInput, GetLicenseRecommendationsCommandOutput } from "./commands/GetLicenseRecommendationsCommand";
22
+ import { GetRDSDatabaseRecommendationProjectedMetricsCommandInput, GetRDSDatabaseRecommendationProjectedMetricsCommandOutput } from "./commands/GetRDSDatabaseRecommendationProjectedMetricsCommand";
23
+ import { GetRDSDatabaseRecommendationsCommandInput, GetRDSDatabaseRecommendationsCommandOutput } from "./commands/GetRDSDatabaseRecommendationsCommand";
21
24
  import { GetRecommendationPreferencesCommandInput, GetRecommendationPreferencesCommandOutput } from "./commands/GetRecommendationPreferencesCommand";
22
25
  import { GetRecommendationSummariesCommandInput, GetRecommendationSummariesCommandOutput } from "./commands/GetRecommendationSummariesCommand";
23
26
  import { PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput } from "./commands/PutRecommendationPreferencesCommand";
@@ -73,6 +76,12 @@ export interface ComputeOptimizer {
73
76
  exportLicenseRecommendations(args: ExportLicenseRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportLicenseRecommendationsCommandOutput>;
74
77
  exportLicenseRecommendations(args: ExportLicenseRecommendationsCommandInput, cb: (err: any, data?: ExportLicenseRecommendationsCommandOutput) => void): void;
75
78
  exportLicenseRecommendations(args: ExportLicenseRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportLicenseRecommendationsCommandOutput) => void): void;
79
+ /**
80
+ * @see {@link ExportRDSDatabaseRecommendationsCommand}
81
+ */
82
+ exportRDSDatabaseRecommendations(args: ExportRDSDatabaseRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportRDSDatabaseRecommendationsCommandOutput>;
83
+ exportRDSDatabaseRecommendations(args: ExportRDSDatabaseRecommendationsCommandInput, cb: (err: any, data?: ExportRDSDatabaseRecommendationsCommandOutput) => void): void;
84
+ exportRDSDatabaseRecommendations(args: ExportRDSDatabaseRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportRDSDatabaseRecommendationsCommandOutput) => void): void;
76
85
  /**
77
86
  * @see {@link GetAutoScalingGroupRecommendationsCommand}
78
87
  */
@@ -147,6 +156,19 @@ export interface ComputeOptimizer {
147
156
  getLicenseRecommendations(args: GetLicenseRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetLicenseRecommendationsCommandOutput>;
148
157
  getLicenseRecommendations(args: GetLicenseRecommendationsCommandInput, cb: (err: any, data?: GetLicenseRecommendationsCommandOutput) => void): void;
149
158
  getLicenseRecommendations(args: GetLicenseRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLicenseRecommendationsCommandOutput) => void): void;
159
+ /**
160
+ * @see {@link GetRDSDatabaseRecommendationProjectedMetricsCommand}
161
+ */
162
+ getRDSDatabaseRecommendationProjectedMetrics(args: GetRDSDatabaseRecommendationProjectedMetricsCommandInput, options?: __HttpHandlerOptions): Promise<GetRDSDatabaseRecommendationProjectedMetricsCommandOutput>;
163
+ getRDSDatabaseRecommendationProjectedMetrics(args: GetRDSDatabaseRecommendationProjectedMetricsCommandInput, cb: (err: any, data?: GetRDSDatabaseRecommendationProjectedMetricsCommandOutput) => void): void;
164
+ getRDSDatabaseRecommendationProjectedMetrics(args: GetRDSDatabaseRecommendationProjectedMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRDSDatabaseRecommendationProjectedMetricsCommandOutput) => void): void;
165
+ /**
166
+ * @see {@link GetRDSDatabaseRecommendationsCommand}
167
+ */
168
+ getRDSDatabaseRecommendations(): Promise<GetRDSDatabaseRecommendationsCommandOutput>;
169
+ getRDSDatabaseRecommendations(args: GetRDSDatabaseRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRDSDatabaseRecommendationsCommandOutput>;
170
+ getRDSDatabaseRecommendations(args: GetRDSDatabaseRecommendationsCommandInput, cb: (err: any, data?: GetRDSDatabaseRecommendationsCommandOutput) => void): void;
171
+ getRDSDatabaseRecommendations(args: GetRDSDatabaseRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRDSDatabaseRecommendationsCommandOutput) => void): void;
150
172
  /**
151
173
  * @see {@link GetRecommendationPreferencesCommand}
152
174
  */
@@ -15,6 +15,7 @@ import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommen
15
15
  import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "./commands/ExportECSServiceRecommendationsCommand";
16
16
  import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "./commands/ExportLambdaFunctionRecommendationsCommand";
17
17
  import { ExportLicenseRecommendationsCommandInput, ExportLicenseRecommendationsCommandOutput } from "./commands/ExportLicenseRecommendationsCommand";
18
+ import { ExportRDSDatabaseRecommendationsCommandInput, ExportRDSDatabaseRecommendationsCommandOutput } from "./commands/ExportRDSDatabaseRecommendationsCommand";
18
19
  import { GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupRecommendationsCommandOutput } from "./commands/GetAutoScalingGroupRecommendationsCommand";
19
20
  import { GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput } from "./commands/GetEBSVolumeRecommendationsCommand";
20
21
  import { GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput } from "./commands/GetEC2InstanceRecommendationsCommand";
@@ -26,6 +27,8 @@ import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } fro
26
27
  import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
27
28
  import { GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput } from "./commands/GetLambdaFunctionRecommendationsCommand";
28
29
  import { GetLicenseRecommendationsCommandInput, GetLicenseRecommendationsCommandOutput } from "./commands/GetLicenseRecommendationsCommand";
30
+ import { GetRDSDatabaseRecommendationProjectedMetricsCommandInput, GetRDSDatabaseRecommendationProjectedMetricsCommandOutput } from "./commands/GetRDSDatabaseRecommendationProjectedMetricsCommand";
31
+ import { GetRDSDatabaseRecommendationsCommandInput, GetRDSDatabaseRecommendationsCommandOutput } from "./commands/GetRDSDatabaseRecommendationsCommand";
29
32
  import { GetRecommendationPreferencesCommandInput, GetRecommendationPreferencesCommandOutput } from "./commands/GetRecommendationPreferencesCommand";
30
33
  import { GetRecommendationSummariesCommandInput, GetRecommendationSummariesCommandOutput } from "./commands/GetRecommendationSummariesCommand";
31
34
  import { PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput } from "./commands/PutRecommendationPreferencesCommand";
@@ -36,11 +39,11 @@ export { __Client };
36
39
  /**
37
40
  * @public
38
41
  */
39
- export type ServiceInputTypes = DeleteRecommendationPreferencesCommandInput | DescribeRecommendationExportJobsCommandInput | ExportAutoScalingGroupRecommendationsCommandInput | ExportEBSVolumeRecommendationsCommandInput | ExportEC2InstanceRecommendationsCommandInput | ExportECSServiceRecommendationsCommandInput | ExportLambdaFunctionRecommendationsCommandInput | ExportLicenseRecommendationsCommandInput | GetAutoScalingGroupRecommendationsCommandInput | GetEBSVolumeRecommendationsCommandInput | GetEC2InstanceRecommendationsCommandInput | GetEC2RecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationsCommandInput | GetEffectiveRecommendationPreferencesCommandInput | GetEnrollmentStatusCommandInput | GetEnrollmentStatusesForOrganizationCommandInput | GetLambdaFunctionRecommendationsCommandInput | GetLicenseRecommendationsCommandInput | GetRecommendationPreferencesCommandInput | GetRecommendationSummariesCommandInput | PutRecommendationPreferencesCommandInput | UpdateEnrollmentStatusCommandInput;
42
+ export type ServiceInputTypes = DeleteRecommendationPreferencesCommandInput | DescribeRecommendationExportJobsCommandInput | ExportAutoScalingGroupRecommendationsCommandInput | ExportEBSVolumeRecommendationsCommandInput | ExportEC2InstanceRecommendationsCommandInput | ExportECSServiceRecommendationsCommandInput | ExportLambdaFunctionRecommendationsCommandInput | ExportLicenseRecommendationsCommandInput | ExportRDSDatabaseRecommendationsCommandInput | GetAutoScalingGroupRecommendationsCommandInput | GetEBSVolumeRecommendationsCommandInput | GetEC2InstanceRecommendationsCommandInput | GetEC2RecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationsCommandInput | GetEffectiveRecommendationPreferencesCommandInput | GetEnrollmentStatusCommandInput | GetEnrollmentStatusesForOrganizationCommandInput | GetLambdaFunctionRecommendationsCommandInput | GetLicenseRecommendationsCommandInput | GetRDSDatabaseRecommendationProjectedMetricsCommandInput | GetRDSDatabaseRecommendationsCommandInput | GetRecommendationPreferencesCommandInput | GetRecommendationSummariesCommandInput | PutRecommendationPreferencesCommandInput | UpdateEnrollmentStatusCommandInput;
40
43
  /**
41
44
  * @public
42
45
  */
43
- export type ServiceOutputTypes = DeleteRecommendationPreferencesCommandOutput | DescribeRecommendationExportJobsCommandOutput | ExportAutoScalingGroupRecommendationsCommandOutput | ExportEBSVolumeRecommendationsCommandOutput | ExportEC2InstanceRecommendationsCommandOutput | ExportECSServiceRecommendationsCommandOutput | ExportLambdaFunctionRecommendationsCommandOutput | ExportLicenseRecommendationsCommandOutput | GetAutoScalingGroupRecommendationsCommandOutput | GetEBSVolumeRecommendationsCommandOutput | GetEC2InstanceRecommendationsCommandOutput | GetEC2RecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationsCommandOutput | GetEffectiveRecommendationPreferencesCommandOutput | GetEnrollmentStatusCommandOutput | GetEnrollmentStatusesForOrganizationCommandOutput | GetLambdaFunctionRecommendationsCommandOutput | GetLicenseRecommendationsCommandOutput | GetRecommendationPreferencesCommandOutput | GetRecommendationSummariesCommandOutput | PutRecommendationPreferencesCommandOutput | UpdateEnrollmentStatusCommandOutput;
46
+ export type ServiceOutputTypes = DeleteRecommendationPreferencesCommandOutput | DescribeRecommendationExportJobsCommandOutput | ExportAutoScalingGroupRecommendationsCommandOutput | ExportEBSVolumeRecommendationsCommandOutput | ExportEC2InstanceRecommendationsCommandOutput | ExportECSServiceRecommendationsCommandOutput | ExportLambdaFunctionRecommendationsCommandOutput | ExportLicenseRecommendationsCommandOutput | ExportRDSDatabaseRecommendationsCommandOutput | GetAutoScalingGroupRecommendationsCommandOutput | GetEBSVolumeRecommendationsCommandOutput | GetEC2InstanceRecommendationsCommandOutput | GetEC2RecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationsCommandOutput | GetEffectiveRecommendationPreferencesCommandOutput | GetEnrollmentStatusCommandOutput | GetEnrollmentStatusesForOrganizationCommandOutput | GetLambdaFunctionRecommendationsCommandOutput | GetLicenseRecommendationsCommandOutput | GetRDSDatabaseRecommendationProjectedMetricsCommandOutput | GetRDSDatabaseRecommendationsCommandOutput | GetRecommendationPreferencesCommandOutput | GetRecommendationSummariesCommandOutput | PutRecommendationPreferencesCommandOutput | UpdateEnrollmentStatusCommandOutput;
44
47
  /**
45
48
  * @public
46
49
  */
@@ -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", // required
41
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance", // 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",
68
+ * // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance",
69
69
  * // status: "Queued" || "InProgress" || "Complete" || "Failed",
70
70
  * // creationTimestamp: new Date("TIMESTAMP"),
71
71
  * // lastUpdatedTimestamp: new Date("TIMESTAMP"),
@@ -52,7 +52,7 @@ declare const ExportAutoScalingGroupRecommendationsCommand_base: {
52
52
  * },
53
53
  * ],
54
54
  * fieldsToExport: [ // ExportableAutoScalingGroupFields
55
- * "AccountId" || "AutoScalingGroupArn" || "AutoScalingGroupName" || "Finding" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEbsReadOpsPerSecondMaximum" || "UtilizationMetricsEbsWriteOpsPerSecondMaximum" || "UtilizationMetricsEbsReadBytesPerSecondMaximum" || "UtilizationMetricsEbsWriteBytesPerSecondMaximum" || "UtilizationMetricsDiskReadOpsPerSecondMaximum" || "UtilizationMetricsDiskWriteOpsPerSecondMaximum" || "UtilizationMetricsDiskReadBytesPerSecondMaximum" || "UtilizationMetricsDiskWriteBytesPerSecondMaximum" || "UtilizationMetricsNetworkInBytesPerSecondMaximum" || "UtilizationMetricsNetworkOutBytesPerSecondMaximum" || "UtilizationMetricsNetworkPacketsInPerSecondMaximum" || "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" || "LookbackPeriodInDays" || "CurrentConfigurationInstanceType" || "CurrentConfigurationDesiredCapacity" || "CurrentConfigurationMinSize" || "CurrentConfigurationMaxSize" || "CurrentOnDemandPrice" || "CurrentStandardOneYearNoUpfrontReservedPrice" || "CurrentStandardThreeYearNoUpfrontReservedPrice" || "CurrentVCpus" || "CurrentMemory" || "CurrentStorage" || "CurrentNetwork" || "RecommendationOptionsConfigurationInstanceType" || "RecommendationOptionsConfigurationDesiredCapacity" || "RecommendationOptionsConfigurationMinSize" || "RecommendationOptionsConfigurationMaxSize" || "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" || "RecommendationOptionsPerformanceRisk" || "RecommendationOptionsOnDemandPrice" || "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" || "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" || "RecommendationOptionsVcpus" || "RecommendationOptionsMemory" || "RecommendationOptionsStorage" || "RecommendationOptionsNetwork" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesInferredWorkloadTypes" || "InferredWorkloadTypes" || "RecommendationOptionsMigrationEffort" || "CurrentInstanceGpuInfo" || "RecommendationOptionsInstanceGpuInfo" || "UtilizationMetricsGpuPercentageMaximum" || "UtilizationMetricsGpuMemoryPercentageMaximum" || "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" || "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "EffectiveRecommendationPreferencesPreferredResources" || "EffectiveRecommendationPreferencesLookBackPeriod",
55
+ * "AccountId" || "AutoScalingGroupArn" || "AutoScalingGroupName" || "Finding" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEbsReadOpsPerSecondMaximum" || "UtilizationMetricsEbsWriteOpsPerSecondMaximum" || "UtilizationMetricsEbsReadBytesPerSecondMaximum" || "UtilizationMetricsEbsWriteBytesPerSecondMaximum" || "UtilizationMetricsDiskReadOpsPerSecondMaximum" || "UtilizationMetricsDiskWriteOpsPerSecondMaximum" || "UtilizationMetricsDiskReadBytesPerSecondMaximum" || "UtilizationMetricsDiskWriteBytesPerSecondMaximum" || "UtilizationMetricsNetworkInBytesPerSecondMaximum" || "UtilizationMetricsNetworkOutBytesPerSecondMaximum" || "UtilizationMetricsNetworkPacketsInPerSecondMaximum" || "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" || "LookbackPeriodInDays" || "CurrentConfigurationInstanceType" || "CurrentConfigurationDesiredCapacity" || "CurrentConfigurationMinSize" || "CurrentConfigurationMaxSize" || "CurrentOnDemandPrice" || "CurrentStandardOneYearNoUpfrontReservedPrice" || "CurrentStandardThreeYearNoUpfrontReservedPrice" || "CurrentVCpus" || "CurrentMemory" || "CurrentStorage" || "CurrentNetwork" || "RecommendationOptionsConfigurationInstanceType" || "RecommendationOptionsConfigurationDesiredCapacity" || "RecommendationOptionsConfigurationMinSize" || "RecommendationOptionsConfigurationMaxSize" || "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" || "RecommendationOptionsPerformanceRisk" || "RecommendationOptionsOnDemandPrice" || "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" || "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" || "RecommendationOptionsVcpus" || "RecommendationOptionsMemory" || "RecommendationOptionsStorage" || "RecommendationOptionsNetwork" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesInferredWorkloadTypes" || "EffectiveRecommendationPreferencesPreferredResources" || "EffectiveRecommendationPreferencesLookBackPeriod" || "InferredWorkloadTypes" || "RecommendationOptionsMigrationEffort" || "CurrentInstanceGpuInfo" || "RecommendationOptionsInstanceGpuInfo" || "UtilizationMetricsGpuPercentageMaximum" || "UtilizationMetricsGpuMemoryPercentageMaximum" || "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" || "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
56
56
  * ],
57
57
  * s3DestinationConfig: { // S3DestinationConfig
58
58
  * bucket: "STRING_VALUE",
@@ -52,7 +52,7 @@ declare const ExportEBSVolumeRecommendationsCommand_base: {
52
52
  * },
53
53
  * ],
54
54
  * fieldsToExport: [ // ExportableVolumeFields
55
- * "AccountId" || "VolumeArn" || "Finding" || "UtilizationMetricsVolumeReadOpsPerSecondMaximum" || "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" || "UtilizationMetricsVolumeReadBytesPerSecondMaximum" || "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" || "LookbackPeriodInDays" || "CurrentConfigurationVolumeType" || "CurrentConfigurationVolumeBaselineIOPS" || "CurrentConfigurationVolumeBaselineThroughput" || "CurrentConfigurationVolumeBurstIOPS" || "CurrentConfigurationVolumeBurstThroughput" || "CurrentConfigurationVolumeSize" || "CurrentMonthlyPrice" || "RecommendationOptionsConfigurationVolumeType" || "RecommendationOptionsConfigurationVolumeBaselineIOPS" || "RecommendationOptionsConfigurationVolumeBaselineThroughput" || "RecommendationOptionsConfigurationVolumeBurstIOPS" || "RecommendationOptionsConfigurationVolumeBurstThroughput" || "RecommendationOptionsConfigurationVolumeSize" || "RecommendationOptionsMonthlyPrice" || "RecommendationOptionsPerformanceRisk" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "RootVolume" || "Tags" || "CurrentConfigurationRootVolume" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
55
+ * "AccountId" || "VolumeArn" || "Finding" || "UtilizationMetricsVolumeReadOpsPerSecondMaximum" || "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" || "UtilizationMetricsVolumeReadBytesPerSecondMaximum" || "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" || "LookbackPeriodInDays" || "CurrentConfigurationVolumeType" || "CurrentConfigurationVolumeBaselineIOPS" || "CurrentConfigurationVolumeBaselineThroughput" || "CurrentConfigurationVolumeBurstIOPS" || "CurrentConfigurationVolumeBurstThroughput" || "CurrentConfigurationVolumeSize" || "CurrentMonthlyPrice" || "RecommendationOptionsConfigurationVolumeType" || "RecommendationOptionsConfigurationVolumeBaselineIOPS" || "RecommendationOptionsConfigurationVolumeBaselineThroughput" || "RecommendationOptionsConfigurationVolumeBurstIOPS" || "RecommendationOptionsConfigurationVolumeBurstThroughput" || "RecommendationOptionsConfigurationVolumeSize" || "RecommendationOptionsMonthlyPrice" || "RecommendationOptionsPerformanceRisk" || "LastRefreshTimestamp" || "CurrentPerformanceRisk" || "RecommendationOptionsSavingsOpportunityPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrency" || "RecommendationOptionsEstimatedMonthlySavingsValue" || "Tags" || "RootVolume" || "CurrentConfigurationRootVolume" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts",
56
56
  * ],
57
57
  * s3DestinationConfig: { // S3DestinationConfig
58
58
  * bucket: "STRING_VALUE",