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.
@@ -58,34 +58,60 @@ module Aws::ComputeOptimizer
58
58
  include Aws::Structure
59
59
  end
60
60
 
61
- # Describes the configuration of an Auto Scaling group.
61
+ # Describes the configuration of an EC2 Auto Scaling group.
62
62
  #
63
63
  # @!attribute [rw] desired_capacity
64
- # The desired capacity, or number of instances, for the Auto Scaling
65
- # group.
64
+ # The desired capacity, or number of instances, for the EC2 Auto
65
+ # Scaling group.
66
66
  # @return [Integer]
67
67
  #
68
68
  # @!attribute [rw] min_size
69
- # The minimum size, or minimum number of instances, for the Auto
69
+ # The minimum size, or minimum number of instances, for the EC2 Auto
70
70
  # Scaling group.
71
71
  # @return [Integer]
72
72
  #
73
73
  # @!attribute [rw] max_size
74
- # The maximum size, or maximum number of instances, for the Auto
74
+ # The maximum size, or maximum number of instances, for the EC2 Auto
75
75
  # Scaling group.
76
76
  # @return [Integer]
77
77
  #
78
78
  # @!attribute [rw] instance_type
79
- # The instance type for the Auto Scaling group.
79
+ # The instance type for the EC2 Auto Scaling group.
80
+ # @return [String]
81
+ #
82
+ # @!attribute [rw] allocation_strategy
83
+ # Describes the allocation strategy that the EC2 Auto Scaling group
84
+ # uses. This field is only available for EC2 Auto Scaling groups with
85
+ # mixed instance types.
86
+ # @return [String]
87
+ #
88
+ # @!attribute [rw] estimated_instance_hour_reduction_percentage
89
+ # Describes the projected percentage reduction in instance hours after
90
+ # adopting the recommended configuration. This field is only available
91
+ # for EC2 Auto Scaling groups with scaling policies.
92
+ # @return [Float]
93
+ #
94
+ # @!attribute [rw] type
95
+ # Describes whether the EC2 Auto Scaling group has a single instance
96
+ # type or a mixed instance type configuration.
80
97
  # @return [String]
81
98
  #
99
+ # @!attribute [rw] mixed_instance_types
100
+ # List the instance types within an EC2 Auto Scaling group that has
101
+ # mixed instance types.
102
+ # @return [Array<String>]
103
+ #
82
104
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupConfiguration AWS API Documentation
83
105
  #
84
106
  class AutoScalingGroupConfiguration < Struct.new(
85
107
  :desired_capacity,
86
108
  :min_size,
87
109
  :max_size,
88
- :instance_type)
110
+ :instance_type,
111
+ :allocation_strategy,
112
+ :estimated_instance_hour_reduction_percentage,
113
+ :type,
114
+ :mixed_instance_types)
89
115
  SENSITIVE = []
90
116
  include Aws::Structure
91
117
  end
@@ -2007,6 +2033,121 @@ module Aws::ComputeOptimizer
2007
2033
  include Aws::Structure
2008
2034
  end
2009
2035
 
2036
+ # @!attribute [rw] account_ids
2037
+ # The Amazon Web Services account IDs for the export idle resource
2038
+ # recommendations.
2039
+ #
2040
+ # If your account is the management account or the delegated
2041
+ # administrator of an organization, use this parameter to specify the
2042
+ # member account you want to export recommendations to.
2043
+ #
2044
+ # This parameter can't be specified together with the include member
2045
+ # accounts parameter. The parameters are mutually exclusive.
2046
+ #
2047
+ # If this parameter or the include member accounts parameter is
2048
+ # omitted, the recommendations for member accounts aren't included in
2049
+ # the export.
2050
+ #
2051
+ # You can specify multiple account IDs per request.
2052
+ # @return [Array<String>]
2053
+ #
2054
+ # @!attribute [rw] filters
2055
+ # An array of objects to specify a filter that exports a more specific
2056
+ # set of idle resource recommendations.
2057
+ # @return [Array<Types::IdleRecommendationFilter>]
2058
+ #
2059
+ # @!attribute [rw] fields_to_export
2060
+ # The recommendations data to include in the export file. For more
2061
+ # information about the fields that can be exported, see [Exported
2062
+ # files][1] in the *Compute Optimizer User Guide*.
2063
+ #
2064
+ #
2065
+ #
2066
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
2067
+ # @return [Array<String>]
2068
+ #
2069
+ # @!attribute [rw] s3_destination_config
2070
+ # Describes the destination Amazon Simple Storage Service (Amazon S3)
2071
+ # bucket name and key prefix for a recommendations export job.
2072
+ #
2073
+ # You must create the destination Amazon S3 bucket for your
2074
+ # recommendations export before you create the export job. Compute
2075
+ # Optimizer does not create the S3 bucket for you. After you create
2076
+ # the S3 bucket, ensure that it has the required permission policy to
2077
+ # allow Compute Optimizer to write the export file to it. If you plan
2078
+ # to specify an object prefix when you create the export job, you must
2079
+ # include the object prefix in the policy that you add to the S3
2080
+ # bucket. For more information, see [Amazon S3 Bucket Policy for
2081
+ # Compute Optimizer][1] in the *Compute Optimizer User Guide*.
2082
+ #
2083
+ #
2084
+ #
2085
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
2086
+ # @return [Types::S3DestinationConfig]
2087
+ #
2088
+ # @!attribute [rw] file_format
2089
+ # The format of the export file. The CSV file is the only export file
2090
+ # format currently supported.
2091
+ # @return [String]
2092
+ #
2093
+ # @!attribute [rw] include_member_accounts
2094
+ # If your account is the management account or the delegated
2095
+ # administrator of an organization, this parameter indicates whether
2096
+ # to include recommendations for resources in all member accounts of
2097
+ # the organization.
2098
+ #
2099
+ # The member accounts must also be opted in to Compute Optimizer, and
2100
+ # trusted access for Compute Optimizer must be enabled in the
2101
+ # organization account. For more information, see [Compute Optimizer
2102
+ # and Amazon Web Services Organizations trusted access][1] in the
2103
+ # *Compute Optimizer User Guide*.
2104
+ #
2105
+ # If this parameter is omitted, recommendations for member accounts of
2106
+ # the organization aren't included in the export file.
2107
+ #
2108
+ # If this parameter or the account ID parameter is omitted,
2109
+ # recommendations for member accounts aren't included in the export.
2110
+ #
2111
+ #
2112
+ #
2113
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
2114
+ # @return [Boolean]
2115
+ #
2116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportIdleRecommendationsRequest AWS API Documentation
2117
+ #
2118
+ class ExportIdleRecommendationsRequest < Struct.new(
2119
+ :account_ids,
2120
+ :filters,
2121
+ :fields_to_export,
2122
+ :s3_destination_config,
2123
+ :file_format,
2124
+ :include_member_accounts)
2125
+ SENSITIVE = []
2126
+ include Aws::Structure
2127
+ end
2128
+
2129
+ # @!attribute [rw] job_id
2130
+ # The identification number of the export job.
2131
+ #
2132
+ # To view the status of an export job, use the
2133
+ # DescribeRecommendationExportJobs action and specify the job ID.
2134
+ # @return [String]
2135
+ #
2136
+ # @!attribute [rw] s3_destination
2137
+ # Describes the destination Amazon Simple Storage Service (Amazon S3)
2138
+ # bucket name and object keys of a recommendations export file, and
2139
+ # its associated metadata file.
2140
+ # @return [Types::S3Destination]
2141
+ #
2142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportIdleRecommendationsResponse AWS API Documentation
2143
+ #
2144
+ class ExportIdleRecommendationsResponse < Struct.new(
2145
+ :job_id,
2146
+ :s3_destination)
2147
+ SENSITIVE = []
2148
+ include Aws::Structure
2149
+ end
2150
+
2010
2151
  # @!attribute [rw] account_ids
2011
2152
  # The IDs of the Amazon Web Services accounts for which to export
2012
2153
  # Lambda function recommendations.
@@ -3168,6 +3309,79 @@ module Aws::ComputeOptimizer
3168
3309
  include Aws::Structure
3169
3310
  end
3170
3311
 
3312
+ # @!attribute [rw] resource_arns
3313
+ # The ARN that identifies the idle resource.
3314
+ # @return [Array<String>]
3315
+ #
3316
+ # @!attribute [rw] next_token
3317
+ # The token to advance to the next page of idle resource
3318
+ # recommendations.
3319
+ # @return [String]
3320
+ #
3321
+ # @!attribute [rw] max_results
3322
+ # The maximum number of idle resource recommendations to return with a
3323
+ # single request.
3324
+ #
3325
+ # To retrieve the remaining results, make another request with the
3326
+ # returned `nextToken` value.
3327
+ # @return [Integer]
3328
+ #
3329
+ # @!attribute [rw] filters
3330
+ # An array of objects to specify a filter that returns a more specific
3331
+ # list of idle resource recommendations.
3332
+ # @return [Array<Types::IdleRecommendationFilter>]
3333
+ #
3334
+ # @!attribute [rw] account_ids
3335
+ # Return the idle resource recommendations to the specified Amazon Web
3336
+ # Services account IDs.
3337
+ #
3338
+ # If your account is the management account or the delegated
3339
+ # administrator of an organization, use this parameter to return the
3340
+ # idle resource recommendations to specific member accounts.
3341
+ #
3342
+ # You can only specify one account ID per request.
3343
+ # @return [Array<String>]
3344
+ #
3345
+ # @!attribute [rw] order_by
3346
+ # The order to sort the idle resource recommendations.
3347
+ # @return [Types::OrderBy]
3348
+ #
3349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetIdleRecommendationsRequest AWS API Documentation
3350
+ #
3351
+ class GetIdleRecommendationsRequest < Struct.new(
3352
+ :resource_arns,
3353
+ :next_token,
3354
+ :max_results,
3355
+ :filters,
3356
+ :account_ids,
3357
+ :order_by)
3358
+ SENSITIVE = []
3359
+ include Aws::Structure
3360
+ end
3361
+
3362
+ # @!attribute [rw] next_token
3363
+ # The token to advance to the next page of idle resource
3364
+ # recommendations.
3365
+ # @return [String]
3366
+ #
3367
+ # @!attribute [rw] idle_recommendations
3368
+ # An array of objects that describe the idle resource recommendations.
3369
+ # @return [Array<Types::IdleRecommendation>]
3370
+ #
3371
+ # @!attribute [rw] errors
3372
+ # An array of objects that describe errors of the request.
3373
+ # @return [Array<Types::IdleRecommendationError>]
3374
+ #
3375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetIdleRecommendationsResponse AWS API Documentation
3376
+ #
3377
+ class GetIdleRecommendationsResponse < Struct.new(
3378
+ :next_token,
3379
+ :idle_recommendations,
3380
+ :errors)
3381
+ SENSITIVE = []
3382
+ include Aws::Structure
3383
+ end
3384
+
3171
3385
  # @!attribute [rw] function_arns
3172
3386
  # The Amazon Resource Name (ARN) of the functions for which to return
3173
3387
  # recommendations.
@@ -3642,6 +3856,277 @@ module Aws::ComputeOptimizer
3642
3856
  include Aws::Structure
3643
3857
  end
3644
3858
 
3859
+ # Describes the estimated monthly savings possible for idle resources by
3860
+ # adopting Compute Optimizer recommendations.
3861
+ #
3862
+ # @!attribute [rw] currency
3863
+ # The currency of the estimated monthly savings.
3864
+ # @return [String]
3865
+ #
3866
+ # @!attribute [rw] value
3867
+ # The value of the estimated monthly savings for Idle resources.
3868
+ # @return [Float]
3869
+ #
3870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleEstimatedMonthlySavings AWS API Documentation
3871
+ #
3872
+ class IdleEstimatedMonthlySavings < Struct.new(
3873
+ :currency,
3874
+ :value)
3875
+ SENSITIVE = []
3876
+ include Aws::Structure
3877
+ end
3878
+
3879
+ # Describes an Idle resource recommendation.
3880
+ #
3881
+ # @!attribute [rw] resource_arn
3882
+ # The ARN of the current idle resource.
3883
+ # @return [String]
3884
+ #
3885
+ # @!attribute [rw] resource_id
3886
+ # The unique identifier for the resource.
3887
+ # @return [String]
3888
+ #
3889
+ # @!attribute [rw] resource_type
3890
+ # The type of resource that is idle.
3891
+ # @return [String]
3892
+ #
3893
+ # @!attribute [rw] account_id
3894
+ # The Amazon Web Services account ID of the idle resource.
3895
+ # @return [String]
3896
+ #
3897
+ # @!attribute [rw] finding
3898
+ # The finding classification of an idle resource.
3899
+ # @return [String]
3900
+ #
3901
+ # @!attribute [rw] finding_description
3902
+ # A summary of the findings for the resource.
3903
+ # @return [String]
3904
+ #
3905
+ # @!attribute [rw] savings_opportunity
3906
+ # The savings opportunity for the idle resource.
3907
+ # @return [Types::IdleSavingsOpportunity]
3908
+ #
3909
+ # @!attribute [rw] savings_opportunity_after_discounts
3910
+ # The savings opportunity for the idle resource after any applying
3911
+ # discounts.
3912
+ # @return [Types::IdleSavingsOpportunityAfterDiscounts]
3913
+ #
3914
+ # @!attribute [rw] utilization_metrics
3915
+ # An array of objects that describe the utilization metrics of the
3916
+ # idle resource.
3917
+ # @return [Array<Types::IdleUtilizationMetric>]
3918
+ #
3919
+ # @!attribute [rw] look_back_period_in_days
3920
+ # The number of days the idle resource utilization metrics were
3921
+ # analyzed.
3922
+ # @return [Float]
3923
+ #
3924
+ # @!attribute [rw] last_refresh_timestamp
3925
+ # The timestamp of when the idle resource recommendation was last
3926
+ # generated.
3927
+ # @return [Time]
3928
+ #
3929
+ # @!attribute [rw] tags
3930
+ # A list of tags assigned to your idle resource recommendations.
3931
+ # @return [Array<Types::Tag>]
3932
+ #
3933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleRecommendation AWS API Documentation
3934
+ #
3935
+ class IdleRecommendation < Struct.new(
3936
+ :resource_arn,
3937
+ :resource_id,
3938
+ :resource_type,
3939
+ :account_id,
3940
+ :finding,
3941
+ :finding_description,
3942
+ :savings_opportunity,
3943
+ :savings_opportunity_after_discounts,
3944
+ :utilization_metrics,
3945
+ :look_back_period_in_days,
3946
+ :last_refresh_timestamp,
3947
+ :tags)
3948
+ SENSITIVE = []
3949
+ include Aws::Structure
3950
+ end
3951
+
3952
+ # Returns of list of resources that doesn't have idle recommendations.
3953
+ #
3954
+ # @!attribute [rw] identifier
3955
+ # The ID of the error.
3956
+ # @return [String]
3957
+ #
3958
+ # @!attribute [rw] code
3959
+ # The error code.
3960
+ # @return [String]
3961
+ #
3962
+ # @!attribute [rw] message
3963
+ # The error message.
3964
+ # @return [String]
3965
+ #
3966
+ # @!attribute [rw] resource_type
3967
+ # The type of resource associated with the error.
3968
+ # @return [String]
3969
+ #
3970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleRecommendationError AWS API Documentation
3971
+ #
3972
+ class IdleRecommendationError < Struct.new(
3973
+ :identifier,
3974
+ :code,
3975
+ :message,
3976
+ :resource_type)
3977
+ SENSITIVE = []
3978
+ include Aws::Structure
3979
+ end
3980
+
3981
+ # Describes a filter that returns a more specific list of idle resource
3982
+ # recommendations.
3983
+ #
3984
+ # @!attribute [rw] name
3985
+ # The name of the filter.
3986
+ #
3987
+ # Specify `Finding` to return recommendations with a specific finding
3988
+ # classification.
3989
+ #
3990
+ # You can filter your idle resource recommendations by `tag:key` and
3991
+ # `tag-key` tags.
3992
+ #
3993
+ # A `tag:key` is a key and value combination of a tag assigned to your
3994
+ # idle resource recommendations. Use the tag key in the filter name
3995
+ # and the tag value as the filter value. For example, to find all idle
3996
+ # resource service recommendations that have a tag with the key of
3997
+ # `Owner` and the value of `TeamA`, specify `tag:Owner` for the filter
3998
+ # name and `TeamA` for the filter value.
3999
+ #
4000
+ # A `tag-key` is the key of a tag assigned to your idle resource
4001
+ # recommendations. Use this filter to find all of your idle resource
4002
+ # recommendations that have a tag with a specific key. This doesn’t
4003
+ # consider the tag value. For example, you can find your idle resource
4004
+ # service recommendations with a tag key value of `Owner` or without
4005
+ # any tag keys assigned.
4006
+ # @return [String]
4007
+ #
4008
+ # @!attribute [rw] values
4009
+ # The value of the filter.
4010
+ # @return [Array<String>]
4011
+ #
4012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleRecommendationFilter AWS API Documentation
4013
+ #
4014
+ class IdleRecommendationFilter < Struct.new(
4015
+ :name,
4016
+ :values)
4017
+ SENSITIVE = []
4018
+ include Aws::Structure
4019
+ end
4020
+
4021
+ # Describes the savings opportunity for idle resource recommendations.
4022
+ #
4023
+ # @!attribute [rw] savings_opportunity_percentage
4024
+ # The estimated monthly savings possible as a percentage of monthly
4025
+ # cost by adopting Compute Optimizer's idle resource recommendations.
4026
+ # @return [Float]
4027
+ #
4028
+ # @!attribute [rw] estimated_monthly_savings
4029
+ # The estimated monthly savings possible by adopting Compute
4030
+ # Optimizer's idle resource recommendations.
4031
+ # @return [Types::IdleEstimatedMonthlySavings]
4032
+ #
4033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleSavingsOpportunity AWS API Documentation
4034
+ #
4035
+ class IdleSavingsOpportunity < Struct.new(
4036
+ :savings_opportunity_percentage,
4037
+ :estimated_monthly_savings)
4038
+ SENSITIVE = []
4039
+ include Aws::Structure
4040
+ end
4041
+
4042
+ # Describes the savings opportunity for idle resource recommendations
4043
+ # after applying discounts.
4044
+ #
4045
+ # Savings opportunity represents the estimated monthly savings after
4046
+ # applying discounts. You can achieve this by implementing a given
4047
+ # Compute Optimizer recommendation.
4048
+ #
4049
+ # @!attribute [rw] savings_opportunity_percentage
4050
+ # The estimated monthly savings possible as a percentage of monthly
4051
+ # cost by adopting Compute Optimizer's idle resource recommendations.
4052
+ # This includes any applicable discounts.
4053
+ # @return [Float]
4054
+ #
4055
+ # @!attribute [rw] estimated_monthly_savings
4056
+ # The estimated monthly savings possible by adopting Compute
4057
+ # Optimizer's idle resource recommendations. This includes any
4058
+ # applicable discounts.
4059
+ # @return [Types::IdleEstimatedMonthlySavings]
4060
+ #
4061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleSavingsOpportunityAfterDiscounts AWS API Documentation
4062
+ #
4063
+ class IdleSavingsOpportunityAfterDiscounts < Struct.new(
4064
+ :savings_opportunity_percentage,
4065
+ :estimated_monthly_savings)
4066
+ SENSITIVE = []
4067
+ include Aws::Structure
4068
+ end
4069
+
4070
+ # Describes the findings summary of the idle resources.
4071
+ #
4072
+ # @!attribute [rw] name
4073
+ # The name of the finding group for the idle resources.
4074
+ # @return [String]
4075
+ #
4076
+ # @!attribute [rw] value
4077
+ # The count of idle resources in the finding group.
4078
+ # @return [Float]
4079
+ #
4080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleSummary AWS API Documentation
4081
+ #
4082
+ class IdleSummary < Struct.new(
4083
+ :name,
4084
+ :value)
4085
+ SENSITIVE = []
4086
+ include Aws::Structure
4087
+ end
4088
+
4089
+ # Describes the utilization metric of an idle resource.
4090
+ #
4091
+ # @!attribute [rw] name
4092
+ # The name of the utilization metric.
4093
+ # @return [String]
4094
+ #
4095
+ # @!attribute [rw] statistic
4096
+ # The statistic of the utilization metric.
4097
+ #
4098
+ # The Compute Optimizer API, Command Line Interface (CLI), and SDKs
4099
+ # return utilization metrics using only the `Maximum` statistic, which
4100
+ # is the highest value observed during the specified period.
4101
+ #
4102
+ # The Compute Optimizer console displays graphs for some utilization
4103
+ # metrics using the `Average` statistic, which is the value of `Sum` /
4104
+ # `SampleCount` during the specified period. For more information, see
4105
+ # [Viewing resource recommendations][1] in the *Compute Optimizer User
4106
+ # Guide*. You can also get averaged utilization metric data for your
4107
+ # resources using Amazon CloudWatch. For more information, see the
4108
+ # [Amazon CloudWatch User Guide][2].
4109
+ #
4110
+ #
4111
+ #
4112
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html
4113
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html
4114
+ # @return [String]
4115
+ #
4116
+ # @!attribute [rw] value
4117
+ # The value of the utilization metric.
4118
+ # @return [Float]
4119
+ #
4120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleUtilizationMetric AWS API Documentation
4121
+ #
4122
+ class IdleUtilizationMetric < Struct.new(
4123
+ :name,
4124
+ :statistic,
4125
+ :value)
4126
+ SENSITIVE = []
4127
+ include Aws::Structure
4128
+ end
4129
+
3645
4130
  # The estimated monthly savings after you adjust the configurations of
3646
4131
  # your instances running on the inferred workload types to the
3647
4132
  # recommended configurations. If the `inferredWorkloadTypes` list
@@ -5082,6 +5567,25 @@ module Aws::ComputeOptimizer
5082
5567
  include Aws::Structure
5083
5568
  end
5084
5569
 
5570
+ # Describes how the recommendations are ordered.
5571
+ #
5572
+ # @!attribute [rw] dimension
5573
+ # The dimension values to sort the recommendations.
5574
+ # @return [String]
5575
+ #
5576
+ # @!attribute [rw] order
5577
+ # The order to sort the recommendations.
5578
+ # @return [String]
5579
+ #
5580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/OrderBy AWS API Documentation
5581
+ #
5582
+ class OrderBy < Struct.new(
5583
+ :dimension,
5584
+ :order)
5585
+ SENSITIVE = []
5586
+ include Aws::Structure
5587
+ end
5588
+
5085
5589
  # The preference to control which resource type values are considered
5086
5590
  # when generating rightsizing recommendations. You can specify this
5087
5591
  # preference as a combination of include and exclude lists. You must
@@ -5498,6 +6002,10 @@ module Aws::ComputeOptimizer
5498
6002
  # The database engine version.
5499
6003
  # @return [String]
5500
6004
  #
6005
+ # @!attribute [rw] promotion_tier
6006
+ # The promotion tier for the Aurora instance.
6007
+ # @return [Integer]
6008
+ #
5501
6009
  # @!attribute [rw] current_db_instance_class
5502
6010
  # The DB instance class of the current RDS instance.
5503
6011
  # @return [String]
@@ -5506,6 +6014,10 @@ module Aws::ComputeOptimizer
5506
6014
  # The configuration of the current RDS storage.
5507
6015
  # @return [Types::DBStorageConfiguration]
5508
6016
  #
6017
+ # @!attribute [rw] db_cluster_identifier
6018
+ # The identifier for DB cluster.
6019
+ # @return [String]
6020
+ #
5509
6021
  # @!attribute [rw] idle
5510
6022
  # This indicates if the RDS instance is idle or not.
5511
6023
  # @return [String]
@@ -5550,6 +6062,10 @@ module Aws::ComputeOptimizer
5550
6062
  # The reason for the finding classification of an Amazon RDS instance.
5551
6063
  # @return [Array<String>]
5552
6064
  #
6065
+ # @!attribute [rw] current_instance_performance_risk
6066
+ # The performance risk for the current DB instance.
6067
+ # @return [String]
6068
+ #
5553
6069
  # @!attribute [rw] storage_finding_reason_codes
5554
6070
  # The reason for the finding classification of Amazon RDS storage.
5555
6071
  # @return [Array<String>]
@@ -5593,12 +6109,15 @@ module Aws::ComputeOptimizer
5593
6109
  :account_id,
5594
6110
  :engine,
5595
6111
  :engine_version,
6112
+ :promotion_tier,
5596
6113
  :current_db_instance_class,
5597
6114
  :current_storage_configuration,
6115
+ :db_cluster_identifier,
5598
6116
  :idle,
5599
6117
  :instance_finding,
5600
6118
  :storage_finding,
5601
6119
  :instance_finding_reason_codes,
6120
+ :current_instance_performance_risk,
5602
6121
  :storage_finding_reason_codes,
5603
6122
  :instance_recommendation_options,
5604
6123
  :storage_recommendation_options,
@@ -6210,6 +6729,10 @@ module Aws::ComputeOptimizer
6210
6729
  # An array of objects that describe a recommendation summary.
6211
6730
  # @return [Array<Types::Summary>]
6212
6731
  #
6732
+ # @!attribute [rw] idle_summaries
6733
+ # Describes the findings summary of the idle resources.
6734
+ # @return [Array<Types::IdleSummary>]
6735
+ #
6213
6736
  # @!attribute [rw] recommendation_resource_type
6214
6737
  # The resource type that the recommendation summary applies to.
6215
6738
  # @return [String]
@@ -6224,6 +6747,58 @@ module Aws::ComputeOptimizer
6224
6747
  # savings amount and percentage.
6225
6748
  # @return [Types::SavingsOpportunity]
6226
6749
  #
6750
+ # @!attribute [rw] idle_savings_opportunity
6751
+ # Describes the savings opportunity for recommendations of a given
6752
+ # resource type or for the recommendation option of an individual
6753
+ # resource.
6754
+ #
6755
+ # Savings opportunity represents the estimated monthly savings you can
6756
+ # achieve by implementing a given Compute Optimizer recommendation.
6757
+ #
6758
+ # Savings opportunity data requires that you opt in to Cost Explorer,
6759
+ # as well as activate **Receive Amazon EC2 resource recommendations**
6760
+ # in the Cost Explorer preferences page. That creates a connection
6761
+ # between Cost Explorer and Compute Optimizer. With this connection,
6762
+ # Cost Explorer generates savings estimates considering the price of
6763
+ # existing resources, the price of recommended resources, and
6764
+ # historical usage data. Estimated monthly savings reflects the
6765
+ # projected dollar savings associated with each of the recommendations
6766
+ # generated. For more information, see [Enabling Cost Explorer][1] and
6767
+ # [Optimizing your cost with Rightsizing Recommendations][2] in the
6768
+ # *Cost Management User Guide*.
6769
+ #
6770
+ #
6771
+ #
6772
+ # [1]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html
6773
+ # [2]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html
6774
+ # @return [Types::SavingsOpportunity]
6775
+ #
6776
+ # @!attribute [rw] aggregated_savings_opportunity
6777
+ # Describes the savings opportunity for recommendations of a given
6778
+ # resource type or for the recommendation option of an individual
6779
+ # resource.
6780
+ #
6781
+ # Savings opportunity represents the estimated monthly savings you can
6782
+ # achieve by implementing a given Compute Optimizer recommendation.
6783
+ #
6784
+ # Savings opportunity data requires that you opt in to Cost Explorer,
6785
+ # as well as activate **Receive Amazon EC2 resource recommendations**
6786
+ # in the Cost Explorer preferences page. That creates a connection
6787
+ # between Cost Explorer and Compute Optimizer. With this connection,
6788
+ # Cost Explorer generates savings estimates considering the price of
6789
+ # existing resources, the price of recommended resources, and
6790
+ # historical usage data. Estimated monthly savings reflects the
6791
+ # projected dollar savings associated with each of the recommendations
6792
+ # generated. For more information, see [Enabling Cost Explorer][1] and
6793
+ # [Optimizing your cost with Rightsizing Recommendations][2] in the
6794
+ # *Cost Management User Guide*.
6795
+ #
6796
+ #
6797
+ #
6798
+ # [1]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html
6799
+ # [2]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html
6800
+ # @return [Types::SavingsOpportunity]
6801
+ #
6227
6802
  # @!attribute [rw] current_performance_risk_ratings
6228
6803
  # An object that describes the performance risk ratings for a given
6229
6804
  # resource type.
@@ -6240,9 +6815,12 @@ module Aws::ComputeOptimizer
6240
6815
  #
6241
6816
  class RecommendationSummary < Struct.new(
6242
6817
  :summaries,
6818
+ :idle_summaries,
6243
6819
  :recommendation_resource_type,
6244
6820
  :account_id,
6245
6821
  :savings_opportunity,
6822
+ :idle_savings_opportunity,
6823
+ :aggregated_savings_opportunity,
6246
6824
  :current_performance_risk_ratings,
6247
6825
  :inferred_workload_savings)
6248
6826
  SENSITIVE = []
@@ -6866,9 +7444,17 @@ module Aws::ComputeOptimizer
6866
7444
  # @!attribute [rw] volume_type
6867
7445
  # The volume type.
6868
7446
  #
6869
- # This can be `gp2` for General Purpose SSD, `io1` or `io2` for
6870
- # Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
6871
- # Cold HDD, or `standard` for Magnetic volumes.
7447
+ # The volume types can be the following:
7448
+ #
7449
+ # * General Purpose SSD `gp2` and `gp3`
7450
+ #
7451
+ # * Provisioned IOPS SSD `io1`, `io2`, and `io2 Block Express`
7452
+ #
7453
+ # * Throughput Optimized HDD `st1`
7454
+ #
7455
+ # * Cold HDD `sc1`
7456
+ #
7457
+ # * Magnetic volumes `standard`
6872
7458
  # @return [String]
6873
7459
  #
6874
7460
  # @!attribute [rw] volume_size