aws-sdk-computeoptimizer 1.86.0 → 1.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +62 -60
- data/lib/aws-sdk-computeoptimizer/types.rb +136 -131
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +1 -1
- data/sig/types.rbs +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c333dc0812c98e214ef59d0d07db2c7f041ff7f82f6952ab59c3636d83e8ee2
|
|
4
|
+
data.tar.gz: 704a451d64ad3ec2bea13847afe22b49c9b008e63239342f089e2f02531ca835
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a926c180ffd14e2eb7ff1dd51b1e85bf3b8d8575b4972049645f0ae7dfd0cc92e703ed5619a35b2572e3172c34da648ba0393b67e732b5fa65cdd9b302604e4
|
|
7
|
+
data.tar.gz: 0c7476afa7b20c2876c51a0a855750492002a3f4a5d2c83f687200f46479c53fd80d2f127820abd0914d262f06e2dfdd8eb807a7cc409010ed0062f9b61df5b2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.87.0 (2025-11-26)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Compute Optimizer now identifies idle NAT Gateway resources for cost optimization based on traffic patterns and backup configuration analysis. Access recommendations via the GetIdleRecommendations API.
|
|
8
|
+
|
|
4
9
|
1.86.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.87.0
|
|
@@ -497,9 +497,9 @@ module Aws::ComputeOptimizer
|
|
|
497
497
|
# The target resource type of the recommendation preference to delete.
|
|
498
498
|
#
|
|
499
499
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
500
|
-
# instances that are part of Auto Scaling groups. The
|
|
501
|
-
# option encompasses only instances that are part of
|
|
502
|
-
# group.
|
|
500
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
501
|
+
# `AutoScalingGroup` option encompasses only instances that are part of
|
|
502
|
+
# an Amazon EC2 Auto Scaling group.
|
|
503
503
|
#
|
|
504
504
|
# @option params [Types::Scope] :scope
|
|
505
505
|
# An object that describes the scope of the recommendation preference to
|
|
@@ -614,7 +614,8 @@ module Aws::ComputeOptimizer
|
|
|
614
614
|
req.send_request(options)
|
|
615
615
|
end
|
|
616
616
|
|
|
617
|
-
# Exports optimization recommendations for Auto Scaling
|
|
617
|
+
# Exports optimization recommendations for Amazon EC2 Auto Scaling
|
|
618
|
+
# groups.
|
|
618
619
|
#
|
|
619
620
|
# Recommendations are exported in a comma-separated values (.csv) file,
|
|
620
621
|
# and its metadata in a JavaScript Object Notation (JSON) (.json) file,
|
|
@@ -622,16 +623,16 @@ module Aws::ComputeOptimizer
|
|
|
622
623
|
# you specify. For more information, see [Exporting Recommendations][1]
|
|
623
624
|
# in the *Compute Optimizer User Guide*.
|
|
624
625
|
#
|
|
625
|
-
# You can have only one Auto Scaling group export job in
|
|
626
|
-
# Amazon Web Services Region.
|
|
626
|
+
# You can have only one Amazon EC2 Auto Scaling group export job in
|
|
627
|
+
# progress per Amazon Web Services Region.
|
|
627
628
|
#
|
|
628
629
|
#
|
|
629
630
|
#
|
|
630
631
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
|
|
631
632
|
#
|
|
632
633
|
# @option params [Array<String>] :account_ids
|
|
633
|
-
# The IDs of the Amazon Web Services accounts for which to export
|
|
634
|
-
# Scaling group recommendations.
|
|
634
|
+
# The IDs of the Amazon Web Services accounts for which to export Amazon
|
|
635
|
+
# EC2 Auto Scaling group recommendations.
|
|
635
636
|
#
|
|
636
637
|
# If your account is the management account of an organization, use this
|
|
637
638
|
# parameter to specify the member account for which you want to export
|
|
@@ -647,7 +648,7 @@ module Aws::ComputeOptimizer
|
|
|
647
648
|
#
|
|
648
649
|
# @option params [Array<Types::Filter>] :filters
|
|
649
650
|
# An array of objects to specify a filter that exports a more specific
|
|
650
|
-
# set of Auto Scaling group recommendations.
|
|
651
|
+
# set of Amazon EC2 Auto Scaling group recommendations.
|
|
651
652
|
#
|
|
652
653
|
# @option params [Array<String>] :fields_to_export
|
|
653
654
|
# The recommendations data to include in the export file. For more
|
|
@@ -706,8 +707,8 @@ module Aws::ComputeOptimizer
|
|
|
706
707
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
|
|
707
708
|
#
|
|
708
709
|
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
|
709
|
-
# An object to specify the preferences for the Auto Scaling
|
|
710
|
-
# recommendations to export.
|
|
710
|
+
# An object to specify the preferences for the Amazon EC2 Auto Scaling
|
|
711
|
+
# group recommendations to export.
|
|
711
712
|
#
|
|
712
713
|
# @return [Types::ExportAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
713
714
|
#
|
|
@@ -1252,7 +1253,7 @@ module Aws::ComputeOptimizer
|
|
|
1252
1253
|
# values: ["FilterValue"],
|
|
1253
1254
|
# },
|
|
1254
1255
|
# ],
|
|
1255
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, ResourceArn, ResourceId, ResourceType, LastRefreshTimestamp, LookbackPeriodInDays, SavingsOpportunity, SavingsOpportunityAfterDiscount, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsDatabaseConnectionsMaximum, UtilizationMetricsEBSVolumeReadIOPSMaximum, UtilizationMetricsEBSVolumeWriteIOPSMaximum, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, Finding, FindingDescription, Tags
|
|
1256
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, ResourceArn, ResourceId, ResourceType, LastRefreshTimestamp, LookbackPeriodInDays, SavingsOpportunity, SavingsOpportunityAfterDiscount, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsDatabaseConnectionsMaximum, UtilizationMetricsEBSVolumeReadIOPSMaximum, UtilizationMetricsEBSVolumeWriteIOPSMaximum, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsActiveConnectionCountMaximum, UtilizationMetricsPacketsInFromSourceMaximum, UtilizationMetricsPacketsInFromDestinationMaximum, Finding, FindingDescription, Tags
|
|
1256
1257
|
# s3_destination_config: { # required
|
|
1257
1258
|
# bucket: "DestinationBucket",
|
|
1258
1259
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -1676,7 +1677,7 @@ module Aws::ComputeOptimizer
|
|
|
1676
1677
|
req.send_request(options)
|
|
1677
1678
|
end
|
|
1678
1679
|
|
|
1679
|
-
# Returns Auto Scaling group recommendations.
|
|
1680
|
+
# Returns Amazon EC2 Auto Scaling group recommendations.
|
|
1680
1681
|
#
|
|
1681
1682
|
# Compute Optimizer generates recommendations for Amazon EC2 Auto
|
|
1682
1683
|
# Scaling groups that meet a specific set of requirements. For more
|
|
@@ -1688,37 +1689,37 @@ module Aws::ComputeOptimizer
|
|
|
1688
1689
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
|
1689
1690
|
#
|
|
1690
1691
|
# @option params [Array<String>] :account_ids
|
|
1691
|
-
# The ID of the Amazon Web Services account for which to return
|
|
1692
|
-
# Scaling group recommendations.
|
|
1692
|
+
# The ID of the Amazon Web Services account for which to return Amazon
|
|
1693
|
+
# EC2 Auto Scaling group recommendations.
|
|
1693
1694
|
#
|
|
1694
1695
|
# If your account is the management account of an organization, use this
|
|
1695
1696
|
# parameter to specify the member account for which you want to return
|
|
1696
|
-
# Auto Scaling group recommendations.
|
|
1697
|
+
# Amazon EC2 Auto Scaling group recommendations.
|
|
1697
1698
|
#
|
|
1698
1699
|
# Only one account ID can be specified per request.
|
|
1699
1700
|
#
|
|
1700
1701
|
# @option params [Array<String>] :auto_scaling_group_arns
|
|
1701
|
-
# The Amazon Resource Name (ARN) of the Auto Scaling groups
|
|
1702
|
-
# return recommendations.
|
|
1702
|
+
# The Amazon Resource Name (ARN) of the Amazon EC2 Auto Scaling groups
|
|
1703
|
+
# for which to return recommendations.
|
|
1703
1704
|
#
|
|
1704
1705
|
# @option params [String] :next_token
|
|
1705
|
-
# The token to advance to the next page of Auto Scaling group
|
|
1706
|
+
# The token to advance to the next page of Amazon EC2 Auto Scaling group
|
|
1706
1707
|
# recommendations.
|
|
1707
1708
|
#
|
|
1708
1709
|
# @option params [Integer] :max_results
|
|
1709
|
-
# The maximum number of Auto Scaling group recommendations to
|
|
1710
|
-
# with a single request.
|
|
1710
|
+
# The maximum number of Amazon EC2 Auto Scaling group recommendations to
|
|
1711
|
+
# return with a single request.
|
|
1711
1712
|
#
|
|
1712
1713
|
# To retrieve the remaining results, make another request with the
|
|
1713
1714
|
# returned `nextToken` value.
|
|
1714
1715
|
#
|
|
1715
1716
|
# @option params [Array<Types::Filter>] :filters
|
|
1716
1717
|
# An array of objects to specify a filter that returns a more specific
|
|
1717
|
-
# list of Auto Scaling group recommendations.
|
|
1718
|
+
# list of Amazon EC2 Auto Scaling group recommendations.
|
|
1718
1719
|
#
|
|
1719
1720
|
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
|
1720
|
-
# An object to specify the preferences for the Auto Scaling
|
|
1721
|
-
# recommendations to return in the response.
|
|
1721
|
+
# An object to specify the preferences for the Amazon EC2 Auto Scaling
|
|
1722
|
+
# group recommendations to return in the response.
|
|
1722
1723
|
#
|
|
1723
1724
|
# @return [Types::GetAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1724
1725
|
#
|
|
@@ -2053,7 +2054,7 @@ module Aws::ComputeOptimizer
|
|
|
2053
2054
|
# resp.instance_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
|
|
2054
2055
|
# resp.instance_recommendations[0].recommendation_sources #=> Array
|
|
2055
2056
|
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_arn #=> String
|
|
2056
|
-
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage"
|
|
2057
|
+
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage", "NatGateway"
|
|
2057
2058
|
# resp.instance_recommendations[0].last_refresh_timestamp #=> Time
|
|
2058
2059
|
# resp.instance_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
|
2059
2060
|
# resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
|
|
@@ -2370,8 +2371,8 @@ module Aws::ComputeOptimizer
|
|
|
2370
2371
|
#
|
|
2371
2372
|
# @option params [required, String] :resource_arn
|
|
2372
2373
|
# The Amazon Resource Name (ARN) of the resource for which to confirm
|
|
2373
|
-
# effective recommendation preferences. Only EC2 instance and
|
|
2374
|
-
# Scaling group ARNs are currently supported.
|
|
2374
|
+
# effective recommendation preferences. Only EC2 instance and Amazon EC2
|
|
2375
|
+
# Auto Scaling group ARNs are currently supported.
|
|
2375
2376
|
#
|
|
2376
2377
|
# @return [Types::GetEffectiveRecommendationPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2377
2378
|
#
|
|
@@ -2579,9 +2580,9 @@ module Aws::ComputeOptimizer
|
|
|
2579
2580
|
# resp.idle_recommendations #=> Array
|
|
2580
2581
|
# resp.idle_recommendations[0].resource_arn #=> String
|
|
2581
2582
|
# resp.idle_recommendations[0].resource_id #=> String
|
|
2582
|
-
# resp.idle_recommendations[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance"
|
|
2583
|
+
# resp.idle_recommendations[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance", "NatGateway"
|
|
2583
2584
|
# resp.idle_recommendations[0].account_id #=> String
|
|
2584
|
-
# resp.idle_recommendations[0].finding #=> String, one of "Idle", "Unattached"
|
|
2585
|
+
# resp.idle_recommendations[0].finding #=> String, one of "Idle", "Unattached", "Unused"
|
|
2585
2586
|
# resp.idle_recommendations[0].finding_description #=> String
|
|
2586
2587
|
# resp.idle_recommendations[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
|
2587
2588
|
# resp.idle_recommendations[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
|
@@ -2590,7 +2591,7 @@ module Aws::ComputeOptimizer
|
|
|
2590
2591
|
# resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
|
2591
2592
|
# resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
|
2592
2593
|
# resp.idle_recommendations[0].utilization_metrics #=> Array
|
|
2593
|
-
# resp.idle_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "NetworkOutBytesPerSecond", "NetworkInBytesPerSecond", "DatabaseConnections", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond"
|
|
2594
|
+
# resp.idle_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "NetworkOutBytesPerSecond", "NetworkInBytesPerSecond", "DatabaseConnections", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond", "ActiveConnectionCount", "PacketsInFromSource", "PacketsInFromDestination"
|
|
2594
2595
|
# resp.idle_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
2595
2596
|
# resp.idle_recommendations[0].utilization_metrics[0].value #=> Float
|
|
2596
2597
|
# resp.idle_recommendations[0].look_back_period_in_days #=> Float
|
|
@@ -2602,7 +2603,7 @@ module Aws::ComputeOptimizer
|
|
|
2602
2603
|
# resp.errors[0].identifier #=> String
|
|
2603
2604
|
# resp.errors[0].code #=> String
|
|
2604
2605
|
# resp.errors[0].message #=> String
|
|
2605
|
-
# resp.errors[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance"
|
|
2606
|
+
# resp.errors[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance", "NatGateway"
|
|
2606
2607
|
#
|
|
2607
2608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetIdleRecommendations AWS API Documentation
|
|
2608
2609
|
#
|
|
@@ -3070,8 +3071,8 @@ module Aws::ComputeOptimizer
|
|
|
3070
3071
|
#
|
|
3071
3072
|
# Use the `scope` parameter to specify which preferences to return. You
|
|
3072
3073
|
# can specify to return preferences for an organization, a specific
|
|
3073
|
-
# account ID, or a specific EC2 instance or Auto Scaling
|
|
3074
|
-
# Resource Name (ARN).
|
|
3074
|
+
# account ID, or a specific EC2 instance or Amazon EC2 Auto Scaling
|
|
3075
|
+
# group Amazon Resource Name (ARN).
|
|
3075
3076
|
#
|
|
3076
3077
|
# For more information, see [Activating enhanced infrastructure
|
|
3077
3078
|
# metrics][1] in the *Compute Optimizer User Guide*.
|
|
@@ -3085,9 +3086,9 @@ module Aws::ComputeOptimizer
|
|
|
3085
3086
|
# return preferences.
|
|
3086
3087
|
#
|
|
3087
3088
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
3088
|
-
# instances that are part of Auto Scaling groups. The
|
|
3089
|
-
# option encompasses only instances that are part of
|
|
3090
|
-
# group.
|
|
3089
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
3090
|
+
# `AutoScalingGroup` option encompasses only instances that are part of
|
|
3091
|
+
# an Amazon EC2 Auto Scaling group.
|
|
3091
3092
|
#
|
|
3092
3093
|
# @option params [Types::Scope] :scope
|
|
3093
3094
|
# An object that describes the scope of the recommendation preference to
|
|
@@ -3173,8 +3174,8 @@ module Aws::ComputeOptimizer
|
|
|
3173
3174
|
# * Amazon EC2 instances in an account that are `Underprovisioned`,
|
|
3174
3175
|
# `Overprovisioned`, or `Optimized`.
|
|
3175
3176
|
#
|
|
3176
|
-
# *
|
|
3177
|
-
# `Optimized`.
|
|
3177
|
+
# * EC2Amazon EC2 Auto Scaling groups in an account that are
|
|
3178
|
+
# `NotOptimized`, or `Optimized`.
|
|
3178
3179
|
#
|
|
3179
3180
|
# * Amazon EBS volumes in an account that are `NotOptimized`, or
|
|
3180
3181
|
# `Optimized`.
|
|
@@ -3238,9 +3239,9 @@ module Aws::ComputeOptimizer
|
|
|
3238
3239
|
# resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].name #=> String, one of "MemoryOverprovisioned", "MemoryUnderprovisioned"
|
|
3239
3240
|
# resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].value #=> Float
|
|
3240
3241
|
# resp.recommendation_summaries[0].idle_summaries #=> Array
|
|
3241
|
-
# resp.recommendation_summaries[0].idle_summaries[0].name #=> String, one of "Idle", "Unattached"
|
|
3242
|
+
# resp.recommendation_summaries[0].idle_summaries[0].name #=> String, one of "Idle", "Unattached", "Unused"
|
|
3242
3243
|
# resp.recommendation_summaries[0].idle_summaries[0].value #=> Float
|
|
3243
|
-
# resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage"
|
|
3244
|
+
# resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage", "NatGateway"
|
|
3244
3245
|
# resp.recommendation_summaries[0].account_id #=> String
|
|
3245
3246
|
# resp.recommendation_summaries[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
|
3246
3247
|
# resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
|
@@ -3284,9 +3285,9 @@ module Aws::ComputeOptimizer
|
|
|
3284
3285
|
# The target resource type of the recommendation preference to create.
|
|
3285
3286
|
#
|
|
3286
3287
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
3287
|
-
# instances that are part of Auto Scaling groups. The
|
|
3288
|
-
# option encompasses only instances that are part of
|
|
3289
|
-
# group.
|
|
3288
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
3289
|
+
# `AutoScalingGroup` option encompasses only instances that are part of
|
|
3290
|
+
# an Amazon EC2 Auto Scaling group.
|
|
3290
3291
|
#
|
|
3291
3292
|
# @option params [Types::Scope] :scope
|
|
3292
3293
|
# An object that describes the scope of the recommendation preference to
|
|
@@ -3297,16 +3298,17 @@ module Aws::ComputeOptimizer
|
|
|
3297
3298
|
# resource level. For more information, see [Activating enhanced
|
|
3298
3299
|
# infrastructure metrics][1] in the *Compute Optimizer User Guide*.
|
|
3299
3300
|
#
|
|
3300
|
-
# <note markdown="1"> You cannot create recommendation preferences for
|
|
3301
|
-
# at the organization and account levels. You can create
|
|
3302
|
-
# preferences for Auto Scaling groups only at
|
|
3303
|
-
# specifying a scope name of `ResourceArn` and a
|
|
3304
|
-
#
|
|
3305
|
-
# preference for all instances that are
|
|
3306
|
-
# Scaling group. You also cannot
|
|
3307
|
-
# the resource level for instances
|
|
3308
|
-
#
|
|
3309
|
-
# only for standalone
|
|
3301
|
+
# <note markdown="1"> You cannot create recommendation preferences for Amazon EC2 Auto
|
|
3302
|
+
# Scaling groups at the organization and account levels. You can create
|
|
3303
|
+
# recommendation preferences for Amazon EC2 Auto Scaling groups only at
|
|
3304
|
+
# the resource level by specifying a scope name of `ResourceArn` and a
|
|
3305
|
+
# scope value of the Amazon EC2 Auto Scaling group Amazon Resource Name
|
|
3306
|
+
# (ARN). This will configure the preference for all instances that are
|
|
3307
|
+
# part of the specified Amazon EC2 Auto Scaling group. You also cannot
|
|
3308
|
+
# create recommendation preferences at the resource level for instances
|
|
3309
|
+
# that are part of an Amazon EC2 Auto Scaling group. You can create
|
|
3310
|
+
# recommendation preferences at the resource level only for standalone
|
|
3311
|
+
# instances.
|
|
3310
3312
|
#
|
|
3311
3313
|
# </note>
|
|
3312
3314
|
#
|
|
@@ -3369,14 +3371,14 @@ module Aws::ComputeOptimizer
|
|
|
3369
3371
|
# of the Amazon Web Services resource are analyzed. When this preference
|
|
3370
3372
|
# isn't specified, we use the default value `DAYS_14`.
|
|
3371
3373
|
#
|
|
3372
|
-
# You can only set this preference for the Amazon EC2 instance and
|
|
3373
|
-
# Scaling group resource types.
|
|
3374
|
+
# You can only set this preference for the Amazon EC2 instance and
|
|
3375
|
+
# Amazon EC2 Auto Scaling group resource types.
|
|
3374
3376
|
#
|
|
3375
3377
|
# <note markdown="1"> * Amazon EC2 instance lookback preferences can be set at the
|
|
3376
3378
|
# organization, account, and resource levels.
|
|
3377
3379
|
#
|
|
3378
|
-
# * Auto Scaling group lookback preferences can only be set
|
|
3379
|
-
# resource level.
|
|
3380
|
+
# * Amazon EC2 Auto Scaling group lookback preferences can only be set
|
|
3381
|
+
# at the resource level.
|
|
3380
3382
|
#
|
|
3381
3383
|
# </note>
|
|
3382
3384
|
#
|
|
@@ -3411,8 +3413,8 @@ module Aws::ComputeOptimizer
|
|
|
3411
3413
|
# specify either an `includeList` or `excludeList`. If the preference is
|
|
3412
3414
|
# an empty set of resource type values, an error occurs.
|
|
3413
3415
|
#
|
|
3414
|
-
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and
|
|
3415
|
-
# Scaling group resource types.
|
|
3416
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and
|
|
3417
|
+
# Amazon EC2 Auto Scaling group resource types.
|
|
3416
3418
|
#
|
|
3417
3419
|
# </note>
|
|
3418
3420
|
#
|
|
@@ -3571,7 +3573,7 @@ module Aws::ComputeOptimizer
|
|
|
3571
3573
|
tracer: tracer
|
|
3572
3574
|
)
|
|
3573
3575
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
|
3574
|
-
context[:gem_version] = '1.
|
|
3576
|
+
context[:gem_version] = '1.87.0'
|
|
3575
3577
|
Seahorse::Client::Request.new(handlers, context)
|
|
3576
3578
|
end
|
|
3577
3579
|
|
|
@@ -58,47 +58,47 @@ module Aws::ComputeOptimizer
|
|
|
58
58
|
include Aws::Structure
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
# Describes the configuration of an EC2 Auto Scaling group.
|
|
61
|
+
# Describes the configuration of an EC2 Amazon EC2 Auto Scaling group.
|
|
62
62
|
#
|
|
63
63
|
# @!attribute [rw] desired_capacity
|
|
64
|
-
# The desired capacity, or number of instances, for the EC2
|
|
65
|
-
# Scaling group.
|
|
64
|
+
# The desired capacity, or number of instances, for the EC2 Amazon EC2
|
|
65
|
+
# Auto 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 EC2
|
|
70
|
-
# Scaling group.
|
|
69
|
+
# The minimum size, or minimum number of instances, for the EC2 Amazon
|
|
70
|
+
# EC2 Auto 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 EC2
|
|
75
|
-
# Scaling group.
|
|
74
|
+
# The maximum size, or maximum number of instances, for the EC2 Amazon
|
|
75
|
+
# EC2 Auto Scaling group.
|
|
76
76
|
# @return [Integer]
|
|
77
77
|
#
|
|
78
78
|
# @!attribute [rw] instance_type
|
|
79
|
-
# The instance type for the EC2 Auto Scaling group.
|
|
79
|
+
# The instance type for the EC2 Amazon EC2 Auto Scaling group.
|
|
80
80
|
# @return [String]
|
|
81
81
|
#
|
|
82
82
|
# @!attribute [rw] allocation_strategy
|
|
83
|
-
# Describes the allocation strategy that the EC2
|
|
84
|
-
# uses. This field is only available for EC2
|
|
85
|
-
# mixed instance types.
|
|
83
|
+
# Describes the allocation strategy that the EC2 Amazon EC2 Auto
|
|
84
|
+
# Scaling group uses. This field is only available for EC2 Amazon EC2
|
|
85
|
+
# Auto Scaling groups with mixed instance types.
|
|
86
86
|
# @return [String]
|
|
87
87
|
#
|
|
88
88
|
# @!attribute [rw] estimated_instance_hour_reduction_percentage
|
|
89
89
|
# Describes the projected percentage reduction in instance hours after
|
|
90
90
|
# adopting the recommended configuration. This field is only available
|
|
91
|
-
# for EC2 Auto Scaling groups with scaling policies.
|
|
91
|
+
# for EC2 Amazon EC2 Auto Scaling groups with scaling policies.
|
|
92
92
|
# @return [Float]
|
|
93
93
|
#
|
|
94
94
|
# @!attribute [rw] type
|
|
95
|
-
# Describes whether the EC2 Auto Scaling group has a single
|
|
96
|
-
# type or a mixed instance type configuration.
|
|
95
|
+
# Describes whether the EC2 Amazon EC2 Auto Scaling group has a single
|
|
96
|
+
# instance type or a mixed instance type configuration.
|
|
97
97
|
# @return [String]
|
|
98
98
|
#
|
|
99
99
|
# @!attribute [rw] mixed_instance_types
|
|
100
|
-
# List the instance types within an EC2 Auto Scaling group
|
|
101
|
-
# mixed instance types.
|
|
100
|
+
# List the instance types within an EC2 Amazon EC2 Auto Scaling group
|
|
101
|
+
# that has mixed instance types.
|
|
102
102
|
# @return [Array<String>]
|
|
103
103
|
#
|
|
104
104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupConfiguration AWS API Documentation
|
|
@@ -117,8 +117,9 @@ module Aws::ComputeOptimizer
|
|
|
117
117
|
end
|
|
118
118
|
|
|
119
119
|
# An object that describes the estimated monthly savings possible by
|
|
120
|
-
# adopting Compute Optimizer’s Auto Scaling group
|
|
121
|
-
# is based on the Savings Plans and Reserved
|
|
120
|
+
# adopting Compute Optimizer’s Amazon EC2 Auto Scaling group
|
|
121
|
+
# recommendations. This is based on the Savings Plans and Reserved
|
|
122
|
+
# Instances discounts.
|
|
122
123
|
#
|
|
123
124
|
# @!attribute [rw] currency
|
|
124
125
|
# The currency of the estimated monthly savings.
|
|
@@ -137,32 +138,33 @@ module Aws::ComputeOptimizer
|
|
|
137
138
|
include Aws::Structure
|
|
138
139
|
end
|
|
139
140
|
|
|
140
|
-
# Describes an Auto Scaling group recommendation.
|
|
141
|
+
# Describes an Amazon EC2 Auto Scaling group recommendation.
|
|
141
142
|
#
|
|
142
143
|
# @!attribute [rw] account_id
|
|
143
|
-
# The Amazon Web Services account ID of the Auto Scaling
|
|
144
|
+
# The Amazon Web Services account ID of the Amazon EC2 Auto Scaling
|
|
145
|
+
# group.
|
|
144
146
|
# @return [String]
|
|
145
147
|
#
|
|
146
148
|
# @!attribute [rw] auto_scaling_group_arn
|
|
147
|
-
# The Amazon Resource Name (ARN) of the Auto Scaling group.
|
|
149
|
+
# The Amazon Resource Name (ARN) of the Amazon EC2 Auto Scaling group.
|
|
148
150
|
# @return [String]
|
|
149
151
|
#
|
|
150
152
|
# @!attribute [rw] auto_scaling_group_name
|
|
151
|
-
# The name of the Auto Scaling group.
|
|
153
|
+
# The name of the Amazon EC2 Auto Scaling group.
|
|
152
154
|
# @return [String]
|
|
153
155
|
#
|
|
154
156
|
# @!attribute [rw] finding
|
|
155
|
-
# The finding classification of the Auto Scaling group.
|
|
157
|
+
# The finding classification of the Amazon EC2 Auto Scaling group.
|
|
156
158
|
#
|
|
157
|
-
# Findings for Auto Scaling groups include:
|
|
159
|
+
# Findings for Amazon EC2 Auto Scaling groups include:
|
|
158
160
|
#
|
|
159
|
-
# * <b> <code>NotOptimized</code> </b>—An Auto Scaling
|
|
160
|
-
# considered not optimized when Compute Optimizer
|
|
161
|
-
# recommendation that can provide better performance
|
|
162
|
-
# workload.
|
|
161
|
+
# * <b> <code>NotOptimized</code> </b>—An Amazon EC2 Auto Scaling
|
|
162
|
+
# group is considered not optimized when Compute Optimizer
|
|
163
|
+
# identifies a recommendation that can provide better performance
|
|
164
|
+
# for your workload.
|
|
163
165
|
#
|
|
164
|
-
# * <b> <code>Optimized</code> </b>—An Auto Scaling group
|
|
165
|
-
# considered optimized when Compute Optimizer determines that the
|
|
166
|
+
# * <b> <code>Optimized</code> </b>—An Amazon EC2 Auto Scaling group
|
|
167
|
+
# is considered optimized when Compute Optimizer determines that the
|
|
166
168
|
# group is correctly provisioned to run your workload based on the
|
|
167
169
|
# chosen instance type. For optimized resources, Compute Optimizer
|
|
168
170
|
# might recommend a new generation instance type.
|
|
@@ -170,49 +172,49 @@ module Aws::ComputeOptimizer
|
|
|
170
172
|
#
|
|
171
173
|
# @!attribute [rw] utilization_metrics
|
|
172
174
|
# An array of objects that describe the utilization metrics of the
|
|
173
|
-
# Auto Scaling group.
|
|
175
|
+
# Amazon EC2 Auto Scaling group.
|
|
174
176
|
# @return [Array<Types::UtilizationMetric>]
|
|
175
177
|
#
|
|
176
178
|
# @!attribute [rw] look_back_period_in_days
|
|
177
179
|
# The number of days for which utilization metrics were analyzed for
|
|
178
|
-
# the Auto Scaling group.
|
|
180
|
+
# the Amazon EC2 Auto Scaling group.
|
|
179
181
|
# @return [Float]
|
|
180
182
|
#
|
|
181
183
|
# @!attribute [rw] current_configuration
|
|
182
184
|
# An array of objects that describe the current configuration of the
|
|
183
|
-
# Auto Scaling group.
|
|
185
|
+
# Amazon EC2 Auto Scaling group.
|
|
184
186
|
# @return [Types::AutoScalingGroupConfiguration]
|
|
185
187
|
#
|
|
186
188
|
# @!attribute [rw] current_instance_gpu_info
|
|
187
189
|
# Describes the GPU accelerator settings for the current instance type
|
|
188
|
-
# of the Auto Scaling group.
|
|
190
|
+
# of the Amazon EC2 Auto Scaling group.
|
|
189
191
|
# @return [Types::GpuInfo]
|
|
190
192
|
#
|
|
191
193
|
# @!attribute [rw] recommendation_options
|
|
192
194
|
# An array of objects that describe the recommendation options for the
|
|
193
|
-
# Auto Scaling group.
|
|
195
|
+
# Amazon EC2 Auto Scaling group.
|
|
194
196
|
# @return [Array<Types::AutoScalingGroupRecommendationOption>]
|
|
195
197
|
#
|
|
196
198
|
# @!attribute [rw] last_refresh_timestamp
|
|
197
|
-
# The timestamp of when the Auto Scaling group
|
|
198
|
-
# generated.
|
|
199
|
+
# The timestamp of when the Amazon EC2 Auto Scaling group
|
|
200
|
+
# recommendation was last generated.
|
|
199
201
|
# @return [Time]
|
|
200
202
|
#
|
|
201
203
|
# @!attribute [rw] current_performance_risk
|
|
202
|
-
# The risk of the current Auto Scaling group not meeting
|
|
203
|
-
# performance needs of its workloads. The higher the risk, the
|
|
204
|
-
# likely the current Auto Scaling group configuration
|
|
205
|
-
# capacity and cannot meet workload requirements.
|
|
204
|
+
# The risk of the current Amazon EC2 Auto Scaling group not meeting
|
|
205
|
+
# the performance needs of its workloads. The higher the risk, the
|
|
206
|
+
# more likely the current Amazon EC2 Auto Scaling group configuration
|
|
207
|
+
# has insufficient capacity and cannot meet workload requirements.
|
|
206
208
|
# @return [String]
|
|
207
209
|
#
|
|
208
210
|
# @!attribute [rw] effective_recommendation_preferences
|
|
209
211
|
# An object that describes the effective recommendation preferences
|
|
210
|
-
# for the Auto Scaling group.
|
|
212
|
+
# for the Amazon EC2 Auto Scaling group.
|
|
211
213
|
# @return [Types::EffectiveRecommendationPreferences]
|
|
212
214
|
#
|
|
213
215
|
# @!attribute [rw] inferred_workload_types
|
|
214
|
-
# The applications that might be running on the instances in the
|
|
215
|
-
# Scaling group as inferred by Compute Optimizer.
|
|
216
|
+
# The applications that might be running on the instances in the
|
|
217
|
+
# Amazon EC2 Auto Scaling group as inferred by Compute Optimizer.
|
|
216
218
|
#
|
|
217
219
|
# Compute Optimizer can infer if one of the following applications
|
|
218
220
|
# might be running on the instances:
|
|
@@ -262,21 +264,22 @@ module Aws::ComputeOptimizer
|
|
|
262
264
|
include Aws::Structure
|
|
263
265
|
end
|
|
264
266
|
|
|
265
|
-
# Describes a recommendation option for an Auto Scaling
|
|
267
|
+
# Describes a recommendation option for an Amazon EC2 Auto Scaling
|
|
268
|
+
# group.
|
|
266
269
|
#
|
|
267
270
|
# @!attribute [rw] configuration
|
|
268
|
-
# An array of objects that describe an Auto Scaling group
|
|
271
|
+
# An array of objects that describe an Amazon EC2 Auto Scaling group
|
|
269
272
|
# configuration.
|
|
270
273
|
# @return [Types::AutoScalingGroupConfiguration]
|
|
271
274
|
#
|
|
272
275
|
# @!attribute [rw] instance_gpu_info
|
|
273
276
|
# Describes the GPU accelerator settings for the recommended instance
|
|
274
|
-
# type of the Auto Scaling group.
|
|
277
|
+
# type of the Amazon EC2 Auto Scaling group.
|
|
275
278
|
# @return [Types::GpuInfo]
|
|
276
279
|
#
|
|
277
280
|
# @!attribute [rw] projected_utilization_metrics
|
|
278
281
|
# An array of objects that describe the projected utilization metrics
|
|
279
|
-
# of the Auto Scaling group recommendation option.
|
|
282
|
+
# of the Amazon EC2 Auto Scaling group recommendation option.
|
|
280
283
|
#
|
|
281
284
|
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
282
285
|
# metrics returned. Additionally, the `Memory` metric is returned only
|
|
@@ -292,8 +295,8 @@ module Aws::ComputeOptimizer
|
|
|
292
295
|
# @return [Array<Types::UtilizationMetric>]
|
|
293
296
|
#
|
|
294
297
|
# @!attribute [rw] performance_risk
|
|
295
|
-
# The performance risk of the Auto Scaling group
|
|
296
|
-
# recommendation.
|
|
298
|
+
# The performance risk of the Amazon EC2 Auto Scaling group
|
|
299
|
+
# configuration recommendation.
|
|
297
300
|
#
|
|
298
301
|
# Performance risk indicates the likelihood of the recommended
|
|
299
302
|
# instance type not meeting the resource needs of your workload.
|
|
@@ -312,21 +315,21 @@ module Aws::ComputeOptimizer
|
|
|
312
315
|
# @return [Float]
|
|
313
316
|
#
|
|
314
317
|
# @!attribute [rw] rank
|
|
315
|
-
# The rank of the Auto Scaling group recommendation option.
|
|
318
|
+
# The rank of the Amazon EC2 Auto Scaling group recommendation option.
|
|
316
319
|
#
|
|
317
320
|
# The top recommendation option is ranked as `1`.
|
|
318
321
|
# @return [Integer]
|
|
319
322
|
#
|
|
320
323
|
# @!attribute [rw] savings_opportunity
|
|
321
|
-
# An object that describes the savings opportunity for the
|
|
322
|
-
# Scaling group recommendation option. Savings opportunity
|
|
323
|
-
# the estimated monthly savings amount and percentage.
|
|
324
|
+
# An object that describes the savings opportunity for the Amazon EC2
|
|
325
|
+
# Auto Scaling group recommendation option. Savings opportunity
|
|
326
|
+
# includes the estimated monthly savings amount and percentage.
|
|
324
327
|
# @return [Types::SavingsOpportunity]
|
|
325
328
|
#
|
|
326
329
|
# @!attribute [rw] savings_opportunity_after_discounts
|
|
327
|
-
# An object that describes the savings opportunity for the
|
|
328
|
-
# Scaling group recommendation option that includes Savings Plans
|
|
329
|
-
# Reserved Instances discounts. Savings opportunity includes the
|
|
330
|
+
# An object that describes the savings opportunity for the Amazon EC2
|
|
331
|
+
# Auto Scaling group recommendation option that includes Savings Plans
|
|
332
|
+
# and Reserved Instances discounts. Savings opportunity includes the
|
|
330
333
|
# estimated monthly savings and percentage.
|
|
331
334
|
# @return [Types::AutoScalingGroupSavingsOpportunityAfterDiscounts]
|
|
332
335
|
#
|
|
@@ -358,7 +361,7 @@ module Aws::ComputeOptimizer
|
|
|
358
361
|
include Aws::Structure
|
|
359
362
|
end
|
|
360
363
|
|
|
361
|
-
# Describes the savings opportunity for Auto Scaling group
|
|
364
|
+
# Describes the savings opportunity for Amazon EC2 Auto Scaling group
|
|
362
365
|
# recommendations after applying the Savings Plans and Reserved
|
|
363
366
|
# Instances discounts.
|
|
364
367
|
#
|
|
@@ -369,14 +372,14 @@ module Aws::ComputeOptimizer
|
|
|
369
372
|
# The estimated monthly savings possible as a percentage of monthly
|
|
370
373
|
# cost after applying the Savings Plans and Reserved Instances
|
|
371
374
|
# discounts. This saving can be achieved by adopting Compute
|
|
372
|
-
# Optimizer’s Auto Scaling group recommendations.
|
|
375
|
+
# Optimizer’s Amazon EC2 Auto Scaling group recommendations.
|
|
373
376
|
# @return [Float]
|
|
374
377
|
#
|
|
375
378
|
# @!attribute [rw] estimated_monthly_savings
|
|
376
379
|
# An object that describes the estimated monthly savings possible by
|
|
377
|
-
# adopting Compute Optimizer’s Auto Scaling group
|
|
378
|
-
# This is based on the Savings Plans and Reserved
|
|
379
|
-
# discounts.
|
|
380
|
+
# adopting Compute Optimizer’s Amazon EC2 Auto Scaling group
|
|
381
|
+
# recommendations. This is based on the Savings Plans and Reserved
|
|
382
|
+
# Instances pricing discounts.
|
|
380
383
|
# @return [Types::AutoScalingGroupEstimatedMonthlySavings]
|
|
381
384
|
#
|
|
382
385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupSavingsOpportunityAfterDiscounts AWS API Documentation
|
|
@@ -545,9 +548,9 @@ module Aws::ComputeOptimizer
|
|
|
545
548
|
# The target resource type of the recommendation preference to delete.
|
|
546
549
|
#
|
|
547
550
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
548
|
-
# instances that are part of Auto Scaling groups. The
|
|
551
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
549
552
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
550
|
-
# of an Auto Scaling group.
|
|
553
|
+
# of an Amazon EC2 Auto Scaling group.
|
|
551
554
|
# @return [String]
|
|
552
555
|
#
|
|
553
556
|
# @!attribute [rw] scope
|
|
@@ -1389,8 +1392,8 @@ module Aws::ComputeOptimizer
|
|
|
1389
1392
|
# Describes the effective recommendation preferences for a resource.
|
|
1390
1393
|
#
|
|
1391
1394
|
# @!attribute [rw] cpu_vendor_architectures
|
|
1392
|
-
# Describes the CPU vendor and architecture for an instance or
|
|
1393
|
-
# Scaling group recommendations.
|
|
1395
|
+
# Describes the CPU vendor and architecture for an instance or Amazon
|
|
1396
|
+
# EC2 Auto Scaling group recommendations.
|
|
1394
1397
|
#
|
|
1395
1398
|
# For example, when you specify `AWS_ARM64` with:
|
|
1396
1399
|
#
|
|
@@ -1540,8 +1543,8 @@ module Aws::ComputeOptimizer
|
|
|
1540
1543
|
end
|
|
1541
1544
|
|
|
1542
1545
|
# @!attribute [rw] account_ids
|
|
1543
|
-
# The IDs of the Amazon Web Services accounts for which to export
|
|
1544
|
-
# Scaling group recommendations.
|
|
1546
|
+
# The IDs of the Amazon Web Services accounts for which to export
|
|
1547
|
+
# Amazon EC2 Auto Scaling group recommendations.
|
|
1545
1548
|
#
|
|
1546
1549
|
# If your account is the management account of an organization, use
|
|
1547
1550
|
# this parameter to specify the member account for which you want to
|
|
@@ -1559,7 +1562,7 @@ module Aws::ComputeOptimizer
|
|
|
1559
1562
|
#
|
|
1560
1563
|
# @!attribute [rw] filters
|
|
1561
1564
|
# An array of objects to specify a filter that exports a more specific
|
|
1562
|
-
# set of Auto Scaling group recommendations.
|
|
1565
|
+
# set of Amazon EC2 Auto Scaling group recommendations.
|
|
1563
1566
|
# @return [Array<Types::Filter>]
|
|
1564
1567
|
#
|
|
1565
1568
|
# @!attribute [rw] fields_to_export
|
|
@@ -1623,8 +1626,8 @@ module Aws::ComputeOptimizer
|
|
|
1623
1626
|
# @return [Boolean]
|
|
1624
1627
|
#
|
|
1625
1628
|
# @!attribute [rw] recommendation_preferences
|
|
1626
|
-
# An object to specify the preferences for the Auto Scaling
|
|
1627
|
-
# recommendations to export.
|
|
1629
|
+
# An object to specify the preferences for the Amazon EC2 Auto Scaling
|
|
1630
|
+
# group recommendations to export.
|
|
1628
1631
|
# @return [Types::RecommendationPreferences]
|
|
1629
1632
|
#
|
|
1630
1633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportAutoScalingGroupRecommendationsRequest AWS API Documentation
|
|
@@ -2592,8 +2595,8 @@ module Aws::ComputeOptimizer
|
|
|
2592
2595
|
# you wish to filter results for:
|
|
2593
2596
|
#
|
|
2594
2597
|
# * Specify `Optimized` or `NotOptimized` if you specify the `name`
|
|
2595
|
-
# parameter as `Finding` and you want to filter results for
|
|
2596
|
-
# Scaling groups.
|
|
2598
|
+
# parameter as `Finding` and you want to filter results for Amazon
|
|
2599
|
+
# EC2 Auto Scaling groups.
|
|
2597
2600
|
#
|
|
2598
2601
|
# * Specify `Underprovisioned`, `Overprovisioned`, or `Optimized` if
|
|
2599
2602
|
# you specify the `name` parameter as `Finding` and you want to
|
|
@@ -2695,29 +2698,29 @@ module Aws::ComputeOptimizer
|
|
|
2695
2698
|
end
|
|
2696
2699
|
|
|
2697
2700
|
# @!attribute [rw] account_ids
|
|
2698
|
-
# The ID of the Amazon Web Services account for which to return
|
|
2699
|
-
# Scaling group recommendations.
|
|
2701
|
+
# The ID of the Amazon Web Services account for which to return Amazon
|
|
2702
|
+
# EC2 Auto Scaling group recommendations.
|
|
2700
2703
|
#
|
|
2701
2704
|
# If your account is the management account of an organization, use
|
|
2702
2705
|
# this parameter to specify the member account for which you want to
|
|
2703
|
-
# return Auto Scaling group recommendations.
|
|
2706
|
+
# return Amazon EC2 Auto Scaling group recommendations.
|
|
2704
2707
|
#
|
|
2705
2708
|
# Only one account ID can be specified per request.
|
|
2706
2709
|
# @return [Array<String>]
|
|
2707
2710
|
#
|
|
2708
2711
|
# @!attribute [rw] auto_scaling_group_arns
|
|
2709
|
-
# The Amazon Resource Name (ARN) of the Auto Scaling groups
|
|
2710
|
-
# to return recommendations.
|
|
2712
|
+
# The Amazon Resource Name (ARN) of the Amazon EC2 Auto Scaling groups
|
|
2713
|
+
# for which to return recommendations.
|
|
2711
2714
|
# @return [Array<String>]
|
|
2712
2715
|
#
|
|
2713
2716
|
# @!attribute [rw] next_token
|
|
2714
|
-
# The token to advance to the next page of Auto Scaling
|
|
2715
|
-
# recommendations.
|
|
2717
|
+
# The token to advance to the next page of Amazon EC2 Auto Scaling
|
|
2718
|
+
# group recommendations.
|
|
2716
2719
|
# @return [String]
|
|
2717
2720
|
#
|
|
2718
2721
|
# @!attribute [rw] max_results
|
|
2719
|
-
# The maximum number of Auto Scaling group recommendations
|
|
2720
|
-
# with a single request.
|
|
2722
|
+
# The maximum number of Amazon EC2 Auto Scaling group recommendations
|
|
2723
|
+
# to return with a single request.
|
|
2721
2724
|
#
|
|
2722
2725
|
# To retrieve the remaining results, make another request with the
|
|
2723
2726
|
# returned `nextToken` value.
|
|
@@ -2725,12 +2728,12 @@ module Aws::ComputeOptimizer
|
|
|
2725
2728
|
#
|
|
2726
2729
|
# @!attribute [rw] filters
|
|
2727
2730
|
# An array of objects to specify a filter that returns a more specific
|
|
2728
|
-
# list of Auto Scaling group recommendations.
|
|
2731
|
+
# list of Amazon EC2 Auto Scaling group recommendations.
|
|
2729
2732
|
# @return [Array<Types::Filter>]
|
|
2730
2733
|
#
|
|
2731
2734
|
# @!attribute [rw] recommendation_preferences
|
|
2732
|
-
# An object to specify the preferences for the Auto Scaling
|
|
2733
|
-
# recommendations to return in the response.
|
|
2735
|
+
# An object to specify the preferences for the Amazon EC2 Auto Scaling
|
|
2736
|
+
# group recommendations to return in the response.
|
|
2734
2737
|
# @return [Types::RecommendationPreferences]
|
|
2735
2738
|
#
|
|
2736
2739
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetAutoScalingGroupRecommendationsRequest AWS API Documentation
|
|
@@ -2747,15 +2750,15 @@ module Aws::ComputeOptimizer
|
|
|
2747
2750
|
end
|
|
2748
2751
|
|
|
2749
2752
|
# @!attribute [rw] next_token
|
|
2750
|
-
# The token to use to advance to the next page of
|
|
2751
|
-
# recommendations.
|
|
2753
|
+
# The token to use to advance to the next page of Amazon EC2 Auto
|
|
2754
|
+
# Scaling group recommendations.
|
|
2752
2755
|
#
|
|
2753
|
-
# This value is null when there are no more pages of Auto
|
|
2754
|
-
# group recommendations to return.
|
|
2756
|
+
# This value is null when there are no more pages of Amazon EC2 Auto
|
|
2757
|
+
# Scaling group recommendations to return.
|
|
2755
2758
|
# @return [String]
|
|
2756
2759
|
#
|
|
2757
2760
|
# @!attribute [rw] auto_scaling_group_recommendations
|
|
2758
|
-
# An array of objects that describe Auto Scaling group
|
|
2761
|
+
# An array of objects that describe Amazon EC2 Auto Scaling group
|
|
2759
2762
|
# recommendations.
|
|
2760
2763
|
# @return [Array<Types::AutoScalingGroupRecommendation>]
|
|
2761
2764
|
#
|
|
@@ -2763,7 +2766,7 @@ module Aws::ComputeOptimizer
|
|
|
2763
2766
|
# An array of objects that describe errors of the request.
|
|
2764
2767
|
#
|
|
2765
2768
|
# For example, an error is returned if you request recommendations for
|
|
2766
|
-
# an unsupported Auto Scaling group.
|
|
2769
|
+
# an unsupported Amazon EC2 Auto Scaling group.
|
|
2767
2770
|
# @return [Array<Types::GetRecommendationError>]
|
|
2768
2771
|
#
|
|
2769
2772
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetAutoScalingGroupRecommendationsResponse AWS API Documentation
|
|
@@ -3104,8 +3107,8 @@ module Aws::ComputeOptimizer
|
|
|
3104
3107
|
|
|
3105
3108
|
# @!attribute [rw] resource_arn
|
|
3106
3109
|
# The Amazon Resource Name (ARN) of the resource for which to confirm
|
|
3107
|
-
# effective recommendation preferences. Only EC2 instance and
|
|
3108
|
-
# Scaling group ARNs are currently supported.
|
|
3110
|
+
# effective recommendation preferences. Only EC2 instance and Amazon
|
|
3111
|
+
# EC2 Auto Scaling group ARNs are currently supported.
|
|
3109
3112
|
# @return [String]
|
|
3110
3113
|
#
|
|
3111
3114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferencesRequest AWS API Documentation
|
|
@@ -3678,8 +3681,8 @@ module Aws::ComputeOptimizer
|
|
|
3678
3681
|
# Describes an error experienced when getting recommendations.
|
|
3679
3682
|
#
|
|
3680
3683
|
# For example, an error is returned if you request recommendations for
|
|
3681
|
-
# an unsupported Auto Scaling group, or if you request
|
|
3682
|
-
# for an instance of an unsupported instance family.
|
|
3684
|
+
# an unsupported Amazon EC2 Auto Scaling group, or if you request
|
|
3685
|
+
# recommendations for an instance of an unsupported instance family.
|
|
3683
3686
|
#
|
|
3684
3687
|
# @!attribute [rw] identifier
|
|
3685
3688
|
# The ID of the error.
|
|
@@ -3708,9 +3711,9 @@ module Aws::ComputeOptimizer
|
|
|
3708
3711
|
# to return preferences.
|
|
3709
3712
|
#
|
|
3710
3713
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
3711
|
-
# instances that are part of Auto Scaling groups. The
|
|
3714
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
3712
3715
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
3713
|
-
# of an Auto Scaling group.
|
|
3716
|
+
# of an Amazon EC2 Auto Scaling group.
|
|
3714
3717
|
# @return [String]
|
|
3715
3718
|
#
|
|
3716
3719
|
# @!attribute [rw] scope
|
|
@@ -5599,7 +5602,7 @@ module Aws::ComputeOptimizer
|
|
|
5599
5602
|
# *Compute Optimizer User Guide*.
|
|
5600
5603
|
#
|
|
5601
5604
|
# <note markdown="1"> * This preference is only available for the Amazon EC2 instance and
|
|
5602
|
-
# Auto Scaling group resource types.
|
|
5605
|
+
# Amazon EC2 Auto Scaling group resource types.
|
|
5603
5606
|
#
|
|
5604
5607
|
# * Compute Optimizer only supports the customization of
|
|
5605
5608
|
# `Ec2InstanceTypes`.
|
|
@@ -5738,9 +5741,9 @@ module Aws::ComputeOptimizer
|
|
|
5738
5741
|
# The target resource type of the recommendation preference to create.
|
|
5739
5742
|
#
|
|
5740
5743
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
5741
|
-
# instances that are part of Auto Scaling groups. The
|
|
5744
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
5742
5745
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
5743
|
-
# of an Auto Scaling group.
|
|
5746
|
+
# of an Amazon EC2 Auto Scaling group.
|
|
5744
5747
|
# @return [String]
|
|
5745
5748
|
#
|
|
5746
5749
|
# @!attribute [rw] scope
|
|
@@ -5752,16 +5755,17 @@ module Aws::ComputeOptimizer
|
|
|
5752
5755
|
# and resource level. For more information, see [Activating enhanced
|
|
5753
5756
|
# infrastructure metrics][1] in the *Compute Optimizer User Guide*.
|
|
5754
5757
|
#
|
|
5755
|
-
# <note markdown="1"> You cannot create recommendation preferences for
|
|
5756
|
-
# at the organization and account levels. You can
|
|
5757
|
-
# recommendation preferences for Auto Scaling groups
|
|
5758
|
-
# resource level by specifying a scope name of
|
|
5759
|
-
# scope value of the Auto Scaling group
|
|
5760
|
-
# This will configure the preference for
|
|
5761
|
-
# of the specified Auto Scaling
|
|
5762
|
-
#
|
|
5763
|
-
# are part of an
|
|
5764
|
-
#
|
|
5758
|
+
# <note markdown="1"> You cannot create recommendation preferences for Amazon EC2 Auto
|
|
5759
|
+
# Scaling groups at the organization and account levels. You can
|
|
5760
|
+
# create recommendation preferences for Amazon EC2 Auto Scaling groups
|
|
5761
|
+
# only at the resource level by specifying a scope name of
|
|
5762
|
+
# `ResourceArn` and a scope value of the Amazon EC2 Auto Scaling group
|
|
5763
|
+
# Amazon Resource Name (ARN). This will configure the preference for
|
|
5764
|
+
# all instances that are part of the specified Amazon EC2 Auto Scaling
|
|
5765
|
+
# group. You also cannot create recommendation preferences at the
|
|
5766
|
+
# resource level for instances that are part of an Amazon EC2 Auto
|
|
5767
|
+
# Scaling group. You can create recommendation preferences at the
|
|
5768
|
+
# resource level only for standalone instances.
|
|
5765
5769
|
#
|
|
5766
5770
|
# </note>
|
|
5767
5771
|
#
|
|
@@ -5829,13 +5833,13 @@ module Aws::ComputeOptimizer
|
|
|
5829
5833
|
# preference isn't specified, we use the default value `DAYS_14`.
|
|
5830
5834
|
#
|
|
5831
5835
|
# You can only set this preference for the Amazon EC2 instance and
|
|
5832
|
-
# Auto Scaling group resource types.
|
|
5836
|
+
# Amazon EC2 Auto Scaling group resource types.
|
|
5833
5837
|
#
|
|
5834
5838
|
# <note markdown="1"> * Amazon EC2 instance lookback preferences can be set at the
|
|
5835
5839
|
# organization, account, and resource levels.
|
|
5836
5840
|
#
|
|
5837
|
-
# * Auto Scaling group lookback preferences can only be set
|
|
5838
|
-
# resource level.
|
|
5841
|
+
# * Amazon EC2 Auto Scaling group lookback preferences can only be set
|
|
5842
|
+
# at the resource level.
|
|
5839
5843
|
#
|
|
5840
5844
|
# </note>
|
|
5841
5845
|
# @return [String]
|
|
@@ -5873,7 +5877,7 @@ module Aws::ComputeOptimizer
|
|
|
5873
5877
|
# is an empty set of resource type values, an error occurs.
|
|
5874
5878
|
#
|
|
5875
5879
|
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and
|
|
5876
|
-
# Auto Scaling group resource types.
|
|
5880
|
+
# Amazon EC2 Auto Scaling group resource types.
|
|
5877
5881
|
#
|
|
5878
5882
|
# </note>
|
|
5879
5883
|
# @return [Array<Types::PreferredResource>]
|
|
@@ -6576,7 +6580,7 @@ module Aws::ComputeOptimizer
|
|
|
6576
6580
|
#
|
|
6577
6581
|
# @!attribute [rw] cpu_vendor_architectures
|
|
6578
6582
|
# Specifies the CPU vendor and architecture for Amazon EC2 instance
|
|
6579
|
-
# and Auto Scaling group recommendations.
|
|
6583
|
+
# and Amazon EC2 Auto Scaling group recommendations.
|
|
6580
6584
|
#
|
|
6581
6585
|
# For example, when you specify `AWS_ARM64` with:
|
|
6582
6586
|
#
|
|
@@ -6622,9 +6626,9 @@ module Aws::ComputeOptimizer
|
|
|
6622
6626
|
# The target resource type of the recommendation preference to create.
|
|
6623
6627
|
#
|
|
6624
6628
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
6625
|
-
# instances that are part of Auto Scaling groups. The
|
|
6629
|
+
# instances that are part of Amazon EC2 Auto Scaling groups. The
|
|
6626
6630
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
6627
|
-
# of an Auto Scaling group.
|
|
6631
|
+
# of an Amazon EC2 Auto Scaling group.
|
|
6628
6632
|
# @return [String]
|
|
6629
6633
|
#
|
|
6630
6634
|
# @!attribute [rw] enhanced_infrastructure_metrics
|
|
@@ -6713,7 +6717,7 @@ module Aws::ComputeOptimizer
|
|
|
6713
6717
|
end
|
|
6714
6718
|
|
|
6715
6719
|
# Describes the source of a recommendation, such as an Amazon EC2
|
|
6716
|
-
# instance or Auto Scaling group.
|
|
6720
|
+
# instance or Amazon EC2 Auto Scaling group.
|
|
6717
6721
|
#
|
|
6718
6722
|
# @!attribute [rw] recommendation_source_arn
|
|
6719
6723
|
# The Amazon Resource Name (ARN) of the recommendation source.
|
|
@@ -7013,16 +7017,17 @@ module Aws::ComputeOptimizer
|
|
|
7013
7017
|
# resource level. For more information, see [Activating enhanced
|
|
7014
7018
|
# infrastructure metrics][1] in the *Compute Optimizer User Guide*.
|
|
7015
7019
|
#
|
|
7016
|
-
# <note markdown="1"> You cannot create recommendation preferences for
|
|
7017
|
-
# at the organization and account levels. You can create
|
|
7018
|
-
# preferences for Auto Scaling groups only at
|
|
7019
|
-
# specifying a scope name of `ResourceArn` and a
|
|
7020
|
-
#
|
|
7021
|
-
# preference for all instances that are
|
|
7022
|
-
# Scaling group. You also cannot
|
|
7023
|
-
# the resource level for instances
|
|
7024
|
-
#
|
|
7025
|
-
# only for standalone
|
|
7020
|
+
# <note markdown="1"> You cannot create recommendation preferences for Amazon EC2 Auto
|
|
7021
|
+
# Scaling groups at the organization and account levels. You can create
|
|
7022
|
+
# recommendation preferences for Amazon EC2 Auto Scaling groups only at
|
|
7023
|
+
# the resource level by specifying a scope name of `ResourceArn` and a
|
|
7024
|
+
# scope value of the Amazon EC2 Auto Scaling group Amazon Resource Name
|
|
7025
|
+
# (ARN). This will configure the preference for all instances that are
|
|
7026
|
+
# part of the specified Amazon EC2 Auto Scaling group. You also cannot
|
|
7027
|
+
# create recommendation preferences at the resource level for instances
|
|
7028
|
+
# that are part of an Amazon EC2 Auto Scaling group. You can create
|
|
7029
|
+
# recommendation preferences at the resource level only for standalone
|
|
7030
|
+
# instances.
|
|
7026
7031
|
#
|
|
7027
7032
|
# </note>
|
|
7028
7033
|
#
|
|
@@ -7058,10 +7063,10 @@ module Aws::ComputeOptimizer
|
|
|
7058
7063
|
# account ID.
|
|
7059
7064
|
#
|
|
7060
7065
|
# * `ResourceArn` - The `value` must be the Amazon Resource Name (ARN)
|
|
7061
|
-
# of an EC2 instance or an Auto Scaling group.
|
|
7066
|
+
# of an EC2 instance or an Amazon EC2 Auto Scaling group.
|
|
7062
7067
|
#
|
|
7063
|
-
# Only EC2 instance and Auto Scaling group ARNs are
|
|
7064
|
-
# supported.
|
|
7068
|
+
# Only EC2 instance and Amazon EC2 Auto Scaling group ARNs are
|
|
7069
|
+
# currently supported.
|
|
7065
7070
|
# @return [String]
|
|
7066
7071
|
#
|
|
7067
7072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/Scope AWS API Documentation
|
data/sig/client.rbs
CHANGED
|
@@ -228,7 +228,7 @@ module Aws
|
|
|
228
228
|
values: Array[::String]?
|
|
229
229
|
},
|
|
230
230
|
],
|
|
231
|
-
?fields_to_export: Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "Finding" | "FindingDescription" | "Tags")],
|
|
231
|
+
?fields_to_export: Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsActiveConnectionCountMaximum" | "UtilizationMetricsPacketsInFromSourceMaximum" | "UtilizationMetricsPacketsInFromDestinationMaximum" | "Finding" | "FindingDescription" | "Tags")],
|
|
232
232
|
s3_destination_config: {
|
|
233
233
|
bucket: ::String?,
|
|
234
234
|
key_prefix: ::String?
|
data/sig/types.rbs
CHANGED
|
@@ -361,7 +361,7 @@ module Aws::ComputeOptimizer
|
|
|
361
361
|
class ExportIdleRecommendationsRequest
|
|
362
362
|
attr_accessor account_ids: ::Array[::String]
|
|
363
363
|
attr_accessor filters: ::Array[Types::IdleRecommendationFilter]
|
|
364
|
-
attr_accessor fields_to_export: ::Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "Finding" | "FindingDescription" | "Tags")]
|
|
364
|
+
attr_accessor fields_to_export: ::Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsActiveConnectionCountMaximum" | "UtilizationMetricsPacketsInFromSourceMaximum" | "UtilizationMetricsPacketsInFromDestinationMaximum" | "Finding" | "FindingDescription" | "Tags")]
|
|
365
365
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
|
366
366
|
attr_accessor file_format: ("Csv")
|
|
367
367
|
attr_accessor include_member_accounts: bool
|
|
@@ -708,9 +708,9 @@ module Aws::ComputeOptimizer
|
|
|
708
708
|
class IdleRecommendation
|
|
709
709
|
attr_accessor resource_arn: ::String
|
|
710
710
|
attr_accessor resource_id: ::String
|
|
711
|
-
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance")
|
|
711
|
+
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance" | "NatGateway")
|
|
712
712
|
attr_accessor account_id: ::String
|
|
713
|
-
attr_accessor finding: ("Idle" | "Unattached")
|
|
713
|
+
attr_accessor finding: ("Idle" | "Unattached" | "Unused")
|
|
714
714
|
attr_accessor finding_description: ::String
|
|
715
715
|
attr_accessor savings_opportunity: Types::IdleSavingsOpportunity
|
|
716
716
|
attr_accessor savings_opportunity_after_discounts: Types::IdleSavingsOpportunityAfterDiscounts
|
|
@@ -725,7 +725,7 @@ module Aws::ComputeOptimizer
|
|
|
725
725
|
attr_accessor identifier: ::String
|
|
726
726
|
attr_accessor code: ::String
|
|
727
727
|
attr_accessor message: ::String
|
|
728
|
-
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance")
|
|
728
|
+
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance" | "NatGateway")
|
|
729
729
|
SENSITIVE: []
|
|
730
730
|
end
|
|
731
731
|
|
|
@@ -748,13 +748,13 @@ module Aws::ComputeOptimizer
|
|
|
748
748
|
end
|
|
749
749
|
|
|
750
750
|
class IdleSummary
|
|
751
|
-
attr_accessor name: ("Idle" | "Unattached")
|
|
751
|
+
attr_accessor name: ("Idle" | "Unattached" | "Unused")
|
|
752
752
|
attr_accessor value: ::Float
|
|
753
753
|
SENSITIVE: []
|
|
754
754
|
end
|
|
755
755
|
|
|
756
756
|
class IdleUtilizationMetric
|
|
757
|
-
attr_accessor name: ("CPU" | "Memory" | "NetworkOutBytesPerSecond" | "NetworkInBytesPerSecond" | "DatabaseConnections" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond")
|
|
757
|
+
attr_accessor name: ("CPU" | "Memory" | "NetworkOutBytesPerSecond" | "NetworkInBytesPerSecond" | "DatabaseConnections" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond" | "ActiveConnectionCount" | "PacketsInFromSource" | "PacketsInFromDestination")
|
|
758
758
|
attr_accessor statistic: ("Maximum" | "Average")
|
|
759
759
|
attr_accessor value: ::Float
|
|
760
760
|
SENSITIVE: []
|
|
@@ -1153,14 +1153,14 @@ module Aws::ComputeOptimizer
|
|
|
1153
1153
|
|
|
1154
1154
|
class RecommendationSource
|
|
1155
1155
|
attr_accessor recommendation_source_arn: ::String
|
|
1156
|
-
attr_accessor recommendation_source_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage")
|
|
1156
|
+
attr_accessor recommendation_source_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage" | "NatGateway")
|
|
1157
1157
|
SENSITIVE: []
|
|
1158
1158
|
end
|
|
1159
1159
|
|
|
1160
1160
|
class RecommendationSummary
|
|
1161
1161
|
attr_accessor summaries: ::Array[Types::Summary]
|
|
1162
1162
|
attr_accessor idle_summaries: ::Array[Types::IdleSummary]
|
|
1163
|
-
attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage")
|
|
1163
|
+
attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage" | "NatGateway")
|
|
1164
1164
|
attr_accessor account_id: ::String
|
|
1165
1165
|
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
|
1166
1166
|
attr_accessor idle_savings_opportunity: Types::SavingsOpportunity
|