aws-sdk-computeoptimizer 1.57.0 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +389 -45
- data/lib/aws-sdk-computeoptimizer/client_api.rb +254 -9
- data/lib/aws-sdk-computeoptimizer/endpoints.rb +42 -0
- data/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +1029 -175
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +74 -6
- data/sig/types.rbs +181 -19
- metadata +4 -4
@@ -157,6 +157,11 @@ module Aws::ComputeOptimizer
|
|
157
157
|
# Auto Scaling group.
|
158
158
|
# @return [Types::AutoScalingGroupConfiguration]
|
159
159
|
#
|
160
|
+
# @!attribute [rw] current_instance_gpu_info
|
161
|
+
# Describes the GPU accelerator settings for the current instance type
|
162
|
+
# of the Auto Scaling group.
|
163
|
+
# @return [Types::GpuInfo]
|
164
|
+
#
|
160
165
|
# @!attribute [rw] recommendation_options
|
161
166
|
# An array of objects that describe the recommendation options for the
|
162
167
|
# Auto Scaling group.
|
@@ -211,11 +216,6 @@ module Aws::ComputeOptimizer
|
|
211
216
|
# instance.
|
212
217
|
# @return [Array<String>]
|
213
218
|
#
|
214
|
-
# @!attribute [rw] current_instance_gpu_info
|
215
|
-
# Describes the GPU accelerator settings for the current instance type
|
216
|
-
# of the Auto Scaling group.
|
217
|
-
# @return [Types::GpuInfo]
|
218
|
-
#
|
219
219
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupRecommendation AWS API Documentation
|
220
220
|
#
|
221
221
|
class AutoScalingGroupRecommendation < Struct.new(
|
@@ -226,12 +226,12 @@ module Aws::ComputeOptimizer
|
|
226
226
|
:utilization_metrics,
|
227
227
|
:look_back_period_in_days,
|
228
228
|
:current_configuration,
|
229
|
+
:current_instance_gpu_info,
|
229
230
|
:recommendation_options,
|
230
231
|
:last_refresh_timestamp,
|
231
232
|
:current_performance_risk,
|
232
233
|
:effective_recommendation_preferences,
|
233
|
-
:inferred_workload_types
|
234
|
-
:current_instance_gpu_info)
|
234
|
+
:inferred_workload_types)
|
235
235
|
SENSITIVE = []
|
236
236
|
include Aws::Structure
|
237
237
|
end
|
@@ -243,6 +243,11 @@ module Aws::ComputeOptimizer
|
|
243
243
|
# configuration.
|
244
244
|
# @return [Types::AutoScalingGroupConfiguration]
|
245
245
|
#
|
246
|
+
# @!attribute [rw] instance_gpu_info
|
247
|
+
# Describes the GPU accelerator settings for the recommended instance
|
248
|
+
# type of the Auto Scaling group.
|
249
|
+
# @return [Types::GpuInfo]
|
250
|
+
#
|
246
251
|
# @!attribute [rw] projected_utilization_metrics
|
247
252
|
# An array of objects that describe the projected utilization metrics
|
248
253
|
# of the Auto Scaling group recommendation option.
|
@@ -292,6 +297,13 @@ module Aws::ComputeOptimizer
|
|
292
297
|
# the estimated monthly savings amount and percentage.
|
293
298
|
# @return [Types::SavingsOpportunity]
|
294
299
|
#
|
300
|
+
# @!attribute [rw] savings_opportunity_after_discounts
|
301
|
+
# An object that describes the savings opportunity for the Auto
|
302
|
+
# Scaling group recommendation option that includes Savings Plans and
|
303
|
+
# Reserved Instances discounts. Savings opportunity includes the
|
304
|
+
# estimated monthly savings and percentage.
|
305
|
+
# @return [Types::AutoScalingGroupSavingsOpportunityAfterDiscounts]
|
306
|
+
#
|
295
307
|
# @!attribute [rw] migration_effort
|
296
308
|
# The level of effort required to migrate from the current instance
|
297
309
|
# type to the recommended instance type.
|
@@ -305,29 +317,17 @@ module Aws::ComputeOptimizer
|
|
305
317
|
# architecture.
|
306
318
|
# @return [String]
|
307
319
|
#
|
308
|
-
# @!attribute [rw] instance_gpu_info
|
309
|
-
# Describes the GPU accelerator settings for the recommended instance
|
310
|
-
# type of the Auto Scaling group.
|
311
|
-
# @return [Types::GpuInfo]
|
312
|
-
#
|
313
|
-
# @!attribute [rw] savings_opportunity_after_discounts
|
314
|
-
# An object that describes the savings opportunity for the Auto
|
315
|
-
# Scaling group recommendation option that includes Savings Plans and
|
316
|
-
# Reserved Instances discounts. Savings opportunity includes the
|
317
|
-
# estimated monthly savings and percentage.
|
318
|
-
# @return [Types::AutoScalingGroupSavingsOpportunityAfterDiscounts]
|
319
|
-
#
|
320
320
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupRecommendationOption AWS API Documentation
|
321
321
|
#
|
322
322
|
class AutoScalingGroupRecommendationOption < Struct.new(
|
323
323
|
:configuration,
|
324
|
+
:instance_gpu_info,
|
324
325
|
:projected_utilization_metrics,
|
325
326
|
:performance_risk,
|
326
327
|
:rank,
|
327
328
|
:savings_opportunity,
|
328
|
-
:
|
329
|
-
:
|
330
|
-
:savings_opportunity_after_discounts)
|
329
|
+
:savings_opportunity_after_discounts,
|
330
|
+
:migration_effort)
|
331
331
|
SENSITIVE = []
|
332
332
|
include Aws::Structure
|
333
333
|
end
|
@@ -480,6 +480,41 @@ module Aws::ComputeOptimizer
|
|
480
480
|
include Aws::Structure
|
481
481
|
end
|
482
482
|
|
483
|
+
# The configuration of the recommended RDS storage.
|
484
|
+
#
|
485
|
+
# @!attribute [rw] storage_type
|
486
|
+
# The type of RDS storage.
|
487
|
+
# @return [String]
|
488
|
+
#
|
489
|
+
# @!attribute [rw] allocated_storage
|
490
|
+
# The size of the RDS storage in gigabytes (GB).
|
491
|
+
# @return [Integer]
|
492
|
+
#
|
493
|
+
# @!attribute [rw] iops
|
494
|
+
# The provisioned IOPs of the RDS storage.
|
495
|
+
# @return [Integer]
|
496
|
+
#
|
497
|
+
# @!attribute [rw] max_allocated_storage
|
498
|
+
# The maximum limit in gibibytes (GiB) to which Amazon RDS can
|
499
|
+
# automatically scale the storage of the RDS instance.
|
500
|
+
# @return [Integer]
|
501
|
+
#
|
502
|
+
# @!attribute [rw] storage_throughput
|
503
|
+
# The storage throughput of the RDS storage.
|
504
|
+
# @return [Integer]
|
505
|
+
#
|
506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DBStorageConfiguration AWS API Documentation
|
507
|
+
#
|
508
|
+
class DBStorageConfiguration < Struct.new(
|
509
|
+
:storage_type,
|
510
|
+
:allocated_storage,
|
511
|
+
:iops,
|
512
|
+
:max_allocated_storage,
|
513
|
+
:storage_throughput)
|
514
|
+
SENSITIVE = []
|
515
|
+
include Aws::Structure
|
516
|
+
end
|
517
|
+
|
483
518
|
# @!attribute [rw] resource_type
|
484
519
|
# The target resource type of the recommendation preference to delete.
|
485
520
|
#
|
@@ -487,11 +522,6 @@ module Aws::ComputeOptimizer
|
|
487
522
|
# instances that are part of Auto Scaling groups. The
|
488
523
|
# `AutoScalingGroup` option encompasses only instances that are part
|
489
524
|
# of an Auto Scaling group.
|
490
|
-
#
|
491
|
-
# <note markdown="1"> The valid values for this parameter are `Ec2Instance` and
|
492
|
-
# `AutoScalingGroup`.
|
493
|
-
#
|
494
|
-
# </note>
|
495
525
|
# @return [String]
|
496
526
|
#
|
497
527
|
# @!attribute [rw] scope
|
@@ -1064,15 +1094,15 @@ module Aws::ComputeOptimizer
|
|
1064
1094
|
# of its workload.
|
1065
1095
|
# @return [String]
|
1066
1096
|
#
|
1067
|
-
# @!attribute [rw] tags
|
1068
|
-
# A list of tags assigned to your Amazon ECS service recommendations.
|
1069
|
-
# @return [Array<Types::Tag>]
|
1070
|
-
#
|
1071
1097
|
# @!attribute [rw] effective_recommendation_preferences
|
1072
1098
|
# Describes the effective recommendation preferences for Amazon ECS
|
1073
1099
|
# services.
|
1074
1100
|
# @return [Types::ECSEffectiveRecommendationPreferences]
|
1075
1101
|
#
|
1102
|
+
# @!attribute [rw] tags
|
1103
|
+
# A list of tags assigned to your Amazon ECS service recommendations.
|
1104
|
+
# @return [Array<Types::Tag>]
|
1105
|
+
#
|
1076
1106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ECSServiceRecommendation AWS API Documentation
|
1077
1107
|
#
|
1078
1108
|
class ECSServiceRecommendation < Struct.new(
|
@@ -1087,8 +1117,8 @@ module Aws::ComputeOptimizer
|
|
1087
1117
|
:finding_reason_codes,
|
1088
1118
|
:service_recommendation_options,
|
1089
1119
|
:current_performance_risk,
|
1090
|
-
:
|
1091
|
-
:
|
1120
|
+
:effective_recommendation_preferences,
|
1121
|
+
:tags)
|
1092
1122
|
SENSITIVE = []
|
1093
1123
|
include Aws::Structure
|
1094
1124
|
end
|
@@ -1182,6 +1212,15 @@ module Aws::ComputeOptimizer
|
|
1182
1212
|
# [2]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html
|
1183
1213
|
# @return [Types::SavingsOpportunity]
|
1184
1214
|
#
|
1215
|
+
# @!attribute [rw] savings_opportunity_after_discounts
|
1216
|
+
# Describes the savings opportunity for Amazon ECS service
|
1217
|
+
# recommendations or for the recommendation option.
|
1218
|
+
#
|
1219
|
+
# Savings opportunity represents the estimated monthly savings after
|
1220
|
+
# applying Savings Plans discounts. You can achieve this by
|
1221
|
+
# implementing a given Compute Optimizer recommendation.
|
1222
|
+
# @return [Types::ECSSavingsOpportunityAfterDiscounts]
|
1223
|
+
#
|
1185
1224
|
# @!attribute [rw] projected_utilization_metrics
|
1186
1225
|
# An array of objects that describe the projected utilization metrics
|
1187
1226
|
# of the Amazon ECS service recommendation option.
|
@@ -1192,24 +1231,15 @@ module Aws::ComputeOptimizer
|
|
1192
1231
|
# the task of your Amazon ECS service.
|
1193
1232
|
# @return [Array<Types::ContainerRecommendation>]
|
1194
1233
|
#
|
1195
|
-
# @!attribute [rw] savings_opportunity_after_discounts
|
1196
|
-
# Describes the savings opportunity for Amazon ECS service
|
1197
|
-
# recommendations or for the recommendation option.
|
1198
|
-
#
|
1199
|
-
# Savings opportunity represents the estimated monthly savings after
|
1200
|
-
# applying Savings Plans discounts. You can achieve this by
|
1201
|
-
# implementing a given Compute Optimizer recommendation.
|
1202
|
-
# @return [Types::ECSSavingsOpportunityAfterDiscounts]
|
1203
|
-
#
|
1204
1234
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ECSServiceRecommendationOption AWS API Documentation
|
1205
1235
|
#
|
1206
1236
|
class ECSServiceRecommendationOption < Struct.new(
|
1207
1237
|
:memory,
|
1208
1238
|
:cpu,
|
1209
1239
|
:savings_opportunity,
|
1240
|
+
:savings_opportunity_after_discounts,
|
1210
1241
|
:projected_utilization_metrics,
|
1211
|
-
:container_recommendations
|
1212
|
-
:savings_opportunity_after_discounts)
|
1242
|
+
:container_recommendations)
|
1213
1243
|
SENSITIVE = []
|
1214
1244
|
include Aws::Structure
|
1215
1245
|
end
|
@@ -1340,16 +1370,16 @@ module Aws::ComputeOptimizer
|
|
1340
1370
|
#
|
1341
1371
|
# * A GetEC2InstanceRecommendations or
|
1342
1372
|
# GetAutoScalingGroupRecommendations request, Compute Optimizer
|
1343
|
-
# returns recommendations that consist of
|
1373
|
+
# returns recommendations that consist of Graviton instance types
|
1344
1374
|
# only.
|
1345
1375
|
#
|
1346
1376
|
# * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer
|
1347
|
-
# returns projected utilization metrics for
|
1377
|
+
# returns projected utilization metrics for Graviton instance type
|
1348
1378
|
# recommendations only.
|
1349
1379
|
#
|
1350
1380
|
# * A ExportEC2InstanceRecommendations or
|
1351
1381
|
# ExportAutoScalingGroupRecommendations request, Compute Optimizer
|
1352
|
-
# exports recommendations that consist of
|
1382
|
+
# exports recommendations that consist of Graviton instance types
|
1353
1383
|
# only.
|
1354
1384
|
# @return [Array<String>]
|
1355
1385
|
#
|
@@ -2209,6 +2239,131 @@ module Aws::ComputeOptimizer
|
|
2209
2239
|
include Aws::Structure
|
2210
2240
|
end
|
2211
2241
|
|
2242
|
+
# @!attribute [rw] account_ids
|
2243
|
+
# The Amazon Web Services account IDs for the export Amazon RDS
|
2244
|
+
# recommendations.
|
2245
|
+
#
|
2246
|
+
# If your account is the management account or the delegated
|
2247
|
+
# administrator of an organization, use this parameter to specify the
|
2248
|
+
# member account you want to export recommendations to.
|
2249
|
+
#
|
2250
|
+
# This parameter can't be specified together with the include member
|
2251
|
+
# accounts parameter. The parameters are mutually exclusive.
|
2252
|
+
#
|
2253
|
+
# If this parameter or the include member accounts parameter is
|
2254
|
+
# omitted, the recommendations for member accounts aren't included in
|
2255
|
+
# the export.
|
2256
|
+
#
|
2257
|
+
# You can specify multiple account IDs per request.
|
2258
|
+
# @return [Array<String>]
|
2259
|
+
#
|
2260
|
+
# @!attribute [rw] filters
|
2261
|
+
# An array of objects to specify a filter that exports a more specific
|
2262
|
+
# set of Amazon RDS recommendations.
|
2263
|
+
# @return [Array<Types::RDSDBRecommendationFilter>]
|
2264
|
+
#
|
2265
|
+
# @!attribute [rw] fields_to_export
|
2266
|
+
# The recommendations data to include in the export file. For more
|
2267
|
+
# information about the fields that can be exported, see [Exported
|
2268
|
+
# files][1] in the *Compute Optimizer User Guide*.
|
2269
|
+
#
|
2270
|
+
#
|
2271
|
+
#
|
2272
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
|
2273
|
+
# @return [Array<String>]
|
2274
|
+
#
|
2275
|
+
# @!attribute [rw] s3_destination_config
|
2276
|
+
# Describes the destination Amazon Simple Storage Service (Amazon S3)
|
2277
|
+
# bucket name and key prefix for a recommendations export job.
|
2278
|
+
#
|
2279
|
+
# You must create the destination Amazon S3 bucket for your
|
2280
|
+
# recommendations export before you create the export job. Compute
|
2281
|
+
# Optimizer does not create the S3 bucket for you. After you create
|
2282
|
+
# the S3 bucket, ensure that it has the required permission policy to
|
2283
|
+
# allow Compute Optimizer to write the export file to it. If you plan
|
2284
|
+
# to specify an object prefix when you create the export job, you must
|
2285
|
+
# include the object prefix in the policy that you add to the S3
|
2286
|
+
# bucket. For more information, see [Amazon S3 Bucket Policy for
|
2287
|
+
# Compute Optimizer][1] in the *Compute Optimizer User Guide*.
|
2288
|
+
#
|
2289
|
+
#
|
2290
|
+
#
|
2291
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
|
2292
|
+
# @return [Types::S3DestinationConfig]
|
2293
|
+
#
|
2294
|
+
# @!attribute [rw] file_format
|
2295
|
+
# The format of the export file.
|
2296
|
+
#
|
2297
|
+
# The CSV file is the only export file format currently supported.
|
2298
|
+
# @return [String]
|
2299
|
+
#
|
2300
|
+
# @!attribute [rw] include_member_accounts
|
2301
|
+
# If your account is the management account or the delegated
|
2302
|
+
# administrator of an organization, this parameter indicates whether
|
2303
|
+
# to include recommendations for resources in all member accounts of
|
2304
|
+
# the organization.
|
2305
|
+
#
|
2306
|
+
# The member accounts must also be opted in to Compute Optimizer, and
|
2307
|
+
# trusted access for Compute Optimizer must be enabled in the
|
2308
|
+
# organization account. For more information, see [Compute Optimizer
|
2309
|
+
# and Amazon Web Services Organizations trusted access][1] in the
|
2310
|
+
# *Compute Optimizer User Guide*.
|
2311
|
+
#
|
2312
|
+
# If this parameter is omitted, recommendations for member accounts of
|
2313
|
+
# the organization aren't included in the export file.
|
2314
|
+
#
|
2315
|
+
# If this parameter or the account ID parameter is omitted,
|
2316
|
+
# recommendations for member accounts aren't included in the export.
|
2317
|
+
#
|
2318
|
+
#
|
2319
|
+
#
|
2320
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
|
2321
|
+
# @return [Boolean]
|
2322
|
+
#
|
2323
|
+
# @!attribute [rw] recommendation_preferences
|
2324
|
+
# Describes the recommendation preferences to return in the response
|
2325
|
+
# of a GetAutoScalingGroupRecommendations,
|
2326
|
+
# GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics,
|
2327
|
+
# GetRDSDatabaseRecommendations, and
|
2328
|
+
# GetRDSDatabaseRecommendationProjectedMetrics request.
|
2329
|
+
# @return [Types::RecommendationPreferences]
|
2330
|
+
#
|
2331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportRDSDatabaseRecommendationsRequest AWS API Documentation
|
2332
|
+
#
|
2333
|
+
class ExportRDSDatabaseRecommendationsRequest < Struct.new(
|
2334
|
+
:account_ids,
|
2335
|
+
:filters,
|
2336
|
+
:fields_to_export,
|
2337
|
+
:s3_destination_config,
|
2338
|
+
:file_format,
|
2339
|
+
:include_member_accounts,
|
2340
|
+
:recommendation_preferences)
|
2341
|
+
SENSITIVE = []
|
2342
|
+
include Aws::Structure
|
2343
|
+
end
|
2344
|
+
|
2345
|
+
# @!attribute [rw] job_id
|
2346
|
+
# The identification number of the export job.
|
2347
|
+
#
|
2348
|
+
# To view the status of an export job, use the
|
2349
|
+
# DescribeRecommendationExportJobs action and specify the job ID.
|
2350
|
+
# @return [String]
|
2351
|
+
#
|
2352
|
+
# @!attribute [rw] s3_destination
|
2353
|
+
# Describes the destination Amazon Simple Storage Service (Amazon S3)
|
2354
|
+
# bucket name and object keys of a recommendations export file, and
|
2355
|
+
# its associated metadata file.
|
2356
|
+
# @return [Types::S3Destination]
|
2357
|
+
#
|
2358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportRDSDatabaseRecommendationsResponse AWS API Documentation
|
2359
|
+
#
|
2360
|
+
class ExportRDSDatabaseRecommendationsResponse < Struct.new(
|
2361
|
+
:job_id,
|
2362
|
+
:s3_destination)
|
2363
|
+
SENSITIVE = []
|
2364
|
+
include Aws::Structure
|
2365
|
+
end
|
2366
|
+
|
2212
2367
|
# Describes Compute Optimizer's integration status with your chosen
|
2213
2368
|
# external metric provider. For example, Datadog.
|
2214
2369
|
#
|
@@ -3162,47 +3317,182 @@ module Aws::ComputeOptimizer
|
|
3162
3317
|
include Aws::Structure
|
3163
3318
|
end
|
3164
3319
|
|
3165
|
-
#
|
3320
|
+
# @!attribute [rw] resource_arn
|
3321
|
+
# The ARN that identifies the Amazon RDS.
|
3166
3322
|
#
|
3167
|
-
#
|
3168
|
-
# an unsupported Auto Scaling group, or if you request recommendations
|
3169
|
-
# for an instance of an unsupported instance family.
|
3323
|
+
# The following is the format of the ARN:
|
3170
3324
|
#
|
3171
|
-
#
|
3172
|
-
# The ID of the error.
|
3325
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:db:\{resourceName\}`
|
3173
3326
|
# @return [String]
|
3174
3327
|
#
|
3175
|
-
# @!attribute [rw]
|
3176
|
-
# The
|
3328
|
+
# @!attribute [rw] stat
|
3329
|
+
# The statistic of the projected metrics.
|
3177
3330
|
# @return [String]
|
3178
3331
|
#
|
3179
|
-
# @!attribute [rw]
|
3180
|
-
# The
|
3181
|
-
# @return [
|
3332
|
+
# @!attribute [rw] period
|
3333
|
+
# The granularity, in seconds, of the projected metrics data points.
|
3334
|
+
# @return [Integer]
|
3182
3335
|
#
|
3183
|
-
#
|
3336
|
+
# @!attribute [rw] start_time
|
3337
|
+
# The timestamp of the first projected metrics data point to return.
|
3338
|
+
# @return [Time]
|
3184
3339
|
#
|
3185
|
-
|
3186
|
-
|
3187
|
-
|
3188
|
-
|
3340
|
+
# @!attribute [rw] end_time
|
3341
|
+
# The timestamp of the last projected metrics data point to return.
|
3342
|
+
# @return [Time]
|
3343
|
+
#
|
3344
|
+
# @!attribute [rw] recommendation_preferences
|
3345
|
+
# Describes the recommendation preferences to return in the response
|
3346
|
+
# of a GetAutoScalingGroupRecommendations,
|
3347
|
+
# GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics,
|
3348
|
+
# GetRDSDatabaseRecommendations, and
|
3349
|
+
# GetRDSDatabaseRecommendationProjectedMetrics request.
|
3350
|
+
# @return [Types::RecommendationPreferences]
|
3351
|
+
#
|
3352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationProjectedMetricsRequest AWS API Documentation
|
3353
|
+
#
|
3354
|
+
class GetRDSDatabaseRecommendationProjectedMetricsRequest < Struct.new(
|
3355
|
+
:resource_arn,
|
3356
|
+
:stat,
|
3357
|
+
:period,
|
3358
|
+
:start_time,
|
3359
|
+
:end_time,
|
3360
|
+
:recommendation_preferences)
|
3189
3361
|
SENSITIVE = []
|
3190
3362
|
include Aws::Structure
|
3191
3363
|
end
|
3192
3364
|
|
3193
|
-
# @!attribute [rw]
|
3194
|
-
#
|
3195
|
-
#
|
3365
|
+
# @!attribute [rw] recommended_option_projected_metrics
|
3366
|
+
# An array of objects that describes the projected metrics.
|
3367
|
+
# @return [Array<Types::RDSDatabaseRecommendedOptionProjectedMetric>]
|
3196
3368
|
#
|
3197
|
-
#
|
3198
|
-
# instances that are part of Auto Scaling groups. The
|
3199
|
-
# `AutoScalingGroup` option encompasses only instances that are part
|
3200
|
-
# of an Auto Scaling group.
|
3369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationProjectedMetricsResponse AWS API Documentation
|
3201
3370
|
#
|
3202
|
-
|
3203
|
-
|
3371
|
+
class GetRDSDatabaseRecommendationProjectedMetricsResponse < Struct.new(
|
3372
|
+
:recommended_option_projected_metrics)
|
3373
|
+
SENSITIVE = []
|
3374
|
+
include Aws::Structure
|
3375
|
+
end
|
3376
|
+
|
3377
|
+
# @!attribute [rw] resource_arns
|
3378
|
+
# The ARN that identifies the Amazon RDS.
|
3204
3379
|
#
|
3205
|
-
#
|
3380
|
+
# The following is the format of the ARN:
|
3381
|
+
#
|
3382
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:db:\{resourceName\}`
|
3383
|
+
#
|
3384
|
+
# The following is the format of a DB Cluster ARN:
|
3385
|
+
#
|
3386
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:cluster:\{resourceName\}`
|
3387
|
+
# @return [Array<String>]
|
3388
|
+
#
|
3389
|
+
# @!attribute [rw] next_token
|
3390
|
+
# The token to advance to the next page of Amazon RDS recommendations.
|
3391
|
+
# @return [String]
|
3392
|
+
#
|
3393
|
+
# @!attribute [rw] max_results
|
3394
|
+
# The maximum number of Amazon RDS recommendations to return with a
|
3395
|
+
# single request.
|
3396
|
+
#
|
3397
|
+
# To retrieve the remaining results, make another request with the
|
3398
|
+
# returned `nextToken` value.
|
3399
|
+
# @return [Integer]
|
3400
|
+
#
|
3401
|
+
# @!attribute [rw] filters
|
3402
|
+
# An array of objects to specify a filter that returns a more specific
|
3403
|
+
# list of Amazon RDS recommendations.
|
3404
|
+
# @return [Array<Types::RDSDBRecommendationFilter>]
|
3405
|
+
#
|
3406
|
+
# @!attribute [rw] account_ids
|
3407
|
+
# Return the Amazon RDS recommendations to the specified Amazon Web
|
3408
|
+
# Services account IDs.
|
3409
|
+
#
|
3410
|
+
# If your account is the management account or the delegated
|
3411
|
+
# administrator of an organization, use this parameter to return the
|
3412
|
+
# Amazon RDS recommendations to specific member accounts.
|
3413
|
+
#
|
3414
|
+
# You can only specify one account ID per request.
|
3415
|
+
# @return [Array<String>]
|
3416
|
+
#
|
3417
|
+
# @!attribute [rw] recommendation_preferences
|
3418
|
+
# Describes the recommendation preferences to return in the response
|
3419
|
+
# of a GetAutoScalingGroupRecommendations,
|
3420
|
+
# GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics,
|
3421
|
+
# GetRDSDatabaseRecommendations, and
|
3422
|
+
# GetRDSDatabaseRecommendationProjectedMetrics request.
|
3423
|
+
# @return [Types::RecommendationPreferences]
|
3424
|
+
#
|
3425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationsRequest AWS API Documentation
|
3426
|
+
#
|
3427
|
+
class GetRDSDatabaseRecommendationsRequest < Struct.new(
|
3428
|
+
:resource_arns,
|
3429
|
+
:next_token,
|
3430
|
+
:max_results,
|
3431
|
+
:filters,
|
3432
|
+
:account_ids,
|
3433
|
+
:recommendation_preferences)
|
3434
|
+
SENSITIVE = []
|
3435
|
+
include Aws::Structure
|
3436
|
+
end
|
3437
|
+
|
3438
|
+
# @!attribute [rw] next_token
|
3439
|
+
# The token to advance to the next page of Amazon RDS recommendations.
|
3440
|
+
# @return [String]
|
3441
|
+
#
|
3442
|
+
# @!attribute [rw] rds_db_recommendations
|
3443
|
+
# An array of objects that describe the Amazon RDS recommendations.
|
3444
|
+
# @return [Array<Types::RDSDBRecommendation>]
|
3445
|
+
#
|
3446
|
+
# @!attribute [rw] errors
|
3447
|
+
# An array of objects that describe errors of the request.
|
3448
|
+
# @return [Array<Types::GetRecommendationError>]
|
3449
|
+
#
|
3450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationsResponse AWS API Documentation
|
3451
|
+
#
|
3452
|
+
class GetRDSDatabaseRecommendationsResponse < Struct.new(
|
3453
|
+
:next_token,
|
3454
|
+
:rds_db_recommendations,
|
3455
|
+
:errors)
|
3456
|
+
SENSITIVE = []
|
3457
|
+
include Aws::Structure
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# Describes an error experienced when getting recommendations.
|
3461
|
+
#
|
3462
|
+
# For example, an error is returned if you request recommendations for
|
3463
|
+
# an unsupported Auto Scaling group, or if you request recommendations
|
3464
|
+
# for an instance of an unsupported instance family.
|
3465
|
+
#
|
3466
|
+
# @!attribute [rw] identifier
|
3467
|
+
# The ID of the error.
|
3468
|
+
# @return [String]
|
3469
|
+
#
|
3470
|
+
# @!attribute [rw] code
|
3471
|
+
# The error code.
|
3472
|
+
# @return [String]
|
3473
|
+
#
|
3474
|
+
# @!attribute [rw] message
|
3475
|
+
# The message, or reason, for the error.
|
3476
|
+
# @return [String]
|
3477
|
+
#
|
3478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationError AWS API Documentation
|
3479
|
+
#
|
3480
|
+
class GetRecommendationError < Struct.new(
|
3481
|
+
:identifier,
|
3482
|
+
:code,
|
3483
|
+
:message)
|
3484
|
+
SENSITIVE = []
|
3485
|
+
include Aws::Structure
|
3486
|
+
end
|
3487
|
+
|
3488
|
+
# @!attribute [rw] resource_type
|
3489
|
+
# The target resource type of the recommendation preference for which
|
3490
|
+
# to return preferences.
|
3491
|
+
#
|
3492
|
+
# The `Ec2Instance` option encompasses standalone instances and
|
3493
|
+
# instances that are part of Auto Scaling groups. The
|
3494
|
+
# `AutoScalingGroup` option encompasses only instances that are part
|
3495
|
+
# of an Auto Scaling group.
|
3206
3496
|
# @return [String]
|
3207
3497
|
#
|
3208
3498
|
# @!attribute [rw] scope
|
@@ -3469,6 +3759,11 @@ module Aws::ComputeOptimizer
|
|
3469
3759
|
# memory, and network, meet the performance requirements of your
|
3470
3760
|
# workload and is not over provisioned. For optimized resources,
|
3471
3761
|
# Compute Optimizer might recommend a new generation instance type.
|
3762
|
+
#
|
3763
|
+
# <note markdown="1"> The valid values in your API responses appear as OVER\_PROVISIONED,
|
3764
|
+
# UNDER\_PROVISIONED, or OPTIMIZED.
|
3765
|
+
#
|
3766
|
+
# </note>
|
3472
3767
|
# @return [String]
|
3473
3768
|
#
|
3474
3769
|
# @!attribute [rw] finding_reason_codes
|
@@ -3739,6 +4034,11 @@ module Aws::ComputeOptimizer
|
|
3739
4034
|
# The instance type of the instance recommendation.
|
3740
4035
|
# @return [String]
|
3741
4036
|
#
|
4037
|
+
# @!attribute [rw] instance_gpu_info
|
4038
|
+
# Describes the GPU accelerator settings for the recommended instance
|
4039
|
+
# type.
|
4040
|
+
# @return [Types::GpuInfo]
|
4041
|
+
#
|
3742
4042
|
# @!attribute [rw] projected_utilization_metrics
|
3743
4043
|
# An array of objects that describe the projected utilization metrics
|
3744
4044
|
# of the instance recommendation option.
|
@@ -3886,6 +4186,13 @@ module Aws::ComputeOptimizer
|
|
3886
4186
|
# monthly savings amount and percentage.
|
3887
4187
|
# @return [Types::SavingsOpportunity]
|
3888
4188
|
#
|
4189
|
+
# @!attribute [rw] savings_opportunity_after_discounts
|
4190
|
+
# An object that describes the savings opportunity for the instance
|
4191
|
+
# recommendation option that includes Savings Plans and Reserved
|
4192
|
+
# Instances discounts. Savings opportunity includes the estimated
|
4193
|
+
# monthly savings and percentage.
|
4194
|
+
# @return [Types::InstanceSavingsOpportunityAfterDiscounts]
|
4195
|
+
#
|
3889
4196
|
# @!attribute [rw] migration_effort
|
3890
4197
|
# The level of effort required to migrate from the current instance
|
3891
4198
|
# type to the recommended instance type.
|
@@ -3899,30 +4206,18 @@ module Aws::ComputeOptimizer
|
|
3899
4206
|
# architecture.
|
3900
4207
|
# @return [String]
|
3901
4208
|
#
|
3902
|
-
# @!attribute [rw] instance_gpu_info
|
3903
|
-
# Describes the GPU accelerator settings for the recommended instance
|
3904
|
-
# type.
|
3905
|
-
# @return [Types::GpuInfo]
|
3906
|
-
#
|
3907
|
-
# @!attribute [rw] savings_opportunity_after_discounts
|
3908
|
-
# An object that describes the savings opportunity for the instance
|
3909
|
-
# recommendation option that includes Savings Plans and Reserved
|
3910
|
-
# Instances discounts. Savings opportunity includes the estimated
|
3911
|
-
# monthly savings and percentage.
|
3912
|
-
# @return [Types::InstanceSavingsOpportunityAfterDiscounts]
|
3913
|
-
#
|
3914
4209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendationOption AWS API Documentation
|
3915
4210
|
#
|
3916
4211
|
class InstanceRecommendationOption < Struct.new(
|
3917
4212
|
:instance_type,
|
4213
|
+
:instance_gpu_info,
|
3918
4214
|
:projected_utilization_metrics,
|
3919
4215
|
:platform_differences,
|
3920
4216
|
:performance_risk,
|
3921
4217
|
:rank,
|
3922
4218
|
:savings_opportunity,
|
3923
|
-
:
|
3924
|
-
:
|
3925
|
-
:savings_opportunity_after_discounts)
|
4219
|
+
:savings_opportunity_after_discounts,
|
4220
|
+
:migration_effort)
|
3926
4221
|
SENSITIVE = []
|
3927
4222
|
include Aws::Structure
|
3928
4223
|
end
|
@@ -4271,15 +4566,15 @@ module Aws::ComputeOptimizer
|
|
4271
4566
|
# current Lambda function requires more memory.
|
4272
4567
|
# @return [String]
|
4273
4568
|
#
|
4274
|
-
# @!attribute [rw] tags
|
4275
|
-
# A list of tags assigned to your Lambda function recommendations.
|
4276
|
-
# @return [Array<Types::Tag>]
|
4277
|
-
#
|
4278
4569
|
# @!attribute [rw] effective_recommendation_preferences
|
4279
4570
|
# Describes the effective recommendation preferences for Lambda
|
4280
4571
|
# functions.
|
4281
4572
|
# @return [Types::LambdaEffectiveRecommendationPreferences]
|
4282
4573
|
#
|
4574
|
+
# @!attribute [rw] tags
|
4575
|
+
# A list of tags assigned to your Lambda function recommendations.
|
4576
|
+
# @return [Array<Types::Tag>]
|
4577
|
+
#
|
4283
4578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/LambdaFunctionRecommendation AWS API Documentation
|
4284
4579
|
#
|
4285
4580
|
class LambdaFunctionRecommendation < Struct.new(
|
@@ -4295,8 +4590,8 @@ module Aws::ComputeOptimizer
|
|
4295
4590
|
:finding_reason_codes,
|
4296
4591
|
:memory_size_recommendation_options,
|
4297
4592
|
:current_performance_risk,
|
4298
|
-
:
|
4299
|
-
:
|
4593
|
+
:effective_recommendation_preferences,
|
4594
|
+
:tags)
|
4300
4595
|
SENSITIVE = []
|
4301
4596
|
include Aws::Structure
|
4302
4597
|
end
|
@@ -4938,11 +5233,6 @@ module Aws::ComputeOptimizer
|
|
4938
5233
|
# instances that are part of Auto Scaling groups. The
|
4939
5234
|
# `AutoScalingGroup` option encompasses only instances that are part
|
4940
5235
|
# of an Auto Scaling group.
|
4941
|
-
#
|
4942
|
-
# <note markdown="1"> The valid values for this parameter are `Ec2Instance` and
|
4943
|
-
# `AutoScalingGroup`.
|
4944
|
-
#
|
4945
|
-
# </note>
|
4946
5236
|
# @return [String]
|
4947
5237
|
#
|
4948
5238
|
# @!attribute [rw] scope
|
@@ -5112,106 +5402,670 @@ module Aws::ComputeOptimizer
|
|
5112
5402
|
#
|
5113
5403
|
class PutRecommendationPreferencesResponse < Aws::EmptyStructure; end
|
5114
5404
|
|
5115
|
-
#
|
5405
|
+
# Describes the recommendation options for an Amazon RDS instance.
|
5116
5406
|
#
|
5117
|
-
# @!attribute [rw]
|
5118
|
-
#
|
5407
|
+
# @!attribute [rw] db_instance_class
|
5408
|
+
# Describes the DB instance class recommendation option for your
|
5409
|
+
# Amazon RDS instance.
|
5119
5410
|
# @return [String]
|
5120
5411
|
#
|
5121
|
-
# @!attribute [rw]
|
5122
|
-
#
|
5412
|
+
# @!attribute [rw] projected_utilization_metrics
|
5413
|
+
# An array of objects that describe the projected utilization metrics
|
5414
|
+
# of the RDS instance recommendation option.
|
5415
|
+
# @return [Array<Types::RDSDBUtilizationMetric>]
|
5416
|
+
#
|
5417
|
+
# @!attribute [rw] performance_risk
|
5418
|
+
# The performance risk of the RDS instance recommendation option.
|
5123
5419
|
# @return [Float]
|
5124
5420
|
#
|
5125
|
-
#
|
5421
|
+
# @!attribute [rw] rank
|
5422
|
+
# The rank identifier of the RDS instance recommendation option.
|
5423
|
+
# @return [Integer]
|
5126
5424
|
#
|
5127
|
-
|
5128
|
-
|
5129
|
-
|
5425
|
+
# @!attribute [rw] savings_opportunity
|
5426
|
+
# Describes the savings opportunity for recommendations of a given
|
5427
|
+
# resource type or for the recommendation option of an individual
|
5428
|
+
# resource.
|
5429
|
+
#
|
5430
|
+
# Savings opportunity represents the estimated monthly savings you can
|
5431
|
+
# achieve by implementing a given Compute Optimizer recommendation.
|
5432
|
+
#
|
5433
|
+
# Savings opportunity data requires that you opt in to Cost Explorer,
|
5434
|
+
# as well as activate **Receive Amazon EC2 resource recommendations**
|
5435
|
+
# in the Cost Explorer preferences page. That creates a connection
|
5436
|
+
# between Cost Explorer and Compute Optimizer. With this connection,
|
5437
|
+
# Cost Explorer generates savings estimates considering the price of
|
5438
|
+
# existing resources, the price of recommended resources, and
|
5439
|
+
# historical usage data. Estimated monthly savings reflects the
|
5440
|
+
# projected dollar savings associated with each of the recommendations
|
5441
|
+
# generated. For more information, see [Enabling Cost Explorer][1] and
|
5442
|
+
# [Optimizing your cost with Rightsizing Recommendations][2] in the
|
5443
|
+
# *Cost Management User Guide*.
|
5444
|
+
#
|
5445
|
+
#
|
5446
|
+
#
|
5447
|
+
# [1]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html
|
5448
|
+
# [2]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html
|
5449
|
+
# @return [Types::SavingsOpportunity]
|
5450
|
+
#
|
5451
|
+
# @!attribute [rw] savings_opportunity_after_discounts
|
5452
|
+
# Describes the savings opportunity for Amazon RDS recommendations or
|
5453
|
+
# for the recommendation option.
|
5454
|
+
#
|
5455
|
+
# Savings opportunity represents the estimated monthly savings after
|
5456
|
+
# applying Savings Plans discounts. You can achieve this by
|
5457
|
+
# implementing a given Compute Optimizer recommendation.
|
5458
|
+
# @return [Types::RDSInstanceSavingsOpportunityAfterDiscounts]
|
5459
|
+
#
|
5460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDBInstanceRecommendationOption AWS API Documentation
|
5461
|
+
#
|
5462
|
+
class RDSDBInstanceRecommendationOption < Struct.new(
|
5463
|
+
:db_instance_class,
|
5464
|
+
:projected_utilization_metrics,
|
5465
|
+
:performance_risk,
|
5466
|
+
:rank,
|
5467
|
+
:savings_opportunity,
|
5468
|
+
:savings_opportunity_after_discounts)
|
5130
5469
|
SENSITIVE = []
|
5131
5470
|
include Aws::Structure
|
5132
5471
|
end
|
5133
5472
|
|
5134
|
-
# Describes
|
5473
|
+
# Describes an Amazon RDS recommendation.
|
5135
5474
|
#
|
5136
|
-
#
|
5137
|
-
#
|
5475
|
+
# @!attribute [rw] resource_arn
|
5476
|
+
# The ARN of the current Amazon RDS.
|
5138
5477
|
#
|
5139
|
-
#
|
5140
|
-
# ExportEC2InstanceRecommendations actions to request an export of your
|
5141
|
-
# recommendations.
|
5478
|
+
# The following is the format of the ARN:
|
5142
5479
|
#
|
5143
|
-
#
|
5144
|
-
# The identification number of the export job.
|
5480
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:db:\{resourceName\}`
|
5145
5481
|
# @return [String]
|
5146
5482
|
#
|
5147
|
-
# @!attribute [rw]
|
5148
|
-
#
|
5149
|
-
# @return [
|
5483
|
+
# @!attribute [rw] account_id
|
5484
|
+
# The Amazon Web Services account ID of the Amazon RDS.
|
5485
|
+
# @return [String]
|
5150
5486
|
#
|
5151
|
-
# @!attribute [rw]
|
5152
|
-
# The
|
5487
|
+
# @!attribute [rw] engine
|
5488
|
+
# The engine of the RDS instance.
|
5153
5489
|
# @return [String]
|
5154
5490
|
#
|
5155
|
-
# @!attribute [rw]
|
5156
|
-
# The
|
5491
|
+
# @!attribute [rw] engine_version
|
5492
|
+
# The database engine version.
|
5157
5493
|
# @return [String]
|
5158
5494
|
#
|
5159
|
-
# @!attribute [rw]
|
5160
|
-
# The
|
5161
|
-
# @return [
|
5495
|
+
# @!attribute [rw] current_db_instance_class
|
5496
|
+
# The DB instance class of the current RDS instance.
|
5497
|
+
# @return [String]
|
5162
5498
|
#
|
5163
|
-
# @!attribute [rw]
|
5164
|
-
# The
|
5165
|
-
# @return [
|
5499
|
+
# @!attribute [rw] current_storage_configuration
|
5500
|
+
# The configuration of the current RDS storage.
|
5501
|
+
# @return [Types::DBStorageConfiguration]
|
5166
5502
|
#
|
5167
|
-
# @!attribute [rw]
|
5168
|
-
#
|
5503
|
+
# @!attribute [rw] idle
|
5504
|
+
# This indicates if the RDS instance is idle or not.
|
5169
5505
|
# @return [String]
|
5170
5506
|
#
|
5171
|
-
#
|
5507
|
+
# @!attribute [rw] instance_finding
|
5508
|
+
# The finding classification of an Amazon RDS instance.
|
5172
5509
|
#
|
5173
|
-
|
5174
|
-
:job_id,
|
5175
|
-
:destination,
|
5176
|
-
:resource_type,
|
5177
|
-
:status,
|
5178
|
-
:creation_timestamp,
|
5179
|
-
:last_updated_timestamp,
|
5180
|
-
:failure_reason)
|
5181
|
-
SENSITIVE = []
|
5182
|
-
include Aws::Structure
|
5183
|
-
end
|
5184
|
-
|
5185
|
-
# Describes the recommendation preferences to return in the response of
|
5186
|
-
# a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations,
|
5187
|
-
# and GetEC2RecommendationProjectedMetrics request.
|
5510
|
+
# Findings for Amazon RDS instance include:
|
5188
5511
|
#
|
5189
|
-
#
|
5190
|
-
#
|
5191
|
-
#
|
5512
|
+
# * <b> <code>Underprovisioned</code> </b> — When Compute Optimizer
|
5513
|
+
# detects that there’s not enough resource specifications, an Amazon
|
5514
|
+
# RDS is considered under-provisioned.
|
5192
5515
|
#
|
5193
|
-
#
|
5516
|
+
# * <b> <code>Overprovisioned</code> </b> — When Compute Optimizer
|
5517
|
+
# detects that there’s excessive resource specifications, an Amazon
|
5518
|
+
# RDS is considered over-provisioned.
|
5194
5519
|
#
|
5195
|
-
# *
|
5196
|
-
#
|
5197
|
-
#
|
5198
|
-
#
|
5520
|
+
# * <b> <code>Optimized</code> </b> — When the specifications of your
|
5521
|
+
# Amazon RDS instance meet the performance requirements of your
|
5522
|
+
# workload, the service is considered optimized.
|
5523
|
+
# @return [String]
|
5199
5524
|
#
|
5200
|
-
#
|
5201
|
-
#
|
5202
|
-
# recommendations only.
|
5525
|
+
# @!attribute [rw] storage_finding
|
5526
|
+
# The finding classification of Amazon RDS storage.
|
5203
5527
|
#
|
5204
|
-
#
|
5205
|
-
# ExportAutoScalingGroupRecommendations request, Compute Optimizer
|
5206
|
-
# exports recommendations that consist of Graviton2 instance types
|
5207
|
-
# only.
|
5208
|
-
# @return [Array<String>]
|
5528
|
+
# Findings for Amazon RDS instance include:
|
5209
5529
|
#
|
5210
|
-
#
|
5530
|
+
# * <b> <code>Underprovisioned</code> </b> — When Compute Optimizer
|
5531
|
+
# detects that there’s not enough storage, an Amazon RDS is
|
5532
|
+
# considered under-provisioned.
|
5211
5533
|
#
|
5212
|
-
|
5213
|
-
|
5214
|
-
|
5534
|
+
# * <b> <code>Overprovisioned</code> </b> — When Compute Optimizer
|
5535
|
+
# detects that there’s excessive storage, an Amazon RDS is
|
5536
|
+
# considered over-provisioned.
|
5537
|
+
#
|
5538
|
+
# * <b> <code>Optimized</code> </b> — When the storage of your Amazon
|
5539
|
+
# RDS meet the performance requirements of your workload, the
|
5540
|
+
# service is considered optimized.
|
5541
|
+
# @return [String]
|
5542
|
+
#
|
5543
|
+
# @!attribute [rw] instance_finding_reason_codes
|
5544
|
+
# The reason for the finding classification of an Amazon RDS instance.
|
5545
|
+
# @return [Array<String>]
|
5546
|
+
#
|
5547
|
+
# @!attribute [rw] storage_finding_reason_codes
|
5548
|
+
# The reason for the finding classification of Amazon RDS storage.
|
5549
|
+
# @return [Array<String>]
|
5550
|
+
#
|
5551
|
+
# @!attribute [rw] instance_recommendation_options
|
5552
|
+
# An array of objects that describe the recommendation options for the
|
5553
|
+
# Amazon RDS instance.
|
5554
|
+
# @return [Array<Types::RDSDBInstanceRecommendationOption>]
|
5555
|
+
#
|
5556
|
+
# @!attribute [rw] storage_recommendation_options
|
5557
|
+
# An array of objects that describe the recommendation options for
|
5558
|
+
# Amazon RDS storage.
|
5559
|
+
# @return [Array<Types::RDSDBStorageRecommendationOption>]
|
5560
|
+
#
|
5561
|
+
# @!attribute [rw] utilization_metrics
|
5562
|
+
# An array of objects that describe the utilization metrics of the
|
5563
|
+
# Amazon RDS.
|
5564
|
+
# @return [Array<Types::RDSDBUtilizationMetric>]
|
5565
|
+
#
|
5566
|
+
# @!attribute [rw] effective_recommendation_preferences
|
5567
|
+
# Describes the effective recommendation preferences for Amazon RDS.
|
5568
|
+
# @return [Types::RDSEffectiveRecommendationPreferences]
|
5569
|
+
#
|
5570
|
+
# @!attribute [rw] lookback_period_in_days
|
5571
|
+
# The number of days the Amazon RDS utilization metrics were analyzed.
|
5572
|
+
# @return [Float]
|
5573
|
+
#
|
5574
|
+
# @!attribute [rw] last_refresh_timestamp
|
5575
|
+
# The timestamp of when the Amazon RDS recommendation was last
|
5576
|
+
# generated.
|
5577
|
+
# @return [Time]
|
5578
|
+
#
|
5579
|
+
# @!attribute [rw] tags
|
5580
|
+
# A list of tags assigned to your Amazon RDS recommendations.
|
5581
|
+
# @return [Array<Types::Tag>]
|
5582
|
+
#
|
5583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDBRecommendation AWS API Documentation
|
5584
|
+
#
|
5585
|
+
class RDSDBRecommendation < Struct.new(
|
5586
|
+
:resource_arn,
|
5587
|
+
:account_id,
|
5588
|
+
:engine,
|
5589
|
+
:engine_version,
|
5590
|
+
:current_db_instance_class,
|
5591
|
+
:current_storage_configuration,
|
5592
|
+
:idle,
|
5593
|
+
:instance_finding,
|
5594
|
+
:storage_finding,
|
5595
|
+
:instance_finding_reason_codes,
|
5596
|
+
:storage_finding_reason_codes,
|
5597
|
+
:instance_recommendation_options,
|
5598
|
+
:storage_recommendation_options,
|
5599
|
+
:utilization_metrics,
|
5600
|
+
:effective_recommendation_preferences,
|
5601
|
+
:lookback_period_in_days,
|
5602
|
+
:last_refresh_timestamp,
|
5603
|
+
:tags)
|
5604
|
+
SENSITIVE = []
|
5605
|
+
include Aws::Structure
|
5606
|
+
end
|
5607
|
+
|
5608
|
+
# Describes a filter that returns a more specific list of Amazon RDS
|
5609
|
+
# recommendations. Use this filter with the GetECSServiceRecommendations
|
5610
|
+
# action.
|
5611
|
+
#
|
5612
|
+
# @!attribute [rw] name
|
5613
|
+
# The name of the filter.
|
5614
|
+
#
|
5615
|
+
# Specify `Finding` to return recommendations with a specific finding
|
5616
|
+
# classification.
|
5617
|
+
#
|
5618
|
+
# You can filter your Amazon RDS recommendations by `tag:key` and
|
5619
|
+
# `tag-key` tags.
|
5620
|
+
#
|
5621
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
5622
|
+
# Amazon RDS recommendations. Use the tag key in the filter name and
|
5623
|
+
# the tag value as the filter value. For example, to find all Amazon
|
5624
|
+
# RDS service recommendations that have a tag with the key of `Owner`
|
5625
|
+
# and the value of `TeamA`, specify `tag:Owner` for the filter name
|
5626
|
+
# and `TeamA` for the filter value.
|
5627
|
+
#
|
5628
|
+
# A `tag-key` is the key of a tag assigned to your Amazon RDS
|
5629
|
+
# recommendations. Use this filter to find all of your Amazon RDS
|
5630
|
+
# recommendations that have a tag with a specific key. This doesn’t
|
5631
|
+
# consider the tag value. For example, you can find your Amazon RDS
|
5632
|
+
# service recommendations with a tag key value of `Owner` or without
|
5633
|
+
# any tag keys assigned.
|
5634
|
+
# @return [String]
|
5635
|
+
#
|
5636
|
+
# @!attribute [rw] values
|
5637
|
+
# The value of the filter.
|
5638
|
+
# @return [Array<String>]
|
5639
|
+
#
|
5640
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDBRecommendationFilter AWS API Documentation
|
5641
|
+
#
|
5642
|
+
class RDSDBRecommendationFilter < Struct.new(
|
5643
|
+
:name,
|
5644
|
+
:values)
|
5645
|
+
SENSITIVE = []
|
5646
|
+
include Aws::Structure
|
5647
|
+
end
|
5648
|
+
|
5649
|
+
# Describes the recommendation options for Amazon RDS storage.
|
5650
|
+
#
|
5651
|
+
# @!attribute [rw] storage_configuration
|
5652
|
+
# The recommended storage configuration.
|
5653
|
+
# @return [Types::DBStorageConfiguration]
|
5654
|
+
#
|
5655
|
+
# @!attribute [rw] rank
|
5656
|
+
# The rank identifier of the RDS storage recommendation option.
|
5657
|
+
# @return [Integer]
|
5658
|
+
#
|
5659
|
+
# @!attribute [rw] savings_opportunity
|
5660
|
+
# Describes the savings opportunity for recommendations of a given
|
5661
|
+
# resource type or for the recommendation option of an individual
|
5662
|
+
# resource.
|
5663
|
+
#
|
5664
|
+
# Savings opportunity represents the estimated monthly savings you can
|
5665
|
+
# achieve by implementing a given Compute Optimizer recommendation.
|
5666
|
+
#
|
5667
|
+
# Savings opportunity data requires that you opt in to Cost Explorer,
|
5668
|
+
# as well as activate **Receive Amazon EC2 resource recommendations**
|
5669
|
+
# in the Cost Explorer preferences page. That creates a connection
|
5670
|
+
# between Cost Explorer and Compute Optimizer. With this connection,
|
5671
|
+
# Cost Explorer generates savings estimates considering the price of
|
5672
|
+
# existing resources, the price of recommended resources, and
|
5673
|
+
# historical usage data. Estimated monthly savings reflects the
|
5674
|
+
# projected dollar savings associated with each of the recommendations
|
5675
|
+
# generated. For more information, see [Enabling Cost Explorer][1] and
|
5676
|
+
# [Optimizing your cost with Rightsizing Recommendations][2] in the
|
5677
|
+
# *Cost Management User Guide*.
|
5678
|
+
#
|
5679
|
+
#
|
5680
|
+
#
|
5681
|
+
# [1]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html
|
5682
|
+
# [2]: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html
|
5683
|
+
# @return [Types::SavingsOpportunity]
|
5684
|
+
#
|
5685
|
+
# @!attribute [rw] savings_opportunity_after_discounts
|
5686
|
+
# Describes the savings opportunity for Amazon RDS storage
|
5687
|
+
# recommendations or for the recommendation option.
|
5688
|
+
#
|
5689
|
+
# Savings opportunity represents the estimated monthly savings after
|
5690
|
+
# applying Savings Plans discounts. You can achieve this by
|
5691
|
+
# implementing a given Compute Optimizer recommendation.
|
5692
|
+
# @return [Types::RDSStorageSavingsOpportunityAfterDiscounts]
|
5693
|
+
#
|
5694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDBStorageRecommendationOption AWS API Documentation
|
5695
|
+
#
|
5696
|
+
class RDSDBStorageRecommendationOption < Struct.new(
|
5697
|
+
:storage_configuration,
|
5698
|
+
:rank,
|
5699
|
+
:savings_opportunity,
|
5700
|
+
:savings_opportunity_after_discounts)
|
5701
|
+
SENSITIVE = []
|
5702
|
+
include Aws::Structure
|
5703
|
+
end
|
5704
|
+
|
5705
|
+
# Describes the utilization metric of an Amazon RDS.
|
5706
|
+
#
|
5707
|
+
# To determine the performance difference between your current Amazon
|
5708
|
+
# RDS and the recommended option, compare the utilization metric data of
|
5709
|
+
# your service against its projected utilization metric data.
|
5710
|
+
#
|
5711
|
+
# @!attribute [rw] name
|
5712
|
+
# The name of the utilization metric.
|
5713
|
+
# @return [String]
|
5714
|
+
#
|
5715
|
+
# @!attribute [rw] statistic
|
5716
|
+
# The statistic of the utilization metric.
|
5717
|
+
#
|
5718
|
+
# The Compute Optimizer API, Command Line Interface (CLI), and SDKs
|
5719
|
+
# return utilization metrics using only the `Maximum` statistic, which
|
5720
|
+
# is the highest value observed during the specified period.
|
5721
|
+
#
|
5722
|
+
# The Compute Optimizer console displays graphs for some utilization
|
5723
|
+
# metrics using the `Average` statistic, which is the value of `Sum` /
|
5724
|
+
# `SampleCount` during the specified period. For more information, see
|
5725
|
+
# [Viewing resource recommendations][1] in the *Compute Optimizer User
|
5726
|
+
# Guide*. You can also get averaged utilization metric data for your
|
5727
|
+
# resources using Amazon CloudWatch. For more information, see the
|
5728
|
+
# [Amazon CloudWatch User Guide][2].
|
5729
|
+
#
|
5730
|
+
#
|
5731
|
+
#
|
5732
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html
|
5733
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html
|
5734
|
+
# @return [String]
|
5735
|
+
#
|
5736
|
+
# @!attribute [rw] value
|
5737
|
+
# The value of the utilization metric.
|
5738
|
+
# @return [Float]
|
5739
|
+
#
|
5740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDBUtilizationMetric AWS API Documentation
|
5741
|
+
#
|
5742
|
+
class RDSDBUtilizationMetric < Struct.new(
|
5743
|
+
:name,
|
5744
|
+
:statistic,
|
5745
|
+
:value)
|
5746
|
+
SENSITIVE = []
|
5747
|
+
include Aws::Structure
|
5748
|
+
end
|
5749
|
+
|
5750
|
+
# Describes the projected metrics of an Amazon RDS recommendation
|
5751
|
+
# option.
|
5752
|
+
#
|
5753
|
+
# To determine the performance difference between your current Amazon
|
5754
|
+
# RDS and the recommended option, compare the metric data of your
|
5755
|
+
# service against its projected metric data.
|
5756
|
+
#
|
5757
|
+
# @!attribute [rw] name
|
5758
|
+
# The name of the projected metric.
|
5759
|
+
# @return [String]
|
5760
|
+
#
|
5761
|
+
# @!attribute [rw] timestamps
|
5762
|
+
# The timestamps of the projected metric.
|
5763
|
+
# @return [Array<Time>]
|
5764
|
+
#
|
5765
|
+
# @!attribute [rw] values
|
5766
|
+
# The values for the projected metric.
|
5767
|
+
# @return [Array<Float>]
|
5768
|
+
#
|
5769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDatabaseProjectedMetric AWS API Documentation
|
5770
|
+
#
|
5771
|
+
class RDSDatabaseProjectedMetric < Struct.new(
|
5772
|
+
:name,
|
5773
|
+
:timestamps,
|
5774
|
+
:values)
|
5775
|
+
SENSITIVE = []
|
5776
|
+
include Aws::Structure
|
5777
|
+
end
|
5778
|
+
|
5779
|
+
# Describes the projected metrics of an Amazon RDS recommendation
|
5780
|
+
# option.
|
5781
|
+
#
|
5782
|
+
# To determine the performance difference between your current Amazon
|
5783
|
+
# RDS and the recommended option, compare the metric data of your
|
5784
|
+
# service against its projected metric data.
|
5785
|
+
#
|
5786
|
+
# @!attribute [rw] recommended_db_instance_class
|
5787
|
+
# The recommended DB instance class for the Amazon RDS.
|
5788
|
+
# @return [String]
|
5789
|
+
#
|
5790
|
+
# @!attribute [rw] rank
|
5791
|
+
# The rank identifier of the RDS instance recommendation option.
|
5792
|
+
# @return [Integer]
|
5793
|
+
#
|
5794
|
+
# @!attribute [rw] projected_metrics
|
5795
|
+
# An array of objects that describe the projected metric.
|
5796
|
+
# @return [Array<Types::RDSDatabaseProjectedMetric>]
|
5797
|
+
#
|
5798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSDatabaseRecommendedOptionProjectedMetric AWS API Documentation
|
5799
|
+
#
|
5800
|
+
class RDSDatabaseRecommendedOptionProjectedMetric < Struct.new(
|
5801
|
+
:recommended_db_instance_class,
|
5802
|
+
:rank,
|
5803
|
+
:projected_metrics)
|
5804
|
+
SENSITIVE = []
|
5805
|
+
include Aws::Structure
|
5806
|
+
end
|
5807
|
+
|
5808
|
+
# Describes the effective recommendation preferences for Amazon RDS.
|
5809
|
+
#
|
5810
|
+
# @!attribute [rw] cpu_vendor_architectures
|
5811
|
+
# Describes the CPU vendor and architecture for Amazon RDS
|
5812
|
+
# recommendations.
|
5813
|
+
# @return [Array<String>]
|
5814
|
+
#
|
5815
|
+
# @!attribute [rw] enhanced_infrastructure_metrics
|
5816
|
+
# Describes the activation status of the enhanced infrastructure
|
5817
|
+
# metrics preference.
|
5818
|
+
#
|
5819
|
+
# A status of `Active` confirms that the preference is applied in the
|
5820
|
+
# latest recommendation refresh, and a status of `Inactive` confirms
|
5821
|
+
# that it's not yet applied to recommendations.
|
5822
|
+
#
|
5823
|
+
# For more information, see [Enhanced infrastructure metrics][1] in
|
5824
|
+
# the *Compute Optimizer User Guide*.
|
5825
|
+
#
|
5826
|
+
#
|
5827
|
+
#
|
5828
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] look_back_period
|
5832
|
+
# The number of days the utilization metrics of the Amazon RDS are
|
5833
|
+
# analyzed.
|
5834
|
+
# @return [String]
|
5835
|
+
#
|
5836
|
+
# @!attribute [rw] savings_estimation_mode
|
5837
|
+
# Describes the savings estimation mode preference applied for
|
5838
|
+
# calculating savings opportunity for Amazon RDS.
|
5839
|
+
# @return [Types::RDSSavingsEstimationMode]
|
5840
|
+
#
|
5841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSEffectiveRecommendationPreferences AWS API Documentation
|
5842
|
+
#
|
5843
|
+
class RDSEffectiveRecommendationPreferences < Struct.new(
|
5844
|
+
:cpu_vendor_architectures,
|
5845
|
+
:enhanced_infrastructure_metrics,
|
5846
|
+
:look_back_period,
|
5847
|
+
:savings_estimation_mode)
|
5848
|
+
SENSITIVE = []
|
5849
|
+
include Aws::Structure
|
5850
|
+
end
|
5851
|
+
|
5852
|
+
# Describes the estimated monthly savings possible for Amazon RDS
|
5853
|
+
# instances by adopting Compute Optimizer recommendations. This is based
|
5854
|
+
# on Amazon RDS pricing after applying Savings Plans discounts.
|
5855
|
+
#
|
5856
|
+
# @!attribute [rw] currency
|
5857
|
+
# The currency of the estimated monthly savings.
|
5858
|
+
# @return [String]
|
5859
|
+
#
|
5860
|
+
# @!attribute [rw] value
|
5861
|
+
# The value of the estimated monthly savings for Amazon RDS instances.
|
5862
|
+
# @return [Float]
|
5863
|
+
#
|
5864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSInstanceEstimatedMonthlySavings AWS API Documentation
|
5865
|
+
#
|
5866
|
+
class RDSInstanceEstimatedMonthlySavings < Struct.new(
|
5867
|
+
:currency,
|
5868
|
+
:value)
|
5869
|
+
SENSITIVE = []
|
5870
|
+
include Aws::Structure
|
5871
|
+
end
|
5872
|
+
|
5873
|
+
# Describes the savings opportunity for Amazon RDS instance
|
5874
|
+
# recommendations after applying Savings Plans discounts.
|
5875
|
+
#
|
5876
|
+
# Savings opportunity represents the estimated monthly savings after
|
5877
|
+
# applying Savings Plans discounts. You can achieve this by implementing
|
5878
|
+
# a given Compute Optimizer recommendation.
|
5879
|
+
#
|
5880
|
+
# @!attribute [rw] savings_opportunity_percentage
|
5881
|
+
# The estimated monthly savings possible as a percentage of monthly
|
5882
|
+
# cost by adopting Compute Optimizer’s Amazon RDS instance
|
5883
|
+
# recommendations. This includes any applicable Savings Plans
|
5884
|
+
# discounts.
|
5885
|
+
# @return [Float]
|
5886
|
+
#
|
5887
|
+
# @!attribute [rw] estimated_monthly_savings
|
5888
|
+
# The estimated monthly savings possible by adopting Compute
|
5889
|
+
# Optimizer’s Amazon RDS instance recommendations. This includes any
|
5890
|
+
# applicable Savings Plans discounts.
|
5891
|
+
# @return [Types::RDSInstanceEstimatedMonthlySavings]
|
5892
|
+
#
|
5893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSInstanceSavingsOpportunityAfterDiscounts AWS API Documentation
|
5894
|
+
#
|
5895
|
+
class RDSInstanceSavingsOpportunityAfterDiscounts < Struct.new(
|
5896
|
+
:savings_opportunity_percentage,
|
5897
|
+
:estimated_monthly_savings)
|
5898
|
+
SENSITIVE = []
|
5899
|
+
include Aws::Structure
|
5900
|
+
end
|
5901
|
+
|
5902
|
+
# Describes the savings estimation mode used for calculating savings
|
5903
|
+
# opportunity for Amazon RDS.
|
5904
|
+
#
|
5905
|
+
# @!attribute [rw] source
|
5906
|
+
# Describes the source for calculating the savings opportunity for
|
5907
|
+
# Amazon RDS.
|
5908
|
+
# @return [String]
|
5909
|
+
#
|
5910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSSavingsEstimationMode AWS API Documentation
|
5911
|
+
#
|
5912
|
+
class RDSSavingsEstimationMode < Struct.new(
|
5913
|
+
:source)
|
5914
|
+
SENSITIVE = []
|
5915
|
+
include Aws::Structure
|
5916
|
+
end
|
5917
|
+
|
5918
|
+
# Describes the estimated monthly savings possible for Amazon RDS
|
5919
|
+
# storage by adopting Compute Optimizer recommendations. This is based
|
5920
|
+
# on Amazon RDS pricing after applying Savings Plans discounts.
|
5921
|
+
#
|
5922
|
+
# @!attribute [rw] currency
|
5923
|
+
# The currency of the estimated monthly savings.
|
5924
|
+
# @return [String]
|
5925
|
+
#
|
5926
|
+
# @!attribute [rw] value
|
5927
|
+
# The value of the estimated monthly savings for Amazon RDS storage.
|
5928
|
+
# @return [Float]
|
5929
|
+
#
|
5930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSStorageEstimatedMonthlySavings AWS API Documentation
|
5931
|
+
#
|
5932
|
+
class RDSStorageEstimatedMonthlySavings < Struct.new(
|
5933
|
+
:currency,
|
5934
|
+
:value)
|
5935
|
+
SENSITIVE = []
|
5936
|
+
include Aws::Structure
|
5937
|
+
end
|
5938
|
+
|
5939
|
+
# Describes the savings opportunity for Amazon RDS storage
|
5940
|
+
# recommendations after applying Savings Plans discounts.
|
5941
|
+
#
|
5942
|
+
# Savings opportunity represents the estimated monthly savings after
|
5943
|
+
# applying Savings Plans discounts. You can achieve this by implementing
|
5944
|
+
# a given Compute Optimizer recommendation.
|
5945
|
+
#
|
5946
|
+
# @!attribute [rw] savings_opportunity_percentage
|
5947
|
+
# The estimated monthly savings possible as a percentage of monthly
|
5948
|
+
# cost by adopting Compute Optimizer’s Amazon RDS storage
|
5949
|
+
# recommendations. This includes any applicable Savings Plans
|
5950
|
+
# discounts.
|
5951
|
+
# @return [Float]
|
5952
|
+
#
|
5953
|
+
# @!attribute [rw] estimated_monthly_savings
|
5954
|
+
# The estimated monthly savings possible by adopting Compute
|
5955
|
+
# Optimizer’s Amazon RDS storage recommendations. This includes any
|
5956
|
+
# applicable Savings Plans discounts.
|
5957
|
+
# @return [Types::RDSStorageEstimatedMonthlySavings]
|
5958
|
+
#
|
5959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RDSStorageSavingsOpportunityAfterDiscounts AWS API Documentation
|
5960
|
+
#
|
5961
|
+
class RDSStorageSavingsOpportunityAfterDiscounts < Struct.new(
|
5962
|
+
:savings_opportunity_percentage,
|
5963
|
+
:estimated_monthly_savings)
|
5964
|
+
SENSITIVE = []
|
5965
|
+
include Aws::Structure
|
5966
|
+
end
|
5967
|
+
|
5968
|
+
# A summary of a finding reason code.
|
5969
|
+
#
|
5970
|
+
# @!attribute [rw] name
|
5971
|
+
# The name of the finding reason code.
|
5972
|
+
# @return [String]
|
5973
|
+
#
|
5974
|
+
# @!attribute [rw] value
|
5975
|
+
# The value of the finding reason code summary.
|
5976
|
+
# @return [Float]
|
5977
|
+
#
|
5978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ReasonCodeSummary AWS API Documentation
|
5979
|
+
#
|
5980
|
+
class ReasonCodeSummary < Struct.new(
|
5981
|
+
:name,
|
5982
|
+
:value)
|
5983
|
+
SENSITIVE = []
|
5984
|
+
include Aws::Structure
|
5985
|
+
end
|
5986
|
+
|
5987
|
+
# Describes a recommendation export job.
|
5988
|
+
#
|
5989
|
+
# Use the DescribeRecommendationExportJobs action to view your
|
5990
|
+
# recommendation export jobs.
|
5991
|
+
#
|
5992
|
+
# Use the ExportAutoScalingGroupRecommendations or
|
5993
|
+
# ExportEC2InstanceRecommendations actions to request an export of your
|
5994
|
+
# recommendations.
|
5995
|
+
#
|
5996
|
+
# @!attribute [rw] job_id
|
5997
|
+
# The identification number of the export job.
|
5998
|
+
# @return [String]
|
5999
|
+
#
|
6000
|
+
# @!attribute [rw] destination
|
6001
|
+
# An object that describes the destination of the export file.
|
6002
|
+
# @return [Types::ExportDestination]
|
6003
|
+
#
|
6004
|
+
# @!attribute [rw] resource_type
|
6005
|
+
# The resource type of the exported recommendations.
|
6006
|
+
# @return [String]
|
6007
|
+
#
|
6008
|
+
# @!attribute [rw] status
|
6009
|
+
# The status of the export job.
|
6010
|
+
# @return [String]
|
6011
|
+
#
|
6012
|
+
# @!attribute [rw] creation_timestamp
|
6013
|
+
# The timestamp of when the export job was created.
|
6014
|
+
# @return [Time]
|
6015
|
+
#
|
6016
|
+
# @!attribute [rw] last_updated_timestamp
|
6017
|
+
# The timestamp of when the export job was last updated.
|
6018
|
+
# @return [Time]
|
6019
|
+
#
|
6020
|
+
# @!attribute [rw] failure_reason
|
6021
|
+
# The reason for an export job failure.
|
6022
|
+
# @return [String]
|
6023
|
+
#
|
6024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RecommendationExportJob AWS API Documentation
|
6025
|
+
#
|
6026
|
+
class RecommendationExportJob < Struct.new(
|
6027
|
+
:job_id,
|
6028
|
+
:destination,
|
6029
|
+
:resource_type,
|
6030
|
+
:status,
|
6031
|
+
:creation_timestamp,
|
6032
|
+
:last_updated_timestamp,
|
6033
|
+
:failure_reason)
|
6034
|
+
SENSITIVE = []
|
6035
|
+
include Aws::Structure
|
6036
|
+
end
|
6037
|
+
|
6038
|
+
# Describes the recommendation preferences to return in the response of
|
6039
|
+
# a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations,
|
6040
|
+
# GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations,
|
6041
|
+
# and GetRDSDatabaseRecommendationProjectedMetrics request.
|
6042
|
+
#
|
6043
|
+
# @!attribute [rw] cpu_vendor_architectures
|
6044
|
+
# Specifies the CPU vendor and architecture for Amazon EC2 instance
|
6045
|
+
# and Auto Scaling group recommendations.
|
6046
|
+
#
|
6047
|
+
# For example, when you specify `AWS_ARM64` with:
|
6048
|
+
#
|
6049
|
+
# * A GetEC2InstanceRecommendations or
|
6050
|
+
# GetAutoScalingGroupRecommendations request, Compute Optimizer
|
6051
|
+
# returns recommendations that consist of Graviton instance types
|
6052
|
+
# only.
|
6053
|
+
#
|
6054
|
+
# * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer
|
6055
|
+
# returns projected utilization metrics for Graviton instance type
|
6056
|
+
# recommendations only.
|
6057
|
+
#
|
6058
|
+
# * A ExportEC2InstanceRecommendations or
|
6059
|
+
# ExportAutoScalingGroupRecommendations request, Compute Optimizer
|
6060
|
+
# exports recommendations that consist of Graviton instance types
|
6061
|
+
# only.
|
6062
|
+
# @return [Array<String>]
|
6063
|
+
#
|
6064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RecommendationPreferences AWS API Documentation
|
6065
|
+
#
|
6066
|
+
class RecommendationPreferences < Struct.new(
|
6067
|
+
:cpu_vendor_architectures)
|
6068
|
+
SENSITIVE = []
|
5215
6069
|
include Aws::Structure
|
5216
6070
|
end
|
5217
6071
|
|
@@ -5974,8 +6828,8 @@ module Aws::ComputeOptimizer
|
|
5974
6828
|
include Aws::Structure
|
5975
6829
|
end
|
5976
6830
|
|
5977
|
-
# The preference to control the resource’s CPU utilization
|
5978
|
-
#
|
6831
|
+
# The preference to control the resource’s CPU utilization threshold,
|
6832
|
+
# CPU utilization headroom, and memory utilization headroom.
|
5979
6833
|
#
|
5980
6834
|
# <note markdown="1"> This preference is only available for the Amazon EC2 instance resource
|
5981
6835
|
# type.
|
@@ -6106,15 +6960,15 @@ module Aws::ComputeOptimizer
|
|
6106
6960
|
# EBS volume doesn't have sufficient capacity.
|
6107
6961
|
# @return [String]
|
6108
6962
|
#
|
6109
|
-
# @!attribute [rw] tags
|
6110
|
-
# A list of tags assigned to your Amazon EBS volume recommendations.
|
6111
|
-
# @return [Array<Types::Tag>]
|
6112
|
-
#
|
6113
6963
|
# @!attribute [rw] effective_recommendation_preferences
|
6114
6964
|
# Describes the effective recommendation preferences for Amazon EBS
|
6115
6965
|
# volume.
|
6116
6966
|
# @return [Types::EBSEffectiveRecommendationPreferences]
|
6117
6967
|
#
|
6968
|
+
# @!attribute [rw] tags
|
6969
|
+
# A list of tags assigned to your Amazon EBS volume recommendations.
|
6970
|
+
# @return [Array<Types::Tag>]
|
6971
|
+
#
|
6118
6972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/VolumeRecommendation AWS API Documentation
|
6119
6973
|
#
|
6120
6974
|
class VolumeRecommendation < Struct.new(
|
@@ -6127,8 +6981,8 @@ module Aws::ComputeOptimizer
|
|
6127
6981
|
:volume_recommendation_options,
|
6128
6982
|
:last_refresh_timestamp,
|
6129
6983
|
:current_performance_risk,
|
6130
|
-
:
|
6131
|
-
:
|
6984
|
+
:effective_recommendation_preferences,
|
6985
|
+
:tags)
|
6132
6986
|
SENSITIVE = []
|
6133
6987
|
include Aws::Structure
|
6134
6988
|
end
|