aws-sdk-computeoptimizer 1.69.0 → 1.71.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -81,7 +81,7 @@ module Aws
81
81
  end
82
82
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#delete_recommendation_preferences-instance_method
83
83
  def delete_recommendation_preferences: (
84
- resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance"),
84
+ resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle"),
85
85
  ?scope: {
86
86
  name: ("Organization" | "AccountId" | "ResourceArn")?,
87
87
  value: ::String?
@@ -211,6 +211,30 @@ module Aws
211
211
  ) -> _ExportECSServiceRecommendationsResponseSuccess
212
212
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportECSServiceRecommendationsResponseSuccess
213
213
 
214
+ interface _ExportIdleRecommendationsResponseSuccess
215
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportIdleRecommendationsResponse]
216
+ def job_id: () -> ::String
217
+ def s3_destination: () -> Types::S3Destination
218
+ end
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_idle_recommendations-instance_method
220
+ def export_idle_recommendations: (
221
+ ?account_ids: Array[::String],
222
+ ?filters: Array[
223
+ {
224
+ name: ("Finding" | "ResourceType")?,
225
+ values: Array[::String]?
226
+ },
227
+ ],
228
+ ?fields_to_export: Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "Finding" | "FindingDescription" | "Tags")],
229
+ s3_destination_config: {
230
+ bucket: ::String?,
231
+ key_prefix: ::String?
232
+ },
233
+ ?file_format: ("Csv"),
234
+ ?include_member_accounts: bool
235
+ ) -> _ExportIdleRecommendationsResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportIdleRecommendationsResponseSuccess
237
+
214
238
  interface _ExportLambdaFunctionRecommendationsResponseSuccess
215
239
  include ::Seahorse::Client::_ResponseSuccess[Types::ExportLambdaFunctionRecommendationsResponse]
216
240
  def job_id: () -> ::String
@@ -273,7 +297,7 @@ module Aws
273
297
  values: Array[::String]?
274
298
  },
275
299
  ],
276
- ?fields_to_export: Array[("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")],
300
+ ?fields_to_export: Array[("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")],
277
301
  s3_destination_config: {
278
302
  bucket: ::String?,
279
303
  key_prefix: ::String?
@@ -452,6 +476,31 @@ module Aws
452
476
  ) -> _GetEnrollmentStatusesForOrganizationResponseSuccess
453
477
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnrollmentStatusesForOrganizationResponseSuccess
454
478
 
479
+ interface _GetIdleRecommendationsResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdleRecommendationsResponse]
481
+ def next_token: () -> ::String
482
+ def idle_recommendations: () -> ::Array[Types::IdleRecommendation]
483
+ def errors: () -> ::Array[Types::IdleRecommendationError]
484
+ end
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_idle_recommendations-instance_method
486
+ def get_idle_recommendations: (
487
+ ?resource_arns: Array[::String],
488
+ ?next_token: ::String,
489
+ ?max_results: ::Integer,
490
+ ?filters: Array[
491
+ {
492
+ name: ("Finding" | "ResourceType")?,
493
+ values: Array[::String]?
494
+ },
495
+ ],
496
+ ?account_ids: Array[::String],
497
+ ?order_by: {
498
+ dimension: ("SavingsValue" | "SavingsValueAfterDiscount")?,
499
+ order: ("Asc" | "Desc")?
500
+ }
501
+ ) -> _GetIdleRecommendationsResponseSuccess
502
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdleRecommendationsResponseSuccess
503
+
455
504
  interface _GetLambdaFunctionRecommendationsResponseSuccess
456
505
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLambdaFunctionRecommendationsResponse]
457
506
  def next_token: () -> ::String
@@ -541,7 +590,7 @@ module Aws
541
590
  end
542
591
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_recommendation_preferences-instance_method
543
592
  def get_recommendation_preferences: (
544
- resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance"),
593
+ resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle"),
545
594
  ?scope: {
546
595
  name: ("Organization" | "AccountId" | "ResourceArn")?,
547
596
  value: ::String?
@@ -569,7 +618,7 @@ module Aws
569
618
  end
570
619
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#put_recommendation_preferences-instance_method
571
620
  def put_recommendation_preferences: (
572
- resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance"),
621
+ resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle"),
573
622
  ?scope: {
574
623
  name: ("Organization" | "AccountId" | "ResourceArn")?,
575
624
  value: ::String?
data/sig/types.rbs CHANGED
@@ -108,7 +108,7 @@ module Aws::ComputeOptimizer
108
108
  end
109
109
 
110
110
  class DeleteRecommendationPreferencesRequest
111
- attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
111
+ attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle")
112
112
  attr_accessor scope: Types::Scope
113
113
  attr_accessor recommendation_preference_names: ::Array[("EnhancedInfrastructureMetrics" | "InferredWorkloadTypes" | "ExternalMetricsPreference" | "LookBackPeriodPreference" | "PreferredResources" | "UtilizationPreferences")]
114
114
  SENSITIVE: []
@@ -354,6 +354,22 @@ module Aws::ComputeOptimizer
354
354
  SENSITIVE: []
355
355
  end
356
356
 
357
+ class ExportIdleRecommendationsRequest
358
+ attr_accessor account_ids: ::Array[::String]
359
+ attr_accessor filters: ::Array[Types::IdleRecommendationFilter]
360
+ attr_accessor fields_to_export: ::Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "Finding" | "FindingDescription" | "Tags")]
361
+ attr_accessor s3_destination_config: Types::S3DestinationConfig
362
+ attr_accessor file_format: ("Csv")
363
+ attr_accessor include_member_accounts: bool
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class ExportIdleRecommendationsResponse
368
+ attr_accessor job_id: ::String
369
+ attr_accessor s3_destination: Types::S3Destination
370
+ SENSITIVE: []
371
+ end
372
+
357
373
  class ExportLambdaFunctionRecommendationsRequest
358
374
  attr_accessor account_ids: ::Array[::String]
359
375
  attr_accessor filters: ::Array[Types::LambdaFunctionRecommendationFilter]
@@ -389,7 +405,7 @@ module Aws::ComputeOptimizer
389
405
  class ExportRDSDatabaseRecommendationsRequest
390
406
  attr_accessor account_ids: ::Array[::String]
391
407
  attr_accessor filters: ::Array[Types::RDSDBRecommendationFilter]
392
- attr_accessor fields_to_export: ::Array[("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")]
408
+ attr_accessor fields_to_export: ::Array[("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")]
393
409
  attr_accessor s3_destination_config: Types::S3DestinationConfig
394
410
  attr_accessor file_format: ("Csv")
395
411
  attr_accessor include_member_accounts: bool
@@ -554,6 +570,23 @@ module Aws::ComputeOptimizer
554
570
  SENSITIVE: []
555
571
  end
556
572
 
573
+ class GetIdleRecommendationsRequest
574
+ attr_accessor resource_arns: ::Array[::String]
575
+ attr_accessor next_token: ::String
576
+ attr_accessor max_results: ::Integer
577
+ attr_accessor filters: ::Array[Types::IdleRecommendationFilter]
578
+ attr_accessor account_ids: ::Array[::String]
579
+ attr_accessor order_by: Types::OrderBy
580
+ SENSITIVE: []
581
+ end
582
+
583
+ class GetIdleRecommendationsResponse
584
+ attr_accessor next_token: ::String
585
+ attr_accessor idle_recommendations: ::Array[Types::IdleRecommendation]
586
+ attr_accessor errors: ::Array[Types::IdleRecommendationError]
587
+ SENSITIVE: []
588
+ end
589
+
557
590
  class GetLambdaFunctionRecommendationsRequest
558
591
  attr_accessor function_arns: ::Array[::String]
559
592
  attr_accessor account_ids: ::Array[::String]
@@ -625,7 +658,7 @@ module Aws::ComputeOptimizer
625
658
  end
626
659
 
627
660
  class GetRecommendationPreferencesRequest
628
- attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
661
+ attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle")
629
662
  attr_accessor scope: Types::Scope
630
663
  attr_accessor next_token: ::String
631
664
  attr_accessor max_results: ::Integer
@@ -662,6 +695,67 @@ module Aws::ComputeOptimizer
662
695
  SENSITIVE: []
663
696
  end
664
697
 
698
+ class IdleEstimatedMonthlySavings
699
+ attr_accessor currency: ("USD" | "CNY")
700
+ attr_accessor value: ::Float
701
+ SENSITIVE: []
702
+ end
703
+
704
+ class IdleRecommendation
705
+ attr_accessor resource_arn: ::String
706
+ attr_accessor resource_id: ::String
707
+ attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance")
708
+ attr_accessor account_id: ::String
709
+ attr_accessor finding: ("Idle" | "Unattached")
710
+ attr_accessor finding_description: ::String
711
+ attr_accessor savings_opportunity: Types::IdleSavingsOpportunity
712
+ attr_accessor savings_opportunity_after_discounts: Types::IdleSavingsOpportunityAfterDiscounts
713
+ attr_accessor utilization_metrics: ::Array[Types::IdleUtilizationMetric]
714
+ attr_accessor look_back_period_in_days: ::Float
715
+ attr_accessor last_refresh_timestamp: ::Time
716
+ attr_accessor tags: ::Array[Types::Tag]
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class IdleRecommendationError
721
+ attr_accessor identifier: ::String
722
+ attr_accessor code: ::String
723
+ attr_accessor message: ::String
724
+ attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance")
725
+ SENSITIVE: []
726
+ end
727
+
728
+ class IdleRecommendationFilter
729
+ attr_accessor name: ("Finding" | "ResourceType")
730
+ attr_accessor values: ::Array[::String]
731
+ SENSITIVE: []
732
+ end
733
+
734
+ class IdleSavingsOpportunity
735
+ attr_accessor savings_opportunity_percentage: ::Float
736
+ attr_accessor estimated_monthly_savings: Types::IdleEstimatedMonthlySavings
737
+ SENSITIVE: []
738
+ end
739
+
740
+ class IdleSavingsOpportunityAfterDiscounts
741
+ attr_accessor savings_opportunity_percentage: ::Float
742
+ attr_accessor estimated_monthly_savings: Types::IdleEstimatedMonthlySavings
743
+ SENSITIVE: []
744
+ end
745
+
746
+ class IdleSummary
747
+ attr_accessor name: ("Idle" | "Unattached")
748
+ attr_accessor value: ::Float
749
+ SENSITIVE: []
750
+ end
751
+
752
+ class IdleUtilizationMetric
753
+ attr_accessor name: ("CPU" | "Memory" | "NetworkOutBytesPerSecond" | "NetworkInBytesPerSecond" | "DatabaseConnections" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond")
754
+ attr_accessor statistic: ("Maximum" | "Average")
755
+ attr_accessor value: ::Float
756
+ SENSITIVE: []
757
+ end
758
+
665
759
  class InferredWorkloadSaving
666
760
  attr_accessor inferred_workload_types: ::Array[("AmazonEmr" | "ApacheCassandra" | "ApacheHadoop" | "Memcached" | "Nginx" | "PostgreSql" | "Redis" | "Kafka" | "SQLServer")]
667
761
  attr_accessor estimated_monthly_savings: Types::EstimatedMonthlySavings
@@ -873,6 +967,12 @@ module Aws::ComputeOptimizer
873
967
  SENSITIVE: []
874
968
  end
875
969
 
970
+ class OrderBy
971
+ attr_accessor dimension: ("SavingsValue" | "SavingsValueAfterDiscount")
972
+ attr_accessor order: ("Asc" | "Desc")
973
+ SENSITIVE: []
974
+ end
975
+
876
976
  class PreferredResource
877
977
  attr_accessor name: ("Ec2InstanceTypes")
878
978
  attr_accessor include_list: ::Array[::String]
@@ -888,7 +988,7 @@ module Aws::ComputeOptimizer
888
988
  end
889
989
 
890
990
  class PutRecommendationPreferencesRequest
891
- attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
991
+ attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle")
892
992
  attr_accessor scope: Types::Scope
893
993
  attr_accessor enhanced_infrastructure_metrics: ("Active" | "Inactive")
894
994
  attr_accessor inferred_workload_types: ("Active" | "Inactive")
@@ -918,12 +1018,15 @@ module Aws::ComputeOptimizer
918
1018
  attr_accessor account_id: ::String
919
1019
  attr_accessor engine: ::String
920
1020
  attr_accessor engine_version: ::String
1021
+ attr_accessor promotion_tier: ::Integer
921
1022
  attr_accessor current_db_instance_class: ::String
922
1023
  attr_accessor current_storage_configuration: Types::DBStorageConfiguration
1024
+ attr_accessor db_cluster_identifier: ::String
923
1025
  attr_accessor idle: ("True" | "False")
924
1026
  attr_accessor instance_finding: ("Optimized" | "Underprovisioned" | "Overprovisioned")
925
1027
  attr_accessor storage_finding: ("Optimized" | "Underprovisioned" | "Overprovisioned")
926
- attr_accessor instance_finding_reason_codes: ::Array[("CPUOverprovisioned" | "NetworkBandwidthOverprovisioned" | "EBSIOPSOverprovisioned" | "EBSThroughputOverprovisioned" | "CPUUnderprovisioned" | "NetworkBandwidthUnderprovisioned" | "EBSThroughputUnderprovisioned" | "NewGenerationDBInstanceClassAvailable" | "NewEngineVersionAvailable")]
1028
+ attr_accessor instance_finding_reason_codes: ::Array[("CPUOverprovisioned" | "NetworkBandwidthOverprovisioned" | "EBSIOPSOverprovisioned" | "EBSIOPSUnderprovisioned" | "EBSThroughputOverprovisioned" | "CPUUnderprovisioned" | "NetworkBandwidthUnderprovisioned" | "EBSThroughputUnderprovisioned" | "NewGenerationDBInstanceClassAvailable" | "NewEngineVersionAvailable" | "DBClusterWriterUnderprovisioned" | "MemoryUnderprovisioned" | "InstanceStorageReadIOPSUnderprovisioned" | "InstanceStorageWriteIOPSUnderprovisioned")]
1029
+ attr_accessor current_instance_performance_risk: ("VeryLow" | "Low" | "Medium" | "High")
927
1030
  attr_accessor storage_finding_reason_codes: ::Array[("EBSVolumeAllocatedStorageUnderprovisioned" | "EBSVolumeThroughputUnderprovisioned" | "EBSVolumeIOPSOverprovisioned" | "EBSVolumeThroughputOverprovisioned" | "NewGenerationStorageTypeAvailable")]
928
1031
  attr_accessor instance_recommendation_options: ::Array[Types::RDSDBInstanceRecommendationOption]
929
1032
  attr_accessor storage_recommendation_options: ::Array[Types::RDSDBStorageRecommendationOption]
@@ -950,14 +1053,14 @@ module Aws::ComputeOptimizer
950
1053
  end
951
1054
 
952
1055
  class RDSDBUtilizationMetric
953
- attr_accessor name: ("CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections")
1056
+ attr_accessor name: ("CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections" | "StorageNetworkReceiveThroughput" | "StorageNetworkTransmitThroughput" | "AuroraMemoryHealthState" | "AuroraMemoryNumDeclinedSql" | "AuroraMemoryNumKillConnTotal" | "AuroraMemoryNumKillQueryTotal" | "ReadIOPSEphemeralStorage" | "WriteIOPSEphemeralStorage")
954
1057
  attr_accessor statistic: ("Maximum" | "Minimum" | "Average")
955
1058
  attr_accessor value: ::Float
956
1059
  SENSITIVE: []
957
1060
  end
958
1061
 
959
1062
  class RDSDatabaseProjectedMetric
960
- attr_accessor name: ("CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections")
1063
+ attr_accessor name: ("CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections" | "StorageNetworkReceiveThroughput" | "StorageNetworkTransmitThroughput" | "AuroraMemoryHealthState" | "AuroraMemoryNumDeclinedSql" | "AuroraMemoryNumKillConnTotal" | "AuroraMemoryNumKillQueryTotal" | "ReadIOPSEphemeralStorage" | "WriteIOPSEphemeralStorage")
961
1064
  attr_accessor timestamps: ::Array[::Time]
962
1065
  attr_accessor values: ::Array[::Float]
963
1066
  SENSITIVE: []
@@ -1016,7 +1119,7 @@ module Aws::ComputeOptimizer
1016
1119
  class RecommendationExportJob
1017
1120
  attr_accessor job_id: ::String
1018
1121
  attr_accessor destination: Types::ExportDestination
1019
- attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
1122
+ attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle")
1020
1123
  attr_accessor status: ("Queued" | "InProgress" | "Complete" | "Failed")
1021
1124
  attr_accessor creation_timestamp: ::Time
1022
1125
  attr_accessor last_updated_timestamp: ::Time
@@ -1031,7 +1134,7 @@ module Aws::ComputeOptimizer
1031
1134
 
1032
1135
  class RecommendationPreferencesDetail
1033
1136
  attr_accessor scope: Types::Scope
1034
- attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
1137
+ attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "Idle")
1035
1138
  attr_accessor enhanced_infrastructure_metrics: ("Active" | "Inactive")
1036
1139
  attr_accessor inferred_workload_types: ("Active" | "Inactive")
1037
1140
  attr_accessor external_metrics_preference: Types::ExternalMetricsPreference
@@ -1050,9 +1153,12 @@ module Aws::ComputeOptimizer
1050
1153
 
1051
1154
  class RecommendationSummary
1052
1155
  attr_accessor summaries: ::Array[Types::Summary]
1156
+ attr_accessor idle_summaries: ::Array[Types::IdleSummary]
1053
1157
  attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage")
1054
1158
  attr_accessor account_id: ::String
1055
1159
  attr_accessor savings_opportunity: Types::SavingsOpportunity
1160
+ attr_accessor idle_savings_opportunity: Types::SavingsOpportunity
1161
+ attr_accessor aggregated_savings_opportunity: Types::SavingsOpportunity
1056
1162
  attr_accessor current_performance_risk_ratings: Types::CurrentPerformanceRiskRatings
1057
1163
  attr_accessor inferred_workload_savings: ::Array[Types::InferredWorkloadSaving]
1058
1164
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-computeoptimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.69.0
4
+ version: 1.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core