@aws-sdk/client-compute-optimizer 3.696.0 → 3.697.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 (31) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +255 -2
  3. package/dist-es/ComputeOptimizer.js +4 -0
  4. package/dist-es/commands/ExportIdleRecommendationsCommand.js +22 -0
  5. package/dist-es/commands/GetIdleRecommendationsCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +87 -0
  8. package/dist-es/protocols/Aws_json1_0.js +122 -0
  9. package/dist-types/ComputeOptimizer.d.ts +15 -0
  10. package/dist-types/ComputeOptimizerClient.d.ts +4 -2
  11. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
  13. package/dist-types/commands/ExportIdleRecommendationsCommand.d.ts +127 -0
  14. package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetIdleRecommendationsCommand.d.ts +166 -0
  16. package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +1 -1
  17. package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +6 -3
  18. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
  19. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +20 -0
  20. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +623 -4
  23. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  24. package/dist-types/ts3.4/ComputeOptimizer.d.ts +35 -0
  25. package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/ExportIdleRecommendationsCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/GetIdleRecommendationsCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +184 -0
  30. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  31. package/package.json +1 -1
@@ -135,6 +135,7 @@ export const ResourceType = {
135
135
  EBS_VOLUME: "EbsVolume",
136
136
  EC2_INSTANCE: "Ec2Instance",
137
137
  ECS_SERVICE: "EcsService",
138
+ IDLE: "Idle",
138
139
  LAMBDA_FUNCTION: "LambdaFunction",
139
140
  LICENSE: "License",
140
141
  NOT_APPLICABLE: "NotApplicable",
@@ -475,6 +476,32 @@ export const ECSServiceRecommendationFilterName = {
475
476
  FINDING: "Finding",
476
477
  FINDING_REASON_CODE: "FindingReasonCode",
477
478
  };
479
+ export const ExportableIdleField = {
480
+ ACCOUNT_ID: "AccountId",
481
+ FINDING: "Finding",
482
+ FINDING_DESCRIPTION: "FindingDescription",
483
+ LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp",
484
+ LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays",
485
+ RESOURCE_ARN: "ResourceArn",
486
+ RESOURCE_ID: "ResourceId",
487
+ RESOURCE_TYPE: "ResourceType",
488
+ SAVINGS_OPPORTUNITY: "SavingsOpportunity",
489
+ SAVINGS_OPPORTUNITY_AFTER_DISCOUNT: "SavingsOpportunityAfterDiscount",
490
+ TAGS: "Tags",
491
+ UTILIZATION_METRICS_CPU_MAXIMUM: "UtilizationMetricsCpuMaximum",
492
+ UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM: "UtilizationMetricsDatabaseConnectionsMaximum",
493
+ UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeReadIOPSMaximum",
494
+ UTILIZATION_METRICS_EBS_VOLUME_WRITE_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeWriteIOPSMaximum",
495
+ UTILIZATION_METRICS_MEMORY_MAXIMUM: "UtilizationMetricsMemoryMaximum",
496
+ UTILIZATION_METRICS_NETWORK_IN_BYTES_PER_SECOND_MAXIMUM: "UtilizationMetricsNetworkInBytesPerSecondMaximum",
497
+ UTILIZATION_METRICS_NETWORK_OUT_BYTES_PER_SECOND_MAXIMUM: "UtilizationMetricsNetworkOutBytesPerSecondMaximum",
498
+ UTILIZATION_METRICS_VOLUME_READ_OPS_PER_SECOND_MAXIMUM: "UtilizationMetricsVolumeReadOpsPerSecondMaximum",
499
+ UTILIZATION_METRICS_VOLUME_WRITE_OPS_PER_SECOND_MAXIMUM: "UtilizationMetricsVolumeWriteOpsPerSecondMaximum",
500
+ };
501
+ export const IdleRecommendationFilterName = {
502
+ FINDING: "Finding",
503
+ RESOURCE_TYPE: "ResourceType",
504
+ };
478
505
  export const ExportableLambdaFunctionField = {
479
506
  ACCOUNT_ID: "AccountId",
480
507
  CURRENT_CONFIGURATION_MEMORY_SIZE: "CurrentConfigurationMemorySize",
@@ -544,12 +571,14 @@ export const ExportableRDSDBField = {
544
571
  ACCOUNT_ID: "AccountId",
545
572
  CURRENT_DB_INSTANCE_CLASS: "CurrentDBInstanceClass",
546
573
  CURRENT_INSTANCE_ON_DEMAND_HOURLY_PRICE: "CurrentInstanceOnDemandHourlyPrice",
574
+ CURRENT_INSTANCE_PERFORMANCE_RISK: "CurrentInstancePerformanceRisk",
547
575
  CURRENT_STORAGE_CONFIGURATION_ALLOCATED_STORAGE: "CurrentStorageConfigurationAllocatedStorage",
548
576
  CURRENT_STORAGE_CONFIGURATION_IOPS: "CurrentStorageConfigurationIOPS",
549
577
  CURRENT_STORAGE_CONFIGURATION_MAX_ALLOCATED_STORAGE: "CurrentStorageConfigurationMaxAllocatedStorage",
550
578
  CURRENT_STORAGE_CONFIGURATION_STORAGE_THROUGHPUT: "CurrentStorageConfigurationStorageThroughput",
551
579
  CURRENT_STORAGE_CONFIGURATION_STORAGE_TYPE: "CurrentStorageConfigurationStorageType",
552
580
  CURRENT_STORAGE_ON_DEMAND_MONTHLY_PRICE: "CurrentStorageOnDemandMonthlyPrice",
581
+ DB_CLUSTER_IDENTIFIER: "DBClusterIdentifier",
553
582
  EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES: "EffectiveRecommendationPreferencesCpuVendorArchitectures",
554
583
  EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS: "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
555
584
  EFFECTIVE_RECOMMENDATION_PREFERENCES_LOOKBACK_PERIOD: "EffectiveRecommendationPreferencesLookBackPeriod",
@@ -573,6 +602,7 @@ export const ExportableRDSDBField = {
573
602
  LAST_REFRESH_TIMESTAMP: "LastRefreshTimestamp",
574
603
  LOOKBACK_PERIOD_IN_DAYS: "LookbackPeriodInDays",
575
604
  MULTI_AZ_DB_INSTANCE: "MultiAZDBInstance",
605
+ PROMOTION_TIER: "PromotionTier",
576
606
  RESOURCE_ARN: "ResourceArn",
577
607
  STORAGE_FINDING: "StorageFinding",
578
608
  STORAGE_FINDING_REASON_CODES: "StorageFindingReasonCodes",
@@ -590,6 +620,10 @@ export const ExportableRDSDBField = {
590
620
  STORAGE_RECOMMENDATION_OPTIONS_STORAGE_THROUGHPUT: "StorageRecommendationOptionsStorageThroughput",
591
621
  STORAGE_RECOMMENDATION_OPTIONS_STORAGE_TYPE: "StorageRecommendationOptionsStorageType",
592
622
  TAGS: "Tags",
623
+ UTILIZATION_METRICS_AURORA_MEMORY_HEALTH_STATE_MAXIMUM: "UtilizationMetricsAuroraMemoryHealthStateMaximum",
624
+ UTILIZATION_METRICS_AURORA_MEMORY_NUM_DECLINED_SQL_TOTAL_MAXIMUM: "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum",
625
+ UTILIZATION_METRICS_AURORA_MEMORY_NUM_KILL_CONN_TOTAL_MAXIMUM: "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum",
626
+ UTILIZATION_METRICS_AURORA_MEMORY_NUM_KILL_QUERY_TOTAL_MAXIMUM: "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum",
593
627
  UTILIZATION_METRICS_CPU_MAXIMUM: "UtilizationMetricsCpuMaximum",
594
628
  UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM: "UtilizationMetricsDatabaseConnectionsMaximum",
595
629
  UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM: "UtilizationMetricsEBSVolumeReadIOPSMaximum",
@@ -600,6 +634,10 @@ export const ExportableRDSDBField = {
600
634
  UTILIZATION_METRICS_MEMORY_MAXIMUM: "UtilizationMetricsMemoryMaximum",
601
635
  UTILIZATION_METRICS_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkReceiveThroughputMaximum",
602
636
  UTILIZATION_METRICS_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsNetworkTransmitThroughputMaximum",
637
+ UTILIZATION_METRICS_READ_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsReadIOPSEphemeralStorageMaximum",
638
+ UTILIZATION_METRICS_STORAGE_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkReceiveThroughputMaximum",
639
+ UTILIZATION_METRICS_STORAGE_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM: "UtilizationMetricsStorageNetworkTransmitThroughputMaximum",
640
+ UTILIZATION_METRICS_WRITE_IOPS_EPHEMERAL_STORAGE_MAXIMUM: "UtilizationMetricsWriteIOPSEphemeralStorageMaximum",
603
641
  };
604
642
  export const RDSDBRecommendationFilterName = {
605
643
  IDLE: "Idle",
@@ -718,6 +756,36 @@ export const ECSServiceMetricStatistic = {
718
756
  export const EnrollmentFilterName = {
719
757
  STATUS: "Status",
720
758
  };
759
+ export const Dimension = {
760
+ SAVINGS_VALUE: "SavingsValue",
761
+ SAVINGS_VALUE_AFTER_DISCOUNT: "SavingsValueAfterDiscount",
762
+ };
763
+ export const Order = {
764
+ ASC: "Asc",
765
+ DESC: "Desc",
766
+ };
767
+ export const IdleRecommendationResourceType = {
768
+ AUTO_SCALING_GROUP: "AutoScalingGroup",
769
+ EBS_VOLUME: "EBSVolume",
770
+ EC2_INSTANCE: "EC2Instance",
771
+ ECS_SERVICE: "ECSService",
772
+ RDS_DB_INSTANCE: "RDSDBInstance",
773
+ };
774
+ export const IdleFinding = {
775
+ IDLE: "Idle",
776
+ UNATTACHED: "Unattached",
777
+ };
778
+ export const IdleMetricName = {
779
+ CPU: "CPU",
780
+ DATABASE_CONNECTIONS: "DatabaseConnections",
781
+ EBS_VOLUME_READ_IOPS: "EBSVolumeReadIOPS",
782
+ EBS_VOLUME_WRITE_IOPS: "EBSVolumeWriteIOPS",
783
+ MEMORY: "Memory",
784
+ NETWORK_IN_BYTES_PER_SECOND: "NetworkInBytesPerSecond",
785
+ NETWORK_OUT_BYTES_PER_SECOND: "NetworkOutBytesPerSecond",
786
+ VOLUME_READ_OPS_PER_SECOND: "VolumeReadOpsPerSecond",
787
+ VOLUME_WRITE_OPS_PER_SECOND: "VolumeWriteOpsPerSecond",
788
+ };
721
789
  export const LambdaSavingsEstimationModeSource = {
722
790
  COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing",
723
791
  COST_OPTIMIZATION_HUB: "CostOptimizationHub",
@@ -778,6 +846,10 @@ export const LicenseFindingReasonCode = {
778
846
  OPTIMIZED: "Optimized",
779
847
  };
780
848
  export const RDSDBMetricName = {
849
+ AURORA_MEMORY_HEALTH_STATE: "AuroraMemoryHealthState",
850
+ AURORA_MEMORY_NUM_DECLINED_SQL: "AuroraMemoryNumDeclinedSql",
851
+ AURORA_MEMORY_NUM_KILL_CONN_TOTAL: "AuroraMemoryNumKillConnTotal",
852
+ AURORA_MEMORY_NUM_KILL_QUERY_TOTAL: "AuroraMemoryNumKillQueryTotal",
781
853
  CPU: "CPU",
782
854
  DATABASE_CONNECTIONS: "DatabaseConnections",
783
855
  EBS_VOLUME_READ_IOPS: "EBSVolumeReadIOPS",
@@ -788,6 +860,16 @@ export const RDSDBMetricName = {
788
860
  MEMORY: "Memory",
789
861
  NETWORK_RECEIVE_THROUGHPUT: "NetworkReceiveThroughput",
790
862
  NETWORK_TRANSMIT_THROUGHPUT: "NetworkTransmitThroughput",
863
+ READ_IOPS_EPHEMERAL_STORAGE: "ReadIOPSEphemeralStorage",
864
+ STORAGE_NETWORK_RECEIVE_THROUGHPUT: "StorageNetworkReceiveThroughput",
865
+ STORAGE_NETWORK_TRANSMIT_THROUGHPUT: "StorageNetworkTransmitThroughput",
866
+ WRITE_IOPS_EPHEMERAL_STORAGE: "WriteIOPSEphemeralStorage",
867
+ };
868
+ export const RDSCurrentInstancePerformanceRisk = {
869
+ HIGH: "High",
870
+ LOW: "Low",
871
+ MEDIUM: "Medium",
872
+ VERY_LOW: "VeryLow",
791
873
  };
792
874
  export const RDSSavingsEstimationModeSource = {
793
875
  COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing",
@@ -806,9 +888,14 @@ export const RDSInstanceFinding = {
806
888
  export const RDSInstanceFindingReasonCode = {
807
889
  CPU_OVER_PROVISIONED: "CPUOverprovisioned",
808
890
  CPU_UNDER_PROVISIONED: "CPUUnderprovisioned",
891
+ DB_CLUSTER_WRITER_UNDER_PROVISIONED: "DBClusterWriterUnderprovisioned",
809
892
  EBS_IOPS_OVER_PROVISIONED: "EBSIOPSOverprovisioned",
893
+ EBS_IOPS_UNDER_PROVISIONED: "EBSIOPSUnderprovisioned",
810
894
  EBS_THROUGHPUT_OVER_PROVISIONED: "EBSThroughputOverprovisioned",
811
895
  EBS_THROUGHPUT_UNDER_PROVISIONED: "EBSThroughputUnderprovisioned",
896
+ INSTANCE_STORAGE_READ_IOPS_UNDER_PROVISIONED: "InstanceStorageReadIOPSUnderprovisioned",
897
+ INSTANCE_STORAGE_WRITE_IOPS_UNDER_PROVISIONED: "InstanceStorageWriteIOPSUnderprovisioned",
898
+ MEMORY_UNDER_PROVISIONED: "MemoryUnderprovisioned",
812
899
  NETWORK_BANDWIDTH_OVER_PROVISIONED: "NetworkBandwidthOverprovisioned",
813
900
  NETWORK_BANDWIDTH_UNDER_PROVISIONED: "NetworkBandwidthUnderprovisioned",
814
901
  NEW_ENGINE_VERSION_AVAILABLE: "NewEngineVersionAvailable",
@@ -39,6 +39,12 @@ export const se_ExportECSServiceRecommendationsCommand = async (input, context)
39
39
  body = JSON.stringify(_json(input));
40
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
41
  };
42
+ export const se_ExportIdleRecommendationsCommand = async (input, context) => {
43
+ const headers = sharedHeaders("ExportIdleRecommendations");
44
+ let body;
45
+ body = JSON.stringify(_json(input));
46
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
47
+ };
42
48
  export const se_ExportLambdaFunctionRecommendationsCommand = async (input, context) => {
43
49
  const headers = sharedHeaders("ExportLambdaFunctionRecommendations");
44
50
  let body;
@@ -111,6 +117,12 @@ export const se_GetEnrollmentStatusesForOrganizationCommand = async (input, cont
111
117
  body = JSON.stringify(_json(input));
112
118
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
119
  };
120
+ export const se_GetIdleRecommendationsCommand = async (input, context) => {
121
+ const headers = sharedHeaders("GetIdleRecommendations");
122
+ let body;
123
+ body = JSON.stringify(_json(input));
124
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
125
+ };
114
126
  export const se_GetLambdaFunctionRecommendationsCommand = async (input, context) => {
115
127
  const headers = sharedHeaders("GetLambdaFunctionRecommendations");
116
128
  let body;
@@ -237,6 +249,19 @@ export const de_ExportECSServiceRecommendationsCommand = async (output, context)
237
249
  };
238
250
  return response;
239
251
  };
252
+ export const de_ExportIdleRecommendationsCommand = async (output, context) => {
253
+ if (output.statusCode >= 300) {
254
+ return de_CommandError(output, context);
255
+ }
256
+ const data = await parseBody(output.body, context);
257
+ let contents = {};
258
+ contents = _json(data);
259
+ const response = {
260
+ $metadata: deserializeMetadata(output),
261
+ ...contents,
262
+ };
263
+ return response;
264
+ };
240
265
  export const de_ExportLambdaFunctionRecommendationsCommand = async (output, context) => {
241
266
  if (output.statusCode >= 300) {
242
267
  return de_CommandError(output, context);
@@ -393,6 +418,19 @@ export const de_GetEnrollmentStatusesForOrganizationCommand = async (output, con
393
418
  };
394
419
  return response;
395
420
  };
421
+ export const de_GetIdleRecommendationsCommand = async (output, context) => {
422
+ if (output.statusCode >= 300) {
423
+ return de_CommandError(output, context);
424
+ }
425
+ const data = await parseBody(output.body, context);
426
+ let contents = {};
427
+ contents = de_GetIdleRecommendationsResponse(data, context);
428
+ const response = {
429
+ $metadata: deserializeMetadata(output),
430
+ ...contents,
431
+ };
432
+ return response;
433
+ };
396
434
  export const de_GetLambdaFunctionRecommendationsCommand = async (output, context) => {
397
435
  if (output.statusCode >= 300) {
398
436
  return de_CommandError(output, context);
@@ -932,6 +970,13 @@ const de_GetEnrollmentStatusResponse = (output, context) => {
932
970
  statusReason: __expectString,
933
971
  });
934
972
  };
973
+ const de_GetIdleRecommendationsResponse = (output, context) => {
974
+ return take(output, {
975
+ errors: _json,
976
+ idleRecommendations: (_) => de_IdleRecommendations(_, context),
977
+ nextToken: __expectString,
978
+ });
979
+ };
935
980
  const de_GetLambdaFunctionRecommendationsResponse = (output, context) => {
936
981
  return take(output, {
937
982
  lambdaFunctionRecommendations: (_) => de_LambdaFunctionRecommendations(_, context),
@@ -963,6 +1008,77 @@ const de_GetRecommendationSummariesResponse = (output, context) => {
963
1008
  recommendationSummaries: (_) => de_RecommendationSummaries(_, context),
964
1009
  });
965
1010
  };
1011
+ const de_IdleEstimatedMonthlySavings = (output, context) => {
1012
+ return take(output, {
1013
+ currency: __expectString,
1014
+ value: __limitedParseDouble,
1015
+ });
1016
+ };
1017
+ const de_IdleRecommendation = (output, context) => {
1018
+ return take(output, {
1019
+ accountId: __expectString,
1020
+ finding: __expectString,
1021
+ findingDescription: __expectString,
1022
+ lastRefreshTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1023
+ lookBackPeriodInDays: __limitedParseDouble,
1024
+ resourceArn: __expectString,
1025
+ resourceId: __expectString,
1026
+ resourceType: __expectString,
1027
+ savingsOpportunity: (_) => de_IdleSavingsOpportunity(_, context),
1028
+ savingsOpportunityAfterDiscounts: (_) => de_IdleSavingsOpportunityAfterDiscounts(_, context),
1029
+ tags: _json,
1030
+ utilizationMetrics: (_) => de_IdleUtilizationMetrics(_, context),
1031
+ });
1032
+ };
1033
+ const de_IdleRecommendations = (output, context) => {
1034
+ const retVal = (output || [])
1035
+ .filter((e) => e != null)
1036
+ .map((entry) => {
1037
+ return de_IdleRecommendation(entry, context);
1038
+ });
1039
+ return retVal;
1040
+ };
1041
+ const de_IdleSavingsOpportunity = (output, context) => {
1042
+ return take(output, {
1043
+ estimatedMonthlySavings: (_) => de_IdleEstimatedMonthlySavings(_, context),
1044
+ savingsOpportunityPercentage: __limitedParseDouble,
1045
+ });
1046
+ };
1047
+ const de_IdleSavingsOpportunityAfterDiscounts = (output, context) => {
1048
+ return take(output, {
1049
+ estimatedMonthlySavings: (_) => de_IdleEstimatedMonthlySavings(_, context),
1050
+ savingsOpportunityPercentage: __limitedParseDouble,
1051
+ });
1052
+ };
1053
+ const de_IdleSummaries = (output, context) => {
1054
+ const retVal = (output || [])
1055
+ .filter((e) => e != null)
1056
+ .map((entry) => {
1057
+ return de_IdleSummary(entry, context);
1058
+ });
1059
+ return retVal;
1060
+ };
1061
+ const de_IdleSummary = (output, context) => {
1062
+ return take(output, {
1063
+ name: __expectString,
1064
+ value: __limitedParseDouble,
1065
+ });
1066
+ };
1067
+ const de_IdleUtilizationMetric = (output, context) => {
1068
+ return take(output, {
1069
+ name: __expectString,
1070
+ statistic: __expectString,
1071
+ value: __limitedParseDouble,
1072
+ });
1073
+ };
1074
+ const de_IdleUtilizationMetrics = (output, context) => {
1075
+ const retVal = (output || [])
1076
+ .filter((e) => e != null)
1077
+ .map((entry) => {
1078
+ return de_IdleUtilizationMetric(entry, context);
1079
+ });
1080
+ return retVal;
1081
+ };
966
1082
  const de_InferredWorkloadSaving = (output, context) => {
967
1083
  return take(output, {
968
1084
  estimatedMonthlySavings: (_) => de_EstimatedMonthlySavings(_, context),
@@ -1247,7 +1363,9 @@ const de_RDSDBRecommendation = (output, context) => {
1247
1363
  return take(output, {
1248
1364
  accountId: __expectString,
1249
1365
  currentDBInstanceClass: __expectString,
1366
+ currentInstancePerformanceRisk: __expectString,
1250
1367
  currentStorageConfiguration: _json,
1368
+ dbClusterIdentifier: __expectString,
1251
1369
  effectiveRecommendationPreferences: _json,
1252
1370
  engine: __expectString,
1253
1371
  engineVersion: __expectString,
@@ -1257,6 +1375,7 @@ const de_RDSDBRecommendation = (output, context) => {
1257
1375
  instanceRecommendationOptions: (_) => de_RDSDBInstanceRecommendationOptions(_, context),
1258
1376
  lastRefreshTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1259
1377
  lookbackPeriodInDays: __limitedParseDouble,
1378
+ promotionTier: __expectInt32,
1260
1379
  resourceArn: __expectString,
1261
1380
  storageFinding: __expectString,
1262
1381
  storageFindingReasonCodes: _json,
@@ -1380,7 +1499,10 @@ const de_RecommendationSummaries = (output, context) => {
1380
1499
  const de_RecommendationSummary = (output, context) => {
1381
1500
  return take(output, {
1382
1501
  accountId: __expectString,
1502
+ aggregatedSavingsOpportunity: (_) => de_SavingsOpportunity(_, context),
1383
1503
  currentPerformanceRiskRatings: _json,
1504
+ idleSavingsOpportunity: (_) => de_SavingsOpportunity(_, context),
1505
+ idleSummaries: (_) => de_IdleSummaries(_, context),
1384
1506
  inferredWorkloadSavings: (_) => de_InferredWorkloadSavings(_, context),
1385
1507
  recommendationResourceType: __expectString,
1386
1508
  savingsOpportunity: (_) => de_SavingsOpportunity(_, context),
@@ -5,6 +5,7 @@ import { ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGro
5
5
  import { ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput } from "./commands/ExportEBSVolumeRecommendationsCommand";
6
6
  import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommendationsCommandOutput } from "./commands/ExportEC2InstanceRecommendationsCommand";
7
7
  import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "./commands/ExportECSServiceRecommendationsCommand";
8
+ import { ExportIdleRecommendationsCommandInput, ExportIdleRecommendationsCommandOutput } from "./commands/ExportIdleRecommendationsCommand";
8
9
  import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "./commands/ExportLambdaFunctionRecommendationsCommand";
9
10
  import { ExportLicenseRecommendationsCommandInput, ExportLicenseRecommendationsCommandOutput } from "./commands/ExportLicenseRecommendationsCommand";
10
11
  import { ExportRDSDatabaseRecommendationsCommandInput, ExportRDSDatabaseRecommendationsCommandOutput } from "./commands/ExportRDSDatabaseRecommendationsCommand";
@@ -17,6 +18,7 @@ import { GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsC
17
18
  import { GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput } from "./commands/GetEffectiveRecommendationPreferencesCommand";
18
19
  import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } from "./commands/GetEnrollmentStatusCommand";
19
20
  import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
21
+ import { GetIdleRecommendationsCommandInput, GetIdleRecommendationsCommandOutput } from "./commands/GetIdleRecommendationsCommand";
20
22
  import { GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput } from "./commands/GetLambdaFunctionRecommendationsCommand";
21
23
  import { GetLicenseRecommendationsCommandInput, GetLicenseRecommendationsCommandOutput } from "./commands/GetLicenseRecommendationsCommand";
22
24
  import { GetRDSDatabaseRecommendationProjectedMetricsCommandInput, GetRDSDatabaseRecommendationProjectedMetricsCommandOutput } from "./commands/GetRDSDatabaseRecommendationProjectedMetricsCommand";
@@ -64,6 +66,12 @@ export interface ComputeOptimizer {
64
66
  exportECSServiceRecommendations(args: ExportECSServiceRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportECSServiceRecommendationsCommandOutput>;
65
67
  exportECSServiceRecommendations(args: ExportECSServiceRecommendationsCommandInput, cb: (err: any, data?: ExportECSServiceRecommendationsCommandOutput) => void): void;
66
68
  exportECSServiceRecommendations(args: ExportECSServiceRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportECSServiceRecommendationsCommandOutput) => void): void;
69
+ /**
70
+ * @see {@link ExportIdleRecommendationsCommand}
71
+ */
72
+ exportIdleRecommendations(args: ExportIdleRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportIdleRecommendationsCommandOutput>;
73
+ exportIdleRecommendations(args: ExportIdleRecommendationsCommandInput, cb: (err: any, data?: ExportIdleRecommendationsCommandOutput) => void): void;
74
+ exportIdleRecommendations(args: ExportIdleRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportIdleRecommendationsCommandOutput) => void): void;
67
75
  /**
68
76
  * @see {@link ExportLambdaFunctionRecommendationsCommand}
69
77
  */
@@ -142,6 +150,13 @@ export interface ComputeOptimizer {
142
150
  getEnrollmentStatusesForOrganization(args: GetEnrollmentStatusesForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetEnrollmentStatusesForOrganizationCommandOutput>;
143
151
  getEnrollmentStatusesForOrganization(args: GetEnrollmentStatusesForOrganizationCommandInput, cb: (err: any, data?: GetEnrollmentStatusesForOrganizationCommandOutput) => void): void;
144
152
  getEnrollmentStatusesForOrganization(args: GetEnrollmentStatusesForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnrollmentStatusesForOrganizationCommandOutput) => void): void;
153
+ /**
154
+ * @see {@link GetIdleRecommendationsCommand}
155
+ */
156
+ getIdleRecommendations(): Promise<GetIdleRecommendationsCommandOutput>;
157
+ getIdleRecommendations(args: GetIdleRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetIdleRecommendationsCommandOutput>;
158
+ getIdleRecommendations(args: GetIdleRecommendationsCommandInput, cb: (err: any, data?: GetIdleRecommendationsCommandOutput) => void): void;
159
+ getIdleRecommendations(args: GetIdleRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdleRecommendationsCommandOutput) => void): void;
145
160
  /**
146
161
  * @see {@link GetLambdaFunctionRecommendationsCommand}
147
162
  */
@@ -13,6 +13,7 @@ import { ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGro
13
13
  import { ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput } from "./commands/ExportEBSVolumeRecommendationsCommand";
14
14
  import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommendationsCommandOutput } from "./commands/ExportEC2InstanceRecommendationsCommand";
15
15
  import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "./commands/ExportECSServiceRecommendationsCommand";
16
+ import { ExportIdleRecommendationsCommandInput, ExportIdleRecommendationsCommandOutput } from "./commands/ExportIdleRecommendationsCommand";
16
17
  import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "./commands/ExportLambdaFunctionRecommendationsCommand";
17
18
  import { ExportLicenseRecommendationsCommandInput, ExportLicenseRecommendationsCommandOutput } from "./commands/ExportLicenseRecommendationsCommand";
18
19
  import { ExportRDSDatabaseRecommendationsCommandInput, ExportRDSDatabaseRecommendationsCommandOutput } from "./commands/ExportRDSDatabaseRecommendationsCommand";
@@ -25,6 +26,7 @@ import { GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsC
25
26
  import { GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput } from "./commands/GetEffectiveRecommendationPreferencesCommand";
26
27
  import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } from "./commands/GetEnrollmentStatusCommand";
27
28
  import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
29
+ import { GetIdleRecommendationsCommandInput, GetIdleRecommendationsCommandOutput } from "./commands/GetIdleRecommendationsCommand";
28
30
  import { GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput } from "./commands/GetLambdaFunctionRecommendationsCommand";
29
31
  import { GetLicenseRecommendationsCommandInput, GetLicenseRecommendationsCommandOutput } from "./commands/GetLicenseRecommendationsCommand";
30
32
  import { GetRDSDatabaseRecommendationProjectedMetricsCommandInput, GetRDSDatabaseRecommendationProjectedMetricsCommandOutput } from "./commands/GetRDSDatabaseRecommendationProjectedMetricsCommand";
@@ -39,11 +41,11 @@ export { __Client };
39
41
  /**
40
42
  * @public
41
43
  */
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;
44
+ export type ServiceInputTypes = DeleteRecommendationPreferencesCommandInput | DescribeRecommendationExportJobsCommandInput | ExportAutoScalingGroupRecommendationsCommandInput | ExportEBSVolumeRecommendationsCommandInput | ExportEC2InstanceRecommendationsCommandInput | ExportECSServiceRecommendationsCommandInput | ExportIdleRecommendationsCommandInput | ExportLambdaFunctionRecommendationsCommandInput | ExportLicenseRecommendationsCommandInput | ExportRDSDatabaseRecommendationsCommandInput | GetAutoScalingGroupRecommendationsCommandInput | GetEBSVolumeRecommendationsCommandInput | GetEC2InstanceRecommendationsCommandInput | GetEC2RecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationsCommandInput | GetEffectiveRecommendationPreferencesCommandInput | GetEnrollmentStatusCommandInput | GetEnrollmentStatusesForOrganizationCommandInput | GetIdleRecommendationsCommandInput | GetLambdaFunctionRecommendationsCommandInput | GetLicenseRecommendationsCommandInput | GetRDSDatabaseRecommendationProjectedMetricsCommandInput | GetRDSDatabaseRecommendationsCommandInput | GetRecommendationPreferencesCommandInput | GetRecommendationSummariesCommandInput | PutRecommendationPreferencesCommandInput | UpdateEnrollmentStatusCommandInput;
43
45
  /**
44
46
  * @public
45
47
  */
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;
48
+ export type ServiceOutputTypes = DeleteRecommendationPreferencesCommandOutput | DescribeRecommendationExportJobsCommandOutput | ExportAutoScalingGroupRecommendationsCommandOutput | ExportEBSVolumeRecommendationsCommandOutput | ExportEC2InstanceRecommendationsCommandOutput | ExportECSServiceRecommendationsCommandOutput | ExportIdleRecommendationsCommandOutput | ExportLambdaFunctionRecommendationsCommandOutput | ExportLicenseRecommendationsCommandOutput | ExportRDSDatabaseRecommendationsCommandOutput | GetAutoScalingGroupRecommendationsCommandOutput | GetEBSVolumeRecommendationsCommandOutput | GetEC2InstanceRecommendationsCommandOutput | GetEC2RecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationsCommandOutput | GetEffectiveRecommendationPreferencesCommandOutput | GetEnrollmentStatusCommandOutput | GetEnrollmentStatusesForOrganizationCommandOutput | GetIdleRecommendationsCommandOutput | GetLambdaFunctionRecommendationsCommandOutput | GetLicenseRecommendationsCommandOutput | GetRDSDatabaseRecommendationProjectedMetricsCommandOutput | GetRDSDatabaseRecommendationsCommandOutput | GetRecommendationPreferencesCommandOutput | GetRecommendationSummariesCommandOutput | PutRecommendationPreferencesCommandOutput | UpdateEnrollmentStatusCommandOutput;
47
49
  /**
48
50
  * @public
49
51
  */
@@ -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", // required
41
+ * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "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",
68
+ * // resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "Idle",
69
69
  * // status: "Queued" || "InProgress" || "Complete" || "Failed",
70
70
  * // creationTimestamp: new Date("TIMESTAMP"),
71
71
  * // lastUpdatedTimestamp: new Date("TIMESTAMP"),
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
4
+ import { ExportIdleRecommendationsRequest, ExportIdleRecommendationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ExportIdleRecommendationsCommand}.
14
+ */
15
+ export interface ExportIdleRecommendationsCommandInput extends ExportIdleRecommendationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ExportIdleRecommendationsCommand}.
21
+ */
22
+ export interface ExportIdleRecommendationsCommandOutput extends ExportIdleRecommendationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ExportIdleRecommendationsCommand_base: {
25
+ new (input: ExportIdleRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<ExportIdleRecommendationsCommandInput, ExportIdleRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ExportIdleRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<ExportIdleRecommendationsCommandInput, ExportIdleRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Export optimization recommendations for your idle resources.
32
+ * </p>
33
+ * <p>Recommendations are exported in a comma-separated values (CSV) file, and its metadata
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
+ * Recommendations</a> in the <i>Compute Optimizer User
36
+ * Guide</i>.</p>
37
+ * <p>You can have only one idle resource export job in progress per Amazon Web Services Region.</p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { ComputeOptimizerClient, ExportIdleRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
42
+ * // const { ComputeOptimizerClient, ExportIdleRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
43
+ * const client = new ComputeOptimizerClient(config);
44
+ * const input = { // ExportIdleRecommendationsRequest
45
+ * accountIds: [ // AccountIds
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * filters: [ // IdleRecommendationFilters
49
+ * { // IdleRecommendationFilter
50
+ * name: "Finding" || "ResourceType",
51
+ * values: [ // FilterValues
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * ],
56
+ * fieldsToExport: [ // ExportableIdleFields
57
+ * "AccountId" || "ResourceArn" || "ResourceId" || "ResourceType" || "LastRefreshTimestamp" || "LookbackPeriodInDays" || "SavingsOpportunity" || "SavingsOpportunityAfterDiscount" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsNetworkOutBytesPerSecondMaximum" || "UtilizationMetricsNetworkInBytesPerSecondMaximum" || "UtilizationMetricsDatabaseConnectionsMaximum" || "UtilizationMetricsEBSVolumeReadIOPSMaximum" || "UtilizationMetricsEBSVolumeWriteIOPSMaximum" || "UtilizationMetricsVolumeReadOpsPerSecondMaximum" || "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" || "Finding" || "FindingDescription" || "Tags",
58
+ * ],
59
+ * s3DestinationConfig: { // S3DestinationConfig
60
+ * bucket: "STRING_VALUE",
61
+ * keyPrefix: "STRING_VALUE",
62
+ * },
63
+ * fileFormat: "Csv",
64
+ * includeMemberAccounts: true || false,
65
+ * };
66
+ * const command = new ExportIdleRecommendationsCommand(input);
67
+ * const response = await client.send(command);
68
+ * // { // ExportIdleRecommendationsResponse
69
+ * // jobId: "STRING_VALUE",
70
+ * // s3Destination: { // S3Destination
71
+ * // bucket: "STRING_VALUE",
72
+ * // key: "STRING_VALUE",
73
+ * // metadataKey: "STRING_VALUE",
74
+ * // },
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param ExportIdleRecommendationsCommandInput - {@link ExportIdleRecommendationsCommandInput}
80
+ * @returns {@link ExportIdleRecommendationsCommandOutput}
81
+ * @see {@link ExportIdleRecommendationsCommandInput} for command's `input` shape.
82
+ * @see {@link ExportIdleRecommendationsCommandOutput} for command's `response` shape.
83
+ * @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape.
84
+ *
85
+ * @throws {@link AccessDeniedException} (client fault)
86
+ * <p>You do not have sufficient access to perform this action.</p>
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * <p>An internal error has occurred. Try your call again.</p>
90
+ *
91
+ * @throws {@link InvalidParameterValueException} (client fault)
92
+ * <p>The value supplied for the input parameter is out of range or not valid.</p>
93
+ *
94
+ * @throws {@link LimitExceededException} (client fault)
95
+ * <p>The request exceeds a limit of the service.</p>
96
+ *
97
+ * @throws {@link MissingAuthenticationToken} (client fault)
98
+ * <p>The request must contain either a valid (registered) Amazon Web Services access key ID
99
+ * or X.509 certificate.</p>
100
+ *
101
+ * @throws {@link OptInRequiredException} (client fault)
102
+ * <p>The account is not opted in to Compute Optimizer.</p>
103
+ *
104
+ * @throws {@link ServiceUnavailableException} (server fault)
105
+ * <p>The request has failed due to a temporary failure of the server.</p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>The request was denied due to request throttling.</p>
109
+ *
110
+ * @throws {@link ComputeOptimizerServiceException}
111
+ * <p>Base exception class for all service exceptions from ComputeOptimizer service.</p>
112
+ *
113
+ * @public
114
+ */
115
+ export declare class ExportIdleRecommendationsCommand extends ExportIdleRecommendationsCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: ExportIdleRecommendationsRequest;
120
+ output: ExportIdleRecommendationsResponse;
121
+ };
122
+ sdk: {
123
+ input: ExportIdleRecommendationsCommandInput;
124
+ output: ExportIdleRecommendationsCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -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" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" || "UtilizationMetricsNetworkReceiveThroughputMaximum" || "UtilizationMetricsNetworkTransmitThroughputMaximum" || "UtilizationMetricsEBSVolumeReadIOPSMaximum" || "UtilizationMetricsEBSVolumeWriteIOPSMaximum" || "UtilizationMetricsEBSVolumeReadThroughputMaximum" || "UtilizationMetricsEBSVolumeWriteThroughputMaximum" || "UtilizationMetricsDatabaseConnectionsMaximum" || "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",
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",
58
58
  * ],
59
59
  * s3DestinationConfig: { // S3DestinationConfig
60
60
  * bucket: "STRING_VALUE",