aws-sdk-computeoptimizer 1.52.0 → 1.54.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36a2da7116d3d4b8109e304c7b3a81120dd95cde094e4a142c40fcf10faef4cd
4
- data.tar.gz: 977efab98248bd73f5cb6cea73cae1598c03472ac1773fc8ede63db03ece6a84
3
+ metadata.gz: 4933610dab1daa8f6d2ce2fe60d4df3d39024cb8a7f4399e40a55eb073cf4e2c
4
+ data.tar.gz: 5e2cae71c80b2f2aea29a6e3f656a62c65f956df0049a903916fecfb417e693e
5
5
  SHA512:
6
- metadata.gz: 394153f84dd4293d05f9baf8c9dffe178d786030ba0fe234669063633c5d0304362fea42b0eb0bdb7bca980e1adb38ce559e9ea8a702134036c4ac41c2c4cfa3
7
- data.tar.gz: dbaa0d59acc96c85c660e086210c7f8e475d90d672f0ab24b5dacb8a2bfa04c005b2322e68f95eaa06757b6e18def0030bde224acaff71d0e348349692242ca3
6
+ metadata.gz: a8c167a1be02413f7733d2bf51503cead966be297e047610631bcb422f63a2afdefcd11ac9b3fdc820e2e18b4314375c22475c957932ad5d8f9f4688459f453e
7
+ data.tar.gz: aadc33ac320264ff939586ecb54bd7b914e411cc2f2d72c5fa7ae163c3ce825a08b2ce8be5a60296f1dece4b130b000afc89c2f6c6db1dc9e0b90e906229300a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.53.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.52.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
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 thresholds -
2684
- # threshold and headroom. When this preference isn't specified, we use
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
- # * `PERCENT_17` for headroom
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
- # <note markdown="1"> You can only set this preference for the Amazon EC2 instance resource
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.52.0'
2868
+ context[:gem_version] = '1.54.0'
2859
2869
  Seahorse::Client::Request.new(handlers, context)
2860
2870
  end
2861
2871
 
@@ -14,6 +14,7 @@ module Aws::ComputeOptimizer
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ComputeOptimizer::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -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 threshold value in percentage used for the specified
461
- # metric parameter.
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 threshold preferences, such as
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 threshold preferences, such as
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 thresholds
5031
- # - threshold and headroom. When this preference isn't specified, we
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
- # * `PERCENT_17` for headroom
5048
+ # * `PERCENT_20` for headroom
5037
5049
  #
5038
- # <note markdown="1"> You can only set this preference for the Amazon EC2 instance
5039
- # resource type.
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 thresholds
5266
- # - threshold and headroom. If the preference isn’t set, this object
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
52
52
  # @!group service
53
53
  module Aws::ComputeOptimizer
54
54
 
55
- GEM_VERSION = '1.52.0'
55
+ GEM_VERSION = '1.54.0'
56
56
 
57
57
  end