aws-sdk-computeoptimizer 1.53.0 → 1.55.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: aa0892280c30429e7d7414411099733000028b166cd1fcb4eff6216c47aeaf7c
4
- data.tar.gz: 06f4e1b889df1de48a856690a650012a22511f52f54614c630a634791c713493
3
+ metadata.gz: f68b05cddee6297ec8541d898d7ceddd78b67b1c04ce9b517ec28b2d4d15f7f5
4
+ data.tar.gz: f0b370dbad53a994e38c715f22ef97a81785f840959c0518a554189d2c5d665d
5
5
  SHA512:
6
- metadata.gz: 0002ddefcf75dcc8162487ff3bff7654c7fb6c7bfeccddad8ac87c65b1f2c8f33eabd96d84de874c0a4fdd4207a46d9c5bb98fdef4a8e8fc7204b1988daf7b08
7
- data.tar.gz: 132683dfbb4b913b316de4920f08637cd186010d926b144fa833e6b21630e4550487f6ab8ac07a11d5695bc3b00f6ac8cd9bcf6f20ecf6c49e6df06357d11d29
6
+ metadata.gz: 58bbd16bb803f61c38efe277d1dc77a4693e70288bb9c1cb3ec199b80bffda43053de65709f0ccb6d2494627339e72b693d7f0b680cb60453bc8c5ac1b1af313
7
+ data.tar.gz: a71a3a8bd8c7a830491cfeb33563b1cc07102ca43abda857f60c33e733ae51d5366e40488c0eafbc164f82b85be0e5faf3144839234867a9c182194b8052136e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.54.0 (2024-03-28)
10
+ ------------------
11
+
12
+ * Feature - This release enables AWS Compute Optimizer to analyze and generate recommendations with a new customization preference, Memory Utilization.
13
+
4
14
  1.53.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::ComputeOptimizer
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::ComputeOptimizer
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::ComputeOptimizer
347
356
  # @option options [Aws::ComputeOptimizer::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ComputeOptimizer::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
375
- #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
378
409
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
382
412
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
388
415
  #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -1442,9 +1466,9 @@ module Aws::ComputeOptimizer
1442
1466
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1443
1467
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
1444
1468
  # 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"
1469
+ # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
1446
1470
  # 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"
1471
+ # 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
1472
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources #=> Array
1449
1473
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
1450
1474
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list #=> Array
@@ -1704,9 +1728,9 @@ module Aws::ComputeOptimizer
1704
1728
  # resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1705
1729
  # resp.instance_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
1706
1730
  # 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"
1731
+ # resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
1708
1732
  # 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"
1733
+ # 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
1734
  # resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources #=> Array
1711
1735
  # resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
1712
1736
  # resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list #=> Array
@@ -2034,9 +2058,9 @@ module Aws::ComputeOptimizer
2034
2058
  # resp.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
2035
2059
  # resp.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
2036
2060
  # resp.utilization_preferences #=> Array
2037
- # resp.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
2061
+ # resp.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
2038
2062
  # 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"
2063
+ # resp.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_10", "PERCENT_0"
2040
2064
  # resp.preferred_resources #=> Array
2041
2065
  # resp.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
2042
2066
  # resp.preferred_resources[0].include_list #=> Array
@@ -2460,9 +2484,9 @@ module Aws::ComputeOptimizer
2460
2484
  # resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
2461
2485
  # resp.recommendation_preferences_details[0].look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
2462
2486
  # resp.recommendation_preferences_details[0].utilization_preferences #=> Array
2463
- # resp.recommendation_preferences_details[0].utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
2487
+ # resp.recommendation_preferences_details[0].utilization_preferences[0].metric_name #=> String, one of "CpuUtilization", "MemoryUtilization"
2464
2488
  # 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"
2489
+ # resp.recommendation_preferences_details[0].utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_10", "PERCENT_0"
2466
2490
  # resp.recommendation_preferences_details[0].preferred_resources #=> Array
2467
2491
  # resp.recommendation_preferences_details[0].preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
2468
2492
  # resp.recommendation_preferences_details[0].preferred_resources[0].include_list #=> Array
@@ -2680,16 +2704,26 @@ module Aws::ComputeOptimizer
2680
2704
  # </note>
2681
2705
  #
2682
2706
  # @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:
2707
+ # The preference to control the resource’s CPU utilization threshold,
2708
+ # CPU utilization headroom, and memory utilization headroom. When this
2709
+ # preference isn't specified, we use the following default values.
2710
+ #
2711
+ # CPU utilization:
2686
2712
  #
2687
2713
  # * `P99_5` for threshold
2688
2714
  #
2689
- # * `PERCENT_17` for headroom
2715
+ # * `PERCENT_20` for headroom
2716
+ #
2717
+ # Memory utilization:
2718
+ #
2719
+ # * `PERCENT_20` for headroom
2720
+ #
2721
+ # ^
2722
+ #
2723
+ # <note markdown="1"> * You can only set CPU and memory utilization preferences for the
2724
+ # Amazon EC2 instance resource type.
2690
2725
  #
2691
- # <note markdown="1"> You can only set this preference for the Amazon EC2 instance resource
2692
- # type.
2726
+ # * The threshold setting isn’t available for memory utilization.
2693
2727
  #
2694
2728
  # </note>
2695
2729
  #
@@ -2740,10 +2774,10 @@ module Aws::ComputeOptimizer
2740
2774
  # look_back_period: "DAYS_14", # accepts DAYS_14, DAYS_32, DAYS_93
2741
2775
  # utilization_preferences: [
2742
2776
  # {
2743
- # metric_name: "CpuUtilization", # accepts CpuUtilization
2777
+ # metric_name: "CpuUtilization", # accepts CpuUtilization, MemoryUtilization
2744
2778
  # metric_parameters: {
2745
2779
  # threshold: "P90", # accepts P90, P95, P99_5
2746
- # headroom: "PERCENT_30", # accepts PERCENT_30, PERCENT_20, PERCENT_0
2780
+ # headroom: "PERCENT_30", # accepts PERCENT_30, PERCENT_20, PERCENT_10, PERCENT_0
2747
2781
  # },
2748
2782
  # },
2749
2783
  # ],
@@ -2855,7 +2889,7 @@ module Aws::ComputeOptimizer
2855
2889
  params: params,
2856
2890
  config: config)
2857
2891
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2858
- context[:gem_version] = '1.53.0'
2892
+ context[:gem_version] = '1.55.0'
2859
2893
  Seahorse::Client::Request.new(handlers, context)
2860
2894
  end
2861
2895
 
@@ -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.53.0'
55
+ GEM_VERSION = '1.55.0'
56
56
 
57
57
  end
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.53.0
4
+ version: 1.55.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement