aws-sdk-computeoptimizer 1.53.0 → 1.54.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +27 -17
- data/lib/aws-sdk-computeoptimizer/types.rb +33 -17
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4933610dab1daa8f6d2ce2fe60d4df3d39024cb8a7f4399e40a55eb073cf4e2c
|
4
|
+
data.tar.gz: 5e2cae71c80b2f2aea29a6e3f656a62c65f956df0049a903916fecfb417e693e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8c167a1be02413f7733d2bf51503cead966be297e047610631bcb422f63a2afdefcd11ac9b3fdc820e2e18b4314375c22475c957932ad5d8f9f4688459f453e
|
7
|
+
data.tar.gz: aadc33ac320264ff939586ecb54bd7b914e411cc2f2d72c5fa7ae163c3ce825a08b2ce8be5a60296f1dece4b130b000afc89c2f6c6db1dc9e0b90e906229300a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2024-03-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables AWS Compute Optimizer to analyze and generate recommendations with a new customization preference, Memory Utilization.
|
8
|
+
|
4
9
|
1.53.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -1442,9 +1442,9 @@ module Aws::ComputeOptimizer
|
|
1442
1442
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1443
1443
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
1444
1444
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences #=> Array
|
1445
|
-
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
1445
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
|
1446
1446
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
1447
|
-
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
1447
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_10", "PERCENT_0"
|
1448
1448
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources #=> Array
|
1449
1449
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
1450
1450
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list #=> Array
|
@@ -1704,9 +1704,9 @@ module Aws::ComputeOptimizer
|
|
1704
1704
|
# resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1705
1705
|
# resp.instance_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
1706
1706
|
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences #=> Array
|
1707
|
-
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
1707
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
|
1708
1708
|
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
1709
|
-
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
1709
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_10", "PERCENT_0"
|
1710
1710
|
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources #=> Array
|
1711
1711
|
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
1712
1712
|
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list #=> Array
|
@@ -2034,9 +2034,9 @@ module Aws::ComputeOptimizer
|
|
2034
2034
|
# resp.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
2035
2035
|
# resp.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
2036
2036
|
# resp.utilization_preferences #=> Array
|
2037
|
-
# resp.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
2037
|
+
# resp.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
|
2038
2038
|
# resp.utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
2039
|
-
# resp.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
2039
|
+
# resp.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_10", "PERCENT_0"
|
2040
2040
|
# resp.preferred_resources #=> Array
|
2041
2041
|
# resp.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
2042
2042
|
# resp.preferred_resources[0].include_list #=> Array
|
@@ -2460,9 +2460,9 @@ module Aws::ComputeOptimizer
|
|
2460
2460
|
# resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
2461
2461
|
# resp.recommendation_preferences_details[0].look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
2462
2462
|
# resp.recommendation_preferences_details[0].utilization_preferences #=> Array
|
2463
|
-
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
2463
|
+
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
|
2464
2464
|
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
2465
|
-
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
2465
|
+
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_10", "PERCENT_0"
|
2466
2466
|
# resp.recommendation_preferences_details[0].preferred_resources #=> Array
|
2467
2467
|
# resp.recommendation_preferences_details[0].preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
2468
2468
|
# resp.recommendation_preferences_details[0].preferred_resources[0].include_list #=> Array
|
@@ -2680,16 +2680,26 @@ module Aws::ComputeOptimizer
|
|
2680
2680
|
# </note>
|
2681
2681
|
#
|
2682
2682
|
# @option params [Array<Types::UtilizationPreference>] :utilization_preferences
|
2683
|
-
# The preference to control the resource’s CPU utilization
|
2684
|
-
#
|
2685
|
-
# the following default values
|
2683
|
+
# The preference to control the resource’s CPU utilization threshold,
|
2684
|
+
# CPU utilization headroom, and memory utilization headroom. When this
|
2685
|
+
# preference isn't specified, we use the following default values.
|
2686
|
+
#
|
2687
|
+
# CPU utilization:
|
2686
2688
|
#
|
2687
2689
|
# * `P99_5` for threshold
|
2688
2690
|
#
|
2689
|
-
# * `
|
2691
|
+
# * `PERCENT_20` for headroom
|
2692
|
+
#
|
2693
|
+
# Memory utilization:
|
2694
|
+
#
|
2695
|
+
# * `PERCENT_20` for headroom
|
2696
|
+
#
|
2697
|
+
# ^
|
2698
|
+
#
|
2699
|
+
# <note markdown="1"> * You can only set CPU and memory utilization preferences for the
|
2700
|
+
# Amazon EC2 instance resource type.
|
2690
2701
|
#
|
2691
|
-
#
|
2692
|
-
# type.
|
2702
|
+
# * The threshold setting isn’t available for memory utilization.
|
2693
2703
|
#
|
2694
2704
|
# </note>
|
2695
2705
|
#
|
@@ -2740,10 +2750,10 @@ module Aws::ComputeOptimizer
|
|
2740
2750
|
# look_back_period: "DAYS_14", # accepts DAYS_14, DAYS_32, DAYS_93
|
2741
2751
|
# utilization_preferences: [
|
2742
2752
|
# {
|
2743
|
-
# metric_name: "CpuUtilization", # accepts CpuUtilization
|
2753
|
+
# metric_name: "CpuUtilization", # accepts CpuUtilization, MemoryUtilization
|
2744
2754
|
# metric_parameters: {
|
2745
2755
|
# threshold: "P90", # accepts P90, P95, P99_5
|
2746
|
-
# headroom: "PERCENT_30", # accepts PERCENT_30, PERCENT_20, PERCENT_0
|
2756
|
+
# headroom: "PERCENT_30", # accepts PERCENT_30, PERCENT_20, PERCENT_10, PERCENT_0
|
2747
2757
|
# },
|
2748
2758
|
# },
|
2749
2759
|
# ],
|
@@ -2855,7 +2865,7 @@ module Aws::ComputeOptimizer
|
|
2855
2865
|
params: params,
|
2856
2866
|
config: config)
|
2857
2867
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
2858
|
-
context[:gem_version] = '1.
|
2868
|
+
context[:gem_version] = '1.54.0'
|
2859
2869
|
Seahorse::Client::Request.new(handlers, context)
|
2860
2870
|
end
|
2861
2871
|
|
@@ -454,11 +454,21 @@ module Aws::ComputeOptimizer
|
|
454
454
|
#
|
455
455
|
# @!attribute [rw] threshold
|
456
456
|
# The threshold value used for the specified metric parameter.
|
457
|
+
#
|
458
|
+
# <note markdown="1"> You can only specify the threshold value for CPU utilization.
|
459
|
+
#
|
460
|
+
# </note>
|
457
461
|
# @return [String]
|
458
462
|
#
|
459
463
|
# @!attribute [rw] headroom
|
460
|
-
# The headroom
|
461
|
-
#
|
464
|
+
# The headroom value in percentage used for the specified metric
|
465
|
+
# parameter.
|
466
|
+
#
|
467
|
+
# The following lists the valid values for CPU and memory utilization.
|
468
|
+
#
|
469
|
+
# * CPU utilization: `PERCENT_30 | PERCENT_20 | PERCENT_0`
|
470
|
+
#
|
471
|
+
# * Memory utilization: `PERCENT_30 | PERCENT_20 | PERCENT_10`
|
462
472
|
# @return [String]
|
463
473
|
#
|
464
474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/CustomizableMetricParameters AWS API Documentation
|
@@ -1384,7 +1394,7 @@ module Aws::ComputeOptimizer
|
|
1384
1394
|
# @return [String]
|
1385
1395
|
#
|
1386
1396
|
# @!attribute [rw] utilization_preferences
|
1387
|
-
# The resource’s CPU utilization
|
1397
|
+
# The resource’s CPU and memory utilization preferences, such as
|
1388
1398
|
# threshold and headroom, that are used to generate rightsizing
|
1389
1399
|
# recommendations.
|
1390
1400
|
#
|
@@ -2868,7 +2878,7 @@ module Aws::ComputeOptimizer
|
|
2868
2878
|
# @return [String]
|
2869
2879
|
#
|
2870
2880
|
# @!attribute [rw] utilization_preferences
|
2871
|
-
# The resource’s CPU utilization
|
2881
|
+
# The resource’s CPU and memory utilization preferences, such as
|
2872
2882
|
# threshold and headroom, that were used to generate rightsizing
|
2873
2883
|
# recommendations. It considers all applicable preferences that you
|
2874
2884
|
# set at the resource, account, and organization level.
|
@@ -5027,16 +5037,26 @@ module Aws::ComputeOptimizer
|
|
5027
5037
|
# @return [String]
|
5028
5038
|
#
|
5029
5039
|
# @!attribute [rw] utilization_preferences
|
5030
|
-
# The preference to control the resource’s CPU utilization
|
5031
|
-
#
|
5032
|
-
# use the following default values
|
5040
|
+
# The preference to control the resource’s CPU utilization threshold,
|
5041
|
+
# CPU utilization headroom, and memory utilization headroom. When this
|
5042
|
+
# preference isn't specified, we use the following default values.
|
5043
|
+
#
|
5044
|
+
# CPU utilization:
|
5033
5045
|
#
|
5034
5046
|
# * `P99_5` for threshold
|
5035
5047
|
#
|
5036
|
-
# * `
|
5048
|
+
# * `PERCENT_20` for headroom
|
5037
5049
|
#
|
5038
|
-
#
|
5039
|
-
#
|
5050
|
+
# Memory utilization:
|
5051
|
+
#
|
5052
|
+
# * `PERCENT_20` for headroom
|
5053
|
+
#
|
5054
|
+
# ^
|
5055
|
+
#
|
5056
|
+
# <note markdown="1"> * You can only set CPU and memory utilization preferences for the
|
5057
|
+
# Amazon EC2 instance resource type.
|
5058
|
+
#
|
5059
|
+
# * The threshold setting isn’t available for memory utilization.
|
5040
5060
|
#
|
5041
5061
|
# </note>
|
5042
5062
|
# @return [Array<Types::UtilizationPreference>]
|
@@ -5262,9 +5282,9 @@ module Aws::ComputeOptimizer
|
|
5262
5282
|
# @return [String]
|
5263
5283
|
#
|
5264
5284
|
# @!attribute [rw] utilization_preferences
|
5265
|
-
# The preference to control the resource’s CPU utilization
|
5266
|
-
#
|
5267
|
-
# is null.
|
5285
|
+
# The preference to control the resource’s CPU utilization threshold,
|
5286
|
+
# CPU utilization headroom, and memory utilization headroom. If the
|
5287
|
+
# preference isn’t set, this object is null.
|
5268
5288
|
#
|
5269
5289
|
# <note markdown="1"> This preference is only available for the Amazon EC2 instance
|
5270
5290
|
# resource type.
|
@@ -5964,10 +5984,6 @@ module Aws::ComputeOptimizer
|
|
5964
5984
|
#
|
5965
5985
|
# @!attribute [rw] metric_name
|
5966
5986
|
# The name of the resource utilization metric name to customize.
|
5967
|
-
#
|
5968
|
-
# <note markdown="1"> Compute Optimizer only supports `CpuUtilization`.
|
5969
|
-
#
|
5970
|
-
# </note>
|
5971
5987
|
# @return [String]
|
5972
5988
|
#
|
5973
5989
|
# @!attribute [rw] metric_parameters
|
data/sig/client.rbs
CHANGED
@@ -511,10 +511,10 @@ module Aws
|
|
511
511
|
?look_back_period: ("DAYS_14" | "DAYS_32" | "DAYS_93"),
|
512
512
|
?utilization_preferences: Array[
|
513
513
|
{
|
514
|
-
metric_name: ("CpuUtilization")?,
|
514
|
+
metric_name: ("CpuUtilization" | "MemoryUtilization")?,
|
515
515
|
metric_parameters: {
|
516
516
|
threshold: ("P90" | "P95" | "P99_5")?,
|
517
|
-
headroom: ("PERCENT_30" | "PERCENT_20" | "PERCENT_0")?
|
517
|
+
headroom: ("PERCENT_30" | "PERCENT_20" | "PERCENT_10" | "PERCENT_0")?
|
518
518
|
}?
|
519
519
|
},
|
520
520
|
],
|
data/sig/types.rbs
CHANGED
@@ -94,7 +94,7 @@ module Aws::ComputeOptimizer
|
|
94
94
|
|
95
95
|
class CustomizableMetricParameters
|
96
96
|
attr_accessor threshold: ("P90" | "P95" | "P99_5")
|
97
|
-
attr_accessor headroom: ("PERCENT_30" | "PERCENT_20" | "PERCENT_0")
|
97
|
+
attr_accessor headroom: ("PERCENT_30" | "PERCENT_20" | "PERCENT_10" | "PERCENT_0")
|
98
98
|
SENSITIVE: []
|
99
99
|
end
|
100
100
|
|
@@ -985,7 +985,7 @@ module Aws::ComputeOptimizer
|
|
985
985
|
end
|
986
986
|
|
987
987
|
class UtilizationPreference
|
988
|
-
attr_accessor metric_name: ("CpuUtilization")
|
988
|
+
attr_accessor metric_name: ("CpuUtilization" | "MemoryUtilization")
|
989
989
|
attr_accessor metric_parameters: Types::CustomizableMetricParameters
|
990
990
|
SENSITIVE: []
|
991
991
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-computeoptimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|