aws-sdk-computeoptimizer 1.70.0 → 1.71.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: cc2c7bf09d222b2403c925205c7dd74cab9458bf3efb7e385add894f39d33d88
4
+ data.tar.gz: 2ed48a056db2bd9d5ae7d04564576cec97491de28164f52cfe5a4d7dd53bb5be
5
5
  SHA512:
6
- metadata.gz: 53ad38a86c374f0920d968f2d4e172664120b50edab4cf4133a6ba71a73bd0cb8a309d32d372b1de94601648da4be731228a1700b68f648d288144a109364dd4
7
- data.tar.gz: 4f398fc98aa331a91e229740ad56b1bc594d5abc17143e7ef23ac9dad81ae9966145c01082d25e240ed2f469ce67f904e1f051b21ee1ffeb639f7c12c101c452
6
+ metadata.gz: 2a434fe9c4a846533c60ef566a640e07a3aef2d5a3ec6814210a1ca0e2cbbfe650c36d76dfc198a507009ff57f4e714e778627fd71dac8dae59ca203fe8bf3f8
7
+ data.tar.gz: 740dbbf0eb8c2471bc9129402d70bd01f7d849ea4f699dbe4242e94b4c8e3c0c0c03f08d71694175356812cef5f7b823b03e2ef724002d638cd9e01fdd42183b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.71.0 (2024-11-20)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.70.0 (2024-11-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.70.0
1
+ 1.71.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
@@ -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",
@@ -2340,6 +2469,111 @@ module Aws::ComputeOptimizer
2340
2469
  req.send_request(options)
2341
2470
  end
2342
2471
 
2472
+ # Returns idle resource recommendations. Compute Optimizer generates
2473
+ # recommendations for idle resources that meet a specific set of
2474
+ # requirements. For more information, see [Resource requirements][1] in
2475
+ # the *Compute Optimizer User Guide*
2476
+ #
2477
+ #
2478
+ #
2479
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
2480
+ #
2481
+ # @option params [Array<String>] :resource_arns
2482
+ # The ARN that identifies the idle resource.
2483
+ #
2484
+ # @option params [String] :next_token
2485
+ # The token to advance to the next page of idle resource
2486
+ # recommendations.
2487
+ #
2488
+ # @option params [Integer] :max_results
2489
+ # The maximum number of idle resource recommendations to return with a
2490
+ # single request.
2491
+ #
2492
+ # To retrieve the remaining results, make another request with the
2493
+ # returned `nextToken` value.
2494
+ #
2495
+ # @option params [Array<Types::IdleRecommendationFilter>] :filters
2496
+ # An array of objects to specify a filter that returns a more specific
2497
+ # list of idle resource recommendations.
2498
+ #
2499
+ # @option params [Array<String>] :account_ids
2500
+ # Return the idle resource recommendations to the specified Amazon Web
2501
+ # Services account IDs.
2502
+ #
2503
+ # If your account is the management account or the delegated
2504
+ # administrator of an organization, use this parameter to return the
2505
+ # idle resource recommendations to specific member accounts.
2506
+ #
2507
+ # You can only specify one account ID per request.
2508
+ #
2509
+ # @option params [Types::OrderBy] :order_by
2510
+ # The order to sort the idle resource recommendations.
2511
+ #
2512
+ # @return [Types::GetIdleRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2513
+ #
2514
+ # * {Types::GetIdleRecommendationsResponse#next_token #next_token} => String
2515
+ # * {Types::GetIdleRecommendationsResponse#idle_recommendations #idle_recommendations} => Array&lt;Types::IdleRecommendation&gt;
2516
+ # * {Types::GetIdleRecommendationsResponse#errors #errors} => Array&lt;Types::IdleRecommendationError&gt;
2517
+ #
2518
+ # @example Request syntax with placeholder values
2519
+ #
2520
+ # resp = client.get_idle_recommendations({
2521
+ # resource_arns: ["ResourceArn"],
2522
+ # next_token: "NextToken",
2523
+ # max_results: 1,
2524
+ # filters: [
2525
+ # {
2526
+ # name: "Finding", # accepts Finding, ResourceType
2527
+ # values: ["FilterValue"],
2528
+ # },
2529
+ # ],
2530
+ # account_ids: ["AccountId"],
2531
+ # order_by: {
2532
+ # dimension: "SavingsValue", # accepts SavingsValue, SavingsValueAfterDiscount
2533
+ # order: "Asc", # accepts Asc, Desc
2534
+ # },
2535
+ # })
2536
+ #
2537
+ # @example Response structure
2538
+ #
2539
+ # resp.next_token #=> String
2540
+ # resp.idle_recommendations #=> Array
2541
+ # resp.idle_recommendations[0].resource_arn #=> String
2542
+ # resp.idle_recommendations[0].resource_id #=> String
2543
+ # resp.idle_recommendations[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance"
2544
+ # resp.idle_recommendations[0].account_id #=> String
2545
+ # resp.idle_recommendations[0].finding #=> String, one of "Idle", "Unattached"
2546
+ # resp.idle_recommendations[0].finding_description #=> String
2547
+ # resp.idle_recommendations[0].savings_opportunity.savings_opportunity_percentage #=> Float
2548
+ # resp.idle_recommendations[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2549
+ # resp.idle_recommendations[0].savings_opportunity.estimated_monthly_savings.value #=> Float
2550
+ # resp.idle_recommendations[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
2551
+ # resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2552
+ # resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
2553
+ # resp.idle_recommendations[0].utilization_metrics #=> Array
2554
+ # resp.idle_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "NetworkOutBytesPerSecond", "NetworkInBytesPerSecond", "DatabaseConnections", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond"
2555
+ # resp.idle_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
2556
+ # resp.idle_recommendations[0].utilization_metrics[0].value #=> Float
2557
+ # resp.idle_recommendations[0].look_back_period_in_days #=> Float
2558
+ # resp.idle_recommendations[0].last_refresh_timestamp #=> Time
2559
+ # resp.idle_recommendations[0].tags #=> Array
2560
+ # resp.idle_recommendations[0].tags[0].key #=> String
2561
+ # resp.idle_recommendations[0].tags[0].value #=> String
2562
+ # resp.errors #=> Array
2563
+ # resp.errors[0].identifier #=> String
2564
+ # resp.errors[0].code #=> String
2565
+ # resp.errors[0].message #=> String
2566
+ # resp.errors[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance"
2567
+ #
2568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetIdleRecommendations AWS API Documentation
2569
+ #
2570
+ # @overload get_idle_recommendations(params = {})
2571
+ # @param [Hash] params ({})
2572
+ def get_idle_recommendations(params = {}, options = {})
2573
+ req = build_request(:get_idle_recommendations, params)
2574
+ req.send_request(options)
2575
+ end
2576
+
2343
2577
  # Returns Lambda function recommendations.
2344
2578
  #
2345
2579
  # Compute Optimizer generates recommendations for functions that meet a
@@ -2617,7 +2851,7 @@ module Aws::ComputeOptimizer
2617
2851
  # resp.recommended_option_projected_metrics[0].recommended_db_instance_class #=> String
2618
2852
  # resp.recommended_option_projected_metrics[0].rank #=> Integer
2619
2853
  # 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"
2854
+ # 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
2855
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
2622
2856
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
2623
2857
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
@@ -2715,23 +2949,26 @@ module Aws::ComputeOptimizer
2715
2949
  # resp.rds_db_recommendations[0].account_id #=> String
2716
2950
  # resp.rds_db_recommendations[0].engine #=> String
2717
2951
  # resp.rds_db_recommendations[0].engine_version #=> String
2952
+ # resp.rds_db_recommendations[0].promotion_tier #=> Integer
2718
2953
  # resp.rds_db_recommendations[0].current_db_instance_class #=> String
2719
2954
  # resp.rds_db_recommendations[0].current_storage_configuration.storage_type #=> String
2720
2955
  # resp.rds_db_recommendations[0].current_storage_configuration.allocated_storage #=> Integer
2721
2956
  # resp.rds_db_recommendations[0].current_storage_configuration.iops #=> Integer
2722
2957
  # resp.rds_db_recommendations[0].current_storage_configuration.max_allocated_storage #=> Integer
2723
2958
  # resp.rds_db_recommendations[0].current_storage_configuration.storage_throughput #=> Integer
2959
+ # resp.rds_db_recommendations[0].db_cluster_identifier #=> String
2724
2960
  # resp.rds_db_recommendations[0].idle #=> String, one of "True", "False"
2725
2961
  # resp.rds_db_recommendations[0].instance_finding #=> String, one of "Optimized", "Underprovisioned", "Overprovisioned"
2726
2962
  # resp.rds_db_recommendations[0].storage_finding #=> String, one of "Optimized", "Underprovisioned", "Overprovisioned"
2727
2963
  # 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"
2964
+ # 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"
2965
+ # resp.rds_db_recommendations[0].current_instance_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
2729
2966
  # resp.rds_db_recommendations[0].storage_finding_reason_codes #=> Array
2730
2967
  # resp.rds_db_recommendations[0].storage_finding_reason_codes[0] #=> String, one of "EBSVolumeAllocatedStorageUnderprovisioned", "EBSVolumeThroughputUnderprovisioned", "EBSVolumeIOPSOverprovisioned", "EBSVolumeThroughputOverprovisioned", "NewGenerationStorageTypeAvailable"
2731
2968
  # resp.rds_db_recommendations[0].instance_recommendation_options #=> Array
2732
2969
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].db_instance_class #=> String
2733
2970
  # 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"
2971
+ # 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
2972
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Minimum", "Average"
2736
2973
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].value #=> Float
2737
2974
  # resp.rds_db_recommendations[0].instance_recommendation_options[0].performance_risk #=> Float
@@ -2756,7 +2993,7 @@ module Aws::ComputeOptimizer
2756
2993
  # resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2757
2994
  # resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
2758
2995
  # 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"
2996
+ # 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
2997
  # resp.rds_db_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Minimum", "Average"
2761
2998
  # resp.rds_db_recommendations[0].utilization_metrics[0].value #=> Float
2762
2999
  # resp.rds_db_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
@@ -2841,7 +3078,7 @@ module Aws::ComputeOptimizer
2841
3078
  # @example Request syntax with placeholder values
2842
3079
  #
2843
3080
  # resp = client.get_recommendation_preferences({
2844
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
3081
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, Idle
2845
3082
  # scope: {
2846
3083
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
2847
3084
  # value: "ScopeValue",
@@ -2856,7 +3093,7 @@ module Aws::ComputeOptimizer
2856
3093
  # resp.recommendation_preferences_details #=> Array
2857
3094
  # resp.recommendation_preferences_details[0].scope.name #=> String, one of "Organization", "AccountId", "ResourceArn"
2858
3095
  # 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"
3096
+ # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance", "Idle"
2860
3097
  # resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
2861
3098
  # resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
2862
3099
  # resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
@@ -2948,11 +3185,20 @@ module Aws::ComputeOptimizer
2948
3185
  # resp.recommendation_summaries[0].summaries[0].reason_code_summaries #=> Array
2949
3186
  # resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].name #=> String, one of "MemoryOverprovisioned", "MemoryUnderprovisioned"
2950
3187
  # resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].value #=> Float
3188
+ # resp.recommendation_summaries[0].idle_summaries #=> Array
3189
+ # resp.recommendation_summaries[0].idle_summaries[0].name #=> String, one of "Idle", "Unattached"
3190
+ # resp.recommendation_summaries[0].idle_summaries[0].value #=> Float
2951
3191
  # resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage"
2952
3192
  # resp.recommendation_summaries[0].account_id #=> String
2953
3193
  # resp.recommendation_summaries[0].savings_opportunity.savings_opportunity_percentage #=> Float
2954
3194
  # resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
2955
3195
  # resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.value #=> Float
3196
+ # resp.recommendation_summaries[0].idle_savings_opportunity.savings_opportunity_percentage #=> Float
3197
+ # resp.recommendation_summaries[0].idle_savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
3198
+ # resp.recommendation_summaries[0].idle_savings_opportunity.estimated_monthly_savings.value #=> Float
3199
+ # resp.recommendation_summaries[0].aggregated_savings_opportunity.savings_opportunity_percentage #=> Float
3200
+ # resp.recommendation_summaries[0].aggregated_savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
3201
+ # resp.recommendation_summaries[0].aggregated_savings_opportunity.estimated_monthly_savings.value #=> Float
2956
3202
  # resp.recommendation_summaries[0].current_performance_risk_ratings.high #=> Integer
2957
3203
  # resp.recommendation_summaries[0].current_performance_risk_ratings.medium #=> Integer
2958
3204
  # resp.recommendation_summaries[0].current_performance_risk_ratings.low #=> Integer
@@ -3140,7 +3386,7 @@ module Aws::ComputeOptimizer
3140
3386
  # @example Request syntax with placeholder values
3141
3387
  #
3142
3388
  # resp = client.put_recommendation_preferences({
3143
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
3389
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance, Idle
3144
3390
  # scope: {
3145
3391
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
3146
3392
  # value: "ScopeValue",
@@ -3273,7 +3519,7 @@ module Aws::ComputeOptimizer
3273
3519
  tracer: tracer
3274
3520
  )
3275
3521
  context[:gem_name] = 'aws-sdk-computeoptimizer'
3276
- context[:gem_version] = '1.70.0'
3522
+ context[:gem_version] = '1.71.0'
3277
3523
  Seahorse::Client::Request.new(handlers, context)
3278
3524
  end
3279
3525