aws-sdk-computeoptimizer 1.70.0 → 1.72.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ad6d18444362ef294454943b53390171e9d8a804d508ccecd497cb48759a2b1
4
- data.tar.gz: 873e7d8ce149ee20f8575cffa15c6e3735a5cb2058c5fcb57f17cb40eb1d728b
3
+ metadata.gz: 2f9df37d497759d43f30323aeb0d028aa9842758f83bec709975c8a6bab65735
4
+ data.tar.gz: 667d7b265e471bb2ea8342a727711f723bc1ae71e3cda770e3b52ce48d8e82ee
5
5
  SHA512:
6
- metadata.gz: 53ad38a86c374f0920d968f2d4e172664120b50edab4cf4133a6ba71a73bd0cb8a309d32d372b1de94601648da4be731228a1700b68f648d288144a109364dd4
7
- data.tar.gz: 4f398fc98aa331a91e229740ad56b1bc594d5abc17143e7ef23ac9dad81ae9966145c01082d25e240ed2f469ce67f904e1f051b21ee1ffeb639f7c12c101c452
6
+ metadata.gz: 6143dd4e25c833c860c895d21a836fcf59e0ff3c3c695c79643ad9c2911d3f3aa7173abf3446c0d4054b599d7031daa78271bcc40dad12aca8cba782ac2110c5
7
+ data.tar.gz: fc7357a8d7c183f10a91c0aa0dbc47a479e49d48549d4b1d6394b240e40a0948c71f5516bc17c0d56cef161460428023bba1fb985cde4a7b30f8f901ae07e9cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2025-01-09)
5
+ ------------------
6
+
7
+ * Feature - This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types.
8
+
9
+ 1.71.0 (2024-11-20)
10
+ ------------------
11
+
12
+ * Feature - This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases.
13
+
4
14
  1.70.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.70.0
1
+ 1.72.0
@@ -494,7 +494,7 @@ module Aws::ComputeOptimizer
494
494
  # @example Request syntax with placeholder values
495
495
  #
496
496
  # resp = client.delete_recommendation_preferences({
497
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
497
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, Idle
498
498
  # scope: {
499
499
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
500
500
  # value: "ScopeValue",
@@ -569,7 +569,7 @@ module Aws::ComputeOptimizer
569
569
  # resp.recommendation_export_jobs[0].destination.s3.bucket #=> String
570
570
  # resp.recommendation_export_jobs[0].destination.s3.key #=> String
571
571
  # resp.recommendation_export_jobs[0].destination.s3.metadata_key #=> String
572
- # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance"
572
+ # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance", "Idle"
573
573
  # resp.recommendation_export_jobs[0].status #=> String, one of "Queued", "InProgress", "Complete", "Failed"
574
574
  # resp.recommendation_export_jobs[0].creation_timestamp #=> Time
575
575
  # resp.recommendation_export_jobs[0].last_updated_timestamp #=> Time
@@ -695,7 +695,7 @@ module Aws::ComputeOptimizer
695
695
  # values: ["FilterValue"],
696
696
  # },
697
697
  # ],
698
- # fields_to_export: ["AccountId"], # accepts 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
698
+ # fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentConfigurationAllocationStrategy, CurrentConfigurationMixedInstanceTypes, CurrentConfigurationType, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsConfigurationEstimatedInstanceHourReductionPercentage, RecommendationOptionsConfigurationAllocationStrategy, RecommendationOptionsConfigurationMixedInstanceTypes, RecommendationOptionsConfigurationType, 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
699
699
  # s3_destination_config: { # required
700
700
  # bucket: "DestinationBucket",
701
701
  # key_prefix: "DestinationKeyPrefix",
@@ -1119,6 +1119,135 @@ module Aws::ComputeOptimizer
1119
1119
  req.send_request(options)
1120
1120
  end
1121
1121
 
1122
+ # Export optimization recommendations for your idle resources.
1123
+ #
1124
+ # Recommendations are exported in a comma-separated values (CSV) file,
1125
+ # and its metadata in a JavaScript Object Notation (JSON) file, to an
1126
+ # existing Amazon Simple Storage Service (Amazon S3) bucket that you
1127
+ # specify. For more information, see [Exporting Recommendations][1] in
1128
+ # the *Compute Optimizer User Guide*.
1129
+ #
1130
+ # You can have only one idle resource export job in progress per Amazon
1131
+ # Web Services Region.
1132
+ #
1133
+ #
1134
+ #
1135
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
1136
+ #
1137
+ # @option params [Array<String>] :account_ids
1138
+ # The Amazon Web Services account IDs for the export idle resource
1139
+ # recommendations.
1140
+ #
1141
+ # If your account is the management account or the delegated
1142
+ # administrator of an organization, use this parameter to specify the
1143
+ # member account you want to export recommendations to.
1144
+ #
1145
+ # This parameter can't be specified together with the include member
1146
+ # accounts parameter. The parameters are mutually exclusive.
1147
+ #
1148
+ # If this parameter or the include member accounts parameter is omitted,
1149
+ # the recommendations for member accounts aren't included in the
1150
+ # export.
1151
+ #
1152
+ # You can specify multiple account IDs per request.
1153
+ #
1154
+ # @option params [Array<Types::IdleRecommendationFilter>] :filters
1155
+ # An array of objects to specify a filter that exports a more specific
1156
+ # set of idle resource recommendations.
1157
+ #
1158
+ # @option params [Array<String>] :fields_to_export
1159
+ # The recommendations data to include in the export file. For more
1160
+ # information about the fields that can be exported, see [Exported
1161
+ # files][1] in the *Compute Optimizer User Guide*.
1162
+ #
1163
+ #
1164
+ #
1165
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
1166
+ #
1167
+ # @option params [required, Types::S3DestinationConfig] :s3_destination_config
1168
+ # Describes the destination Amazon Simple Storage Service (Amazon S3)
1169
+ # bucket name and key prefix for a recommendations export job.
1170
+ #
1171
+ # You must create the destination Amazon S3 bucket for your
1172
+ # recommendations export before you create the export job. Compute
1173
+ # Optimizer does not create the S3 bucket for you. After you create the
1174
+ # S3 bucket, ensure that it has the required permission policy to allow
1175
+ # Compute Optimizer to write the export file to it. If you plan to
1176
+ # specify an object prefix when you create the export job, you must
1177
+ # include the object prefix in the policy that you add to the S3 bucket.
1178
+ # For more information, see [Amazon S3 Bucket Policy for Compute
1179
+ # Optimizer][1] in the *Compute Optimizer User Guide*.
1180
+ #
1181
+ #
1182
+ #
1183
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
1184
+ #
1185
+ # @option params [String] :file_format
1186
+ # The format of the export file. The CSV file is the only export file
1187
+ # format currently supported.
1188
+ #
1189
+ # @option params [Boolean] :include_member_accounts
1190
+ # If your account is the management account or the delegated
1191
+ # administrator of an organization, this parameter indicates whether to
1192
+ # include recommendations for resources in all member accounts of the
1193
+ # organization.
1194
+ #
1195
+ # The member accounts must also be opted in to Compute Optimizer, and
1196
+ # trusted access for Compute Optimizer must be enabled in the
1197
+ # organization account. For more information, see [Compute Optimizer and
1198
+ # Amazon Web Services Organizations trusted access][1] in the *Compute
1199
+ # Optimizer User Guide*.
1200
+ #
1201
+ # If this parameter is omitted, recommendations for member accounts of
1202
+ # the organization aren't included in the export file.
1203
+ #
1204
+ # If this parameter or the account ID parameter is omitted,
1205
+ # recommendations for member accounts aren't included in the export.
1206
+ #
1207
+ #
1208
+ #
1209
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
1210
+ #
1211
+ # @return [Types::ExportIdleRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1212
+ #
1213
+ # * {Types::ExportIdleRecommendationsResponse#job_id #job_id} => String
1214
+ # * {Types::ExportIdleRecommendationsResponse#s3_destination #s3_destination} => Types::S3Destination
1215
+ #
1216
+ # @example Request syntax with placeholder values
1217
+ #
1218
+ # resp = client.export_idle_recommendations({
1219
+ # account_ids: ["AccountId"],
1220
+ # filters: [
1221
+ # {
1222
+ # name: "Finding", # accepts Finding, ResourceType
1223
+ # values: ["FilterValue"],
1224
+ # },
1225
+ # ],
1226
+ # fields_to_export: ["AccountId"], # accepts AccountId, ResourceArn, ResourceId, ResourceType, LastRefreshTimestamp, LookbackPeriodInDays, SavingsOpportunity, SavingsOpportunityAfterDiscount, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsDatabaseConnectionsMaximum, UtilizationMetricsEBSVolumeReadIOPSMaximum, UtilizationMetricsEBSVolumeWriteIOPSMaximum, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, Finding, FindingDescription, Tags
1227
+ # s3_destination_config: { # required
1228
+ # bucket: "DestinationBucket",
1229
+ # key_prefix: "DestinationKeyPrefix",
1230
+ # },
1231
+ # file_format: "Csv", # accepts Csv
1232
+ # include_member_accounts: false,
1233
+ # })
1234
+ #
1235
+ # @example Response structure
1236
+ #
1237
+ # resp.job_id #=> String
1238
+ # resp.s3_destination.bucket #=> String
1239
+ # resp.s3_destination.key #=> String
1240
+ # resp.s3_destination.metadata_key #=> String
1241
+ #
1242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportIdleRecommendations AWS API Documentation
1243
+ #
1244
+ # @overload export_idle_recommendations(params = {})
1245
+ # @param [Hash] params ({})
1246
+ def export_idle_recommendations(params = {}, options = {})
1247
+ req = build_request(:export_idle_recommendations, params)
1248
+ req.send_request(options)
1249
+ end
1250
+
1122
1251
  # Exports optimization recommendations for Lambda functions.
1123
1252
  #
1124
1253
  # Recommendations are exported in a comma-separated values (.csv) file,
@@ -1490,7 +1619,7 @@ module Aws::ComputeOptimizer
1490
1619
  # values: ["FilterValue"],
1491
1620
  # },
1492
1621
  # ],
1493
- # fields_to_export: ["ResourceArn"], # accepts 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
1622
+ # fields_to_export: ["ResourceArn"], # accepts 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
1494
1623
  # s3_destination_config: { # required
1495
1624
  # bucket: "DestinationBucket",
1496
1625
  # key_prefix: "DestinationKeyPrefix",
@@ -1603,6 +1732,11 @@ module Aws::ComputeOptimizer
1603
1732
  # resp.auto_scaling_group_recommendations[0].current_configuration.min_size #=> Integer
1604
1733
  # resp.auto_scaling_group_recommendations[0].current_configuration.max_size #=> Integer
1605
1734
  # resp.auto_scaling_group_recommendations[0].current_configuration.instance_type #=> String
1735
+ # resp.auto_scaling_group_recommendations[0].current_configuration.allocation_strategy #=> String, one of "Prioritized", "LowestPrice"
1736
+ # resp.auto_scaling_group_recommendations[0].current_configuration.estimated_instance_hour_reduction_percentage #=> Float
1737
+ # resp.auto_scaling_group_recommendations[0].current_configuration.type #=> String, one of "SingleInstanceType", "MixedInstanceTypes"
1738
+ # resp.auto_scaling_group_recommendations[0].current_configuration.mixed_instance_types #=> Array
1739
+ # resp.auto_scaling_group_recommendations[0].current_configuration.mixed_instance_types[0] #=> String
1606
1740
  # resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus #=> Array
1607
1741
  # resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus[0].gpu_count #=> Integer
1608
1742
  # resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
@@ -1611,6 +1745,11 @@ module Aws::ComputeOptimizer
1611
1745
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.min_size #=> Integer
1612
1746
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.max_size #=> Integer
1613
1747
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.instance_type #=> String
1748
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.allocation_strategy #=> String, one of "Prioritized", "LowestPrice"
1749
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.estimated_instance_hour_reduction_percentage #=> Float
1750
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.type #=> String, one of "SingleInstanceType", "MixedInstanceTypes"
1751
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.mixed_instance_types #=> Array
1752
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.mixed_instance_types[0] #=> String
1614
1753
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
1615
1754
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
1616
1755
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
@@ -2340,6 +2479,111 @@ module Aws::ComputeOptimizer
2340
2479
  req.send_request(options)
2341
2480
  end
2342
2481
 
2482
+ # Returns idle resource recommendations. Compute Optimizer generates
2483
+ # recommendations for idle resources that meet a specific set of
2484
+ # requirements. For more information, see [Resource requirements][1] in
2485
+ # the *Compute Optimizer User Guide*
2486
+ #
2487
+ #
2488
+ #
2489
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
2490
+ #
2491
+ # @option params [Array<String>] :resource_arns
2492
+ # The ARN that identifies the idle resource.
2493
+ #
2494
+ # @option params [String] :next_token
2495
+ # The token to advance to the next page of idle resource
2496
+ # recommendations.
2497
+ #
2498
+ # @option params [Integer] :max_results
2499
+ # The maximum number of idle resource recommendations to return with a
2500
+ # single request.
2501
+ #
2502
+ # To retrieve the remaining results, make another request with the
2503
+ # returned `nextToken` value.
2504
+ #
2505
+ # @option params [Array<Types::IdleRecommendationFilter>] :filters
2506
+ # An array of objects to specify a filter that returns a more specific
2507
+ # list of idle resource recommendations.
2508
+ #
2509
+ # @option params [Array<String>] :account_ids
2510
+ # Return the idle resource recommendations to the specified Amazon Web
2511
+ # Services account IDs.
2512
+ #
2513
+ # If your account is the management account or the delegated
2514
+ # administrator of an organization, use this parameter to return the
2515
+ # idle resource recommendations to specific member accounts.
2516
+ #
2517
+ # You can only specify one account ID per request.
2518
+ #
2519
+ # @option params [Types::OrderBy] :order_by
2520
+ # The order to sort the idle resource recommendations.
2521
+ #
2522
+ # @return [Types::GetIdleRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2523
+ #
2524
+ # * {Types::GetIdleRecommendationsResponse#next_token #next_token} => String
2525
+ # * {Types::GetIdleRecommendationsResponse#idle_recommendations #idle_recommendations} => Array&lt;Types::IdleRecommendation&gt;
2526
+ # * {Types::GetIdleRecommendationsResponse#errors #errors} => Array&lt;Types::IdleRecommendationError&gt;
2527
+ #
2528
+ # @example Request syntax with placeholder values
2529
+ #
2530
+ # resp = client.get_idle_recommendations({
2531
+ # resource_arns: ["ResourceArn"],
2532
+ # next_token: "NextToken",
2533
+ # max_results: 1,
2534
+ # filters: [
2535
+ # {
2536
+ # name: "Finding", # accepts Finding, ResourceType
2537
+ # values: ["FilterValue"],
2538
+ # },
2539
+ # ],
2540
+ # account_ids: ["AccountId"],
2541
+ # order_by: {
2542
+ # dimension: "SavingsValue", # accepts SavingsValue, SavingsValueAfterDiscount
2543
+ # order: "Asc", # accepts Asc, Desc
2544
+ # },
2545
+ # })
2546
+ #
2547
+ # @example Response structure
2548
+ #
2549
+ # resp.next_token #=> String
2550
+ # resp.idle_recommendations #=> Array
2551
+ # resp.idle_recommendations[0].resource_arn #=> String
2552
+ # resp.idle_recommendations[0].resource_id #=> String
2553
+ # resp.idle_recommendations[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance"
2554
+ # resp.idle_recommendations[0].account_id #=> String
2555
+ # resp.idle_recommendations[0].finding #=> String, one of "Idle", "Unattached"
2556
+ # resp.idle_recommendations[0].finding_description #=> String
2557
+ # resp.idle_recommendations[0].savings_opportunity.savings_opportunity_percentage #=> Float
2558
+ # resp.idle_recommendations[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2559
+ # resp.idle_recommendations[0].savings_opportunity.estimated_monthly_savings.value #=> Float
2560
+ # resp.idle_recommendations[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
2561
+ # resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2562
+ # resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
2563
+ # resp.idle_recommendations[0].utilization_metrics #=> Array
2564
+ # resp.idle_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "NetworkOutBytesPerSecond", "NetworkInBytesPerSecond", "DatabaseConnections", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond"
2565
+ # resp.idle_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
2566
+ # resp.idle_recommendations[0].utilization_metrics[0].value #=> Float
2567
+ # resp.idle_recommendations[0].look_back_period_in_days #=> Float
2568
+ # resp.idle_recommendations[0].last_refresh_timestamp #=> Time
2569
+ # resp.idle_recommendations[0].tags #=> Array
2570
+ # resp.idle_recommendations[0].tags[0].key #=> String
2571
+ # resp.idle_recommendations[0].tags[0].value #=> String
2572
+ # resp.errors #=> Array
2573
+ # resp.errors[0].identifier #=> String
2574
+ # resp.errors[0].code #=> String
2575
+ # resp.errors[0].message #=> String
2576
+ # resp.errors[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance"
2577
+ #
2578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetIdleRecommendations AWS API Documentation
2579
+ #
2580
+ # @overload get_idle_recommendations(params = {})
2581
+ # @param [Hash] params ({})
2582
+ def get_idle_recommendations(params = {}, options = {})
2583
+ req = build_request(:get_idle_recommendations, params)
2584
+ req.send_request(options)
2585
+ end
2586
+
2343
2587
  # Returns Lambda function recommendations.
2344
2588
  #
2345
2589
  # Compute Optimizer generates recommendations for functions that meet a
@@ -2617,7 +2861,7 @@ module Aws::ComputeOptimizer
2617
2861
  # resp.recommended_option_projected_metrics[0].recommended_db_instance_class #=> String
2618
2862
  # resp.recommended_option_projected_metrics[0].rank #=> Integer
2619
2863
  # resp.recommended_option_projected_metrics[0].projected_metrics #=> Array
2620
- # resp.recommended_option_projected_metrics[0].projected_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections"
2864
+ # resp.recommended_option_projected_metrics[0].projected_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections", "StorageNetworkReceiveThroughput", "StorageNetworkTransmitThroughput", "AuroraMemoryHealthState", "AuroraMemoryNumDeclinedSql", "AuroraMemoryNumKillConnTotal", "AuroraMemoryNumKillQueryTotal", "ReadIOPSEphemeralStorage", "WriteIOPSEphemeralStorage"
2621
2865
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
2622
2866
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
2623
2867
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
@@ -2715,23 +2959,26 @@ module Aws::ComputeOptimizer
2715
2959
  # resp.rds_db_recommendations[0].account_id #=> String
2716
2960
  # resp.rds_db_recommendations[0].engine #=> String
2717
2961
  # resp.rds_db_recommendations[0].engine_version #=> String
2962
+ # resp.rds_db_recommendations[0].promotion_tier #=> Integer
2718
2963
  # resp.rds_db_recommendations[0].current_db_instance_class #=> String
2719
2964
  # resp.rds_db_recommendations[0].current_storage_configuration.storage_type #=> String
2720
2965
  # resp.rds_db_recommendations[0].current_storage_configuration.allocated_storage #=> Integer
2721
2966
  # resp.rds_db_recommendations[0].current_storage_configuration.iops #=> Integer
2722
2967
  # resp.rds_db_recommendations[0].current_storage_configuration.max_allocated_storage #=> Integer
2723
2968
  # resp.rds_db_recommendations[0].current_storage_configuration.storage_throughput #=> Integer
2969
+ # resp.rds_db_recommendations[0].db_cluster_identifier #=> String
2724
2970
  # resp.rds_db_recommendations[0].idle #=> String, one of "True", "False"
2725
2971
  # resp.rds_db_recommendations[0].instance_finding #=> String, one of "Optimized", "Underprovisioned", "Overprovisioned"
2726
2972
  # resp.rds_db_recommendations[0].storage_finding #=> String, one of "Optimized", "Underprovisioned", "Overprovisioned"
2727
2973
  # resp.rds_db_recommendations[0].instance_finding_reason_codes #=> Array
2728
- # resp.rds_db_recommendations[0].instance_finding_reason_codes[0] #=> String, one of "CPUOverprovisioned", "NetworkBandwidthOverprovisioned", "EBSIOPSOverprovisioned", "EBSThroughputOverprovisioned", "CPUUnderprovisioned", "NetworkBandwidthUnderprovisioned", "EBSThroughputUnderprovisioned", "NewGenerationDBInstanceClassAvailable", "NewEngineVersionAvailable"
2974
+ # resp.rds_db_recommendations[0].instance_finding_reason_codes[0] #=> String, one of "CPUOverprovisioned", "NetworkBandwidthOverprovisioned", "EBSIOPSOverprovisioned", "EBSIOPSUnderprovisioned", "EBSThroughputOverprovisioned", "CPUUnderprovisioned", "NetworkBandwidthUnderprovisioned", "EBSThroughputUnderprovisioned", "NewGenerationDBInstanceClassAvailable", "NewEngineVersionAvailable", "DBClusterWriterUnderprovisioned", "MemoryUnderprovisioned", "InstanceStorageReadIOPSUnderprovisioned", "InstanceStorageWriteIOPSUnderprovisioned"
2975
+ # resp.rds_db_recommendations[0].current_instance_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
2729
2976
  # resp.rds_db_recommendations[0].storage_finding_reason_codes #=> Array
2730
2977
  # resp.rds_db_recommendations[0].storage_finding_reason_codes[0] #=> String, one of "EBSVolumeAllocatedStorageUnderprovisioned", "EBSVolumeThroughputUnderprovisioned", "EBSVolumeIOPSOverprovisioned", "EBSVolumeThroughputOverprovisioned", "NewGenerationStorageTypeAvailable"
2731
2978
  # resp.rds_db_recommendations[0].instance_recommendation_options #=> Array
2732
2979
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].db_instance_class #=> String
2733
2980
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics #=> Array
2734
- # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections"
2981
+ # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections", "StorageNetworkReceiveThroughput", "StorageNetworkTransmitThroughput", "AuroraMemoryHealthState", "AuroraMemoryNumDeclinedSql", "AuroraMemoryNumKillConnTotal", "AuroraMemoryNumKillQueryTotal", "ReadIOPSEphemeralStorage", "WriteIOPSEphemeralStorage"
2735
2982
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Minimum", "Average"
2736
2983
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].value #=> Float
2737
2984
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].performance_risk #=> Float
@@ -2756,7 +3003,7 @@ module Aws::ComputeOptimizer
2756
3003
  # resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2757
3004
  # resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
2758
3005
  # resp.rds_db_recommendations[0].utilization_metrics #=> Array
2759
- # resp.rds_db_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections"
3006
+ # resp.rds_db_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections", "StorageNetworkReceiveThroughput", "StorageNetworkTransmitThroughput", "AuroraMemoryHealthState", "AuroraMemoryNumDeclinedSql", "AuroraMemoryNumKillConnTotal", "AuroraMemoryNumKillQueryTotal", "ReadIOPSEphemeralStorage", "WriteIOPSEphemeralStorage"
2760
3007
  # resp.rds_db_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Minimum", "Average"
2761
3008
  # resp.rds_db_recommendations[0].utilization_metrics[0].value #=> Float
2762
3009
  # resp.rds_db_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
@@ -2841,7 +3088,7 @@ module Aws::ComputeOptimizer
2841
3088
  # @example Request syntax with placeholder values
2842
3089
  #
2843
3090
  # resp = client.get_recommendation_preferences({
2844
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
3091
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, Idle
2845
3092
  # scope: {
2846
3093
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
2847
3094
  # value: "ScopeValue",
@@ -2856,7 +3103,7 @@ module Aws::ComputeOptimizer
2856
3103
  # resp.recommendation_preferences_details #=> Array
2857
3104
  # resp.recommendation_preferences_details[0].scope.name #=> String, one of "Organization", "AccountId", "ResourceArn"
2858
3105
  # resp.recommendation_preferences_details[0].scope.value #=> String
2859
- # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance"
3106
+ # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance", "Idle"
2860
3107
  # resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
2861
3108
  # resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
2862
3109
  # resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
@@ -2948,11 +3195,20 @@ module Aws::ComputeOptimizer
2948
3195
  # resp.recommendation_summaries[0].summaries[0].reason_code_summaries #=> Array
2949
3196
  # resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].name #=> String, one of "MemoryOverprovisioned", "MemoryUnderprovisioned"
2950
3197
  # resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].value #=> Float
3198
+ # resp.recommendation_summaries[0].idle_summaries #=> Array
3199
+ # resp.recommendation_summaries[0].idle_summaries[0].name #=> String, one of "Idle", "Unattached"
3200
+ # resp.recommendation_summaries[0].idle_summaries[0].value #=> Float
2951
3201
  # resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage"
2952
3202
  # resp.recommendation_summaries[0].account_id #=> String
2953
3203
  # resp.recommendation_summaries[0].savings_opportunity.savings_opportunity_percentage #=> Float
2954
3204
  # resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2955
3205
  # resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.value #=> Float
3206
+ # resp.recommendation_summaries[0].idle_savings_opportunity.savings_opportunity_percentage #=> Float
3207
+ # resp.recommendation_summaries[0].idle_savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
3208
+ # resp.recommendation_summaries[0].idle_savings_opportunity.estimated_monthly_savings.value #=> Float
3209
+ # resp.recommendation_summaries[0].aggregated_savings_opportunity.savings_opportunity_percentage #=> Float
3210
+ # resp.recommendation_summaries[0].aggregated_savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
3211
+ # resp.recommendation_summaries[0].aggregated_savings_opportunity.estimated_monthly_savings.value #=> Float
2956
3212
  # resp.recommendation_summaries[0].current_performance_risk_ratings.high #=> Integer
2957
3213
  # resp.recommendation_summaries[0].current_performance_risk_ratings.medium #=> Integer
2958
3214
  # resp.recommendation_summaries[0].current_performance_risk_ratings.low #=> Integer
@@ -3140,7 +3396,7 @@ module Aws::ComputeOptimizer
3140
3396
  # @example Request syntax with placeholder values
3141
3397
  #
3142
3398
  # resp = client.put_recommendation_preferences({
3143
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
3399
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, Idle
3144
3400
  # scope: {
3145
3401
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
3146
3402
  # value: "ScopeValue",
@@ -3273,7 +3529,7 @@ module Aws::ComputeOptimizer
3273
3529
  tracer: tracer
3274
3530
  )
3275
3531
  context[:gem_name] = 'aws-sdk-computeoptimizer'
3276
- context[:gem_version] = '1.70.0'
3532
+ context[:gem_version] = '1.72.0'
3277
3533
  Seahorse::Client::Request.new(handlers, context)
3278
3534
  end
3279
3535