aws-sdk-cloudwatch 1.150.0 → 1.152.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +14 -3
- data/lib/aws-sdk-cloudwatch/client_api.rb +4 -0
- data/lib/aws-sdk-cloudwatch/types.rb +38 -1
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c310f032c181b5d30e904f25cd39dbdd5e11eb139d6dc9f2bcac096fff460048
|
|
4
|
+
data.tar.gz: 31e458ef275ad5e60a5472f3f885567e8c1c23c666a44f158cba75f58ebbc205
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f86e584a04352f9799856eed8e9d7c7439ebd70dd3f733dbe3a5c837c33f9d94885e60d47b71af4d9a66a20db080dacdbb5236664d3f22aa33050666d35c98b4
|
|
7
|
+
data.tar.gz: 96435c3176807c35a824040f26f2b2c3e87b62c6d86c1e857f5c36c5bed8fa2ffae7135a9cd4ae58173a988dd54e420f786ba90321c1e2d3c82ddeffae1866ea
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.152.0 (2026-10-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.151.0 (2026-10-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon CloudWatch now supports two new anomaly detector settings. AdaptationSpeed (FAST, NORMAL, SLOW) controls how fast the model adapts to baseline changes, and OutlierFilteringStrength (MINIMAL, MODERATE, STRICT) controls how aggressively outliers are filtered.
|
|
13
|
+
|
|
4
14
|
1.150.0 (2026-10-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.152.0
|
|
@@ -199,13 +199,20 @@ module Aws::CloudWatch
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -1625,6 +1632,8 @@ module Aws::CloudWatch
|
|
|
1625
1632
|
# resp.anomaly_detectors[0].configuration.excluded_time_ranges[0].start_time #=> Time
|
|
1626
1633
|
# resp.anomaly_detectors[0].configuration.excluded_time_ranges[0].end_time #=> Time
|
|
1627
1634
|
# resp.anomaly_detectors[0].configuration.metric_timezone #=> String
|
|
1635
|
+
# resp.anomaly_detectors[0].configuration.adaptation_speed #=> String, one of "FAST", "NORMAL", "SLOW"
|
|
1636
|
+
# resp.anomaly_detectors[0].configuration.outlier_filtering_strength #=> String, one of "MINIMAL", "MODERATE", "STRICT"
|
|
1628
1637
|
# resp.anomaly_detectors[0].state_value #=> String, one of "PENDING_TRAINING", "TRAINED_INSUFFICIENT_DATA", "TRAINED"
|
|
1629
1638
|
# resp.anomaly_detectors[0].metric_characteristics.periodic_spikes #=> Boolean
|
|
1630
1639
|
# resp.anomaly_detectors[0].single_metric_anomaly_detector.account_id #=> String
|
|
@@ -3514,6 +3523,8 @@ module Aws::CloudWatch
|
|
|
3514
3523
|
# },
|
|
3515
3524
|
# ],
|
|
3516
3525
|
# metric_timezone: "AnomalyDetectorMetricTimezone",
|
|
3526
|
+
# adaptation_speed: "FAST", # accepts FAST, NORMAL, SLOW
|
|
3527
|
+
# outlier_filtering_strength: "MINIMAL", # accepts MINIMAL, MODERATE, STRICT
|
|
3517
3528
|
# },
|
|
3518
3529
|
# metric_characteristics: {
|
|
3519
3530
|
# periodic_spikes: false,
|
|
@@ -5908,7 +5919,7 @@ module Aws::CloudWatch
|
|
|
5908
5919
|
tracer: tracer
|
|
5909
5920
|
)
|
|
5910
5921
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
|
5911
|
-
context[:gem_version] = '1.
|
|
5922
|
+
context[:gem_version] = '1.152.0'
|
|
5912
5923
|
Seahorse::Client::Request.new(handlers, context)
|
|
5913
5924
|
end
|
|
5914
5925
|
|
|
@@ -46,12 +46,14 @@ module Aws::CloudWatch
|
|
|
46
46
|
AlarmTypes = Shapes::ListShape.new(name: 'AlarmTypes')
|
|
47
47
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
|
48
48
|
AnomalyDetector = Shapes::StructureShape.new(name: 'AnomalyDetector')
|
|
49
|
+
AnomalyDetectorAdaptationSpeed = Shapes::StringShape.new(name: 'AnomalyDetectorAdaptationSpeed')
|
|
49
50
|
AnomalyDetectorConfiguration = Shapes::StructureShape.new(name: 'AnomalyDetectorConfiguration')
|
|
50
51
|
AnomalyDetectorExcludedTimeRanges = Shapes::ListShape.new(name: 'AnomalyDetectorExcludedTimeRanges')
|
|
51
52
|
AnomalyDetectorId = Shapes::StringShape.new(name: 'AnomalyDetectorId')
|
|
52
53
|
AnomalyDetectorIds = Shapes::ListShape.new(name: 'AnomalyDetectorIds')
|
|
53
54
|
AnomalyDetectorMetricStat = Shapes::StringShape.new(name: 'AnomalyDetectorMetricStat')
|
|
54
55
|
AnomalyDetectorMetricTimezone = Shapes::StringShape.new(name: 'AnomalyDetectorMetricTimezone')
|
|
56
|
+
AnomalyDetectorOutlierFilteringStrength = Shapes::StringShape.new(name: 'AnomalyDetectorOutlierFilteringStrength')
|
|
55
57
|
AnomalyDetectorStateValue = Shapes::StringShape.new(name: 'AnomalyDetectorStateValue')
|
|
56
58
|
AnomalyDetectorType = Shapes::StringShape.new(name: 'AnomalyDetectorType')
|
|
57
59
|
AnomalyDetectorTypes = Shapes::ListShape.new(name: 'AnomalyDetectorTypes')
|
|
@@ -463,6 +465,8 @@ module Aws::CloudWatch
|
|
|
463
465
|
|
|
464
466
|
AnomalyDetectorConfiguration.add_member(:excluded_time_ranges, Shapes::ShapeRef.new(shape: AnomalyDetectorExcludedTimeRanges, location_name: "ExcludedTimeRanges"))
|
|
465
467
|
AnomalyDetectorConfiguration.add_member(:metric_timezone, Shapes::ShapeRef.new(shape: AnomalyDetectorMetricTimezone, location_name: "MetricTimezone"))
|
|
468
|
+
AnomalyDetectorConfiguration.add_member(:adaptation_speed, Shapes::ShapeRef.new(shape: AnomalyDetectorAdaptationSpeed, location_name: "AdaptationSpeed"))
|
|
469
|
+
AnomalyDetectorConfiguration.add_member(:outlier_filtering_strength, Shapes::ShapeRef.new(shape: AnomalyDetectorOutlierFilteringStrength, location_name: "OutlierFilteringStrength"))
|
|
466
470
|
AnomalyDetectorConfiguration.struct_class = Types::AnomalyDetectorConfiguration
|
|
467
471
|
|
|
468
472
|
AnomalyDetectorExcludedTimeRanges.member = Shapes::ShapeRef.new(shape: Range)
|
|
@@ -339,11 +339,48 @@ module Aws::CloudWatch
|
|
|
339
339
|
# [1]: https://en.wikipedia.org/wiki/Tz_database
|
|
340
340
|
# @return [String]
|
|
341
341
|
#
|
|
342
|
+
# @!attribute [rw] adaptation_speed
|
|
343
|
+
# The speed at which the anomaly detection model adapts to sustained
|
|
344
|
+
# changes in the metric's baseline. Faster adaptation lets the model
|
|
345
|
+
# track shifting workloads sooner, but increases the chance that the
|
|
346
|
+
# model treats a real, lasting change as normal.
|
|
347
|
+
#
|
|
348
|
+
# Valid values:
|
|
349
|
+
#
|
|
350
|
+
# * `FAST` - The model adapts quickly to sustained changes in the
|
|
351
|
+
# baseline.
|
|
352
|
+
#
|
|
353
|
+
# * `NORMAL` - The model adapts at a moderate pace. This is the
|
|
354
|
+
# default value.
|
|
355
|
+
#
|
|
356
|
+
# * `SLOW` - The model adapts slowly, reducing the risk of treating a
|
|
357
|
+
# real change as normal.
|
|
358
|
+
# @return [String]
|
|
359
|
+
#
|
|
360
|
+
# @!attribute [rw] outlier_filtering_strength
|
|
361
|
+
# The aggressiveness with which CloudWatch filters outliers from the
|
|
362
|
+
# metric data that the anomaly detection model uses. Stronger
|
|
363
|
+
# filtering excludes more extreme values, which can produce a tighter
|
|
364
|
+
# band of expected values but may also suppress legitimate spikes.
|
|
365
|
+
#
|
|
366
|
+
# Valid values:
|
|
367
|
+
#
|
|
368
|
+
# * `MINIMAL` - Excludes only the most extreme outliers.
|
|
369
|
+
#
|
|
370
|
+
# * `MODERATE` - Excludes a moderate range of outliers. This is the
|
|
371
|
+
# default value.
|
|
372
|
+
#
|
|
373
|
+
# * `STRICT` - Excludes a wider range of outliers, which can suppress
|
|
374
|
+
# legitimate spikes.
|
|
375
|
+
# @return [String]
|
|
376
|
+
#
|
|
342
377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AnomalyDetectorConfiguration AWS API Documentation
|
|
343
378
|
#
|
|
344
379
|
class AnomalyDetectorConfiguration < Struct.new(
|
|
345
380
|
:excluded_time_ranges,
|
|
346
|
-
:metric_timezone
|
|
381
|
+
:metric_timezone,
|
|
382
|
+
:adaptation_speed,
|
|
383
|
+
:outlier_filtering_strength)
|
|
347
384
|
SENSITIVE = []
|
|
348
385
|
include Aws::Structure
|
|
349
386
|
end
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module Aws
|
|
|
27
27
|
?convert_params: bool,
|
|
28
28
|
?correct_clock_skew: bool,
|
|
29
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
30
31
|
?disable_host_prefix_injection: bool,
|
|
31
32
|
?disable_request_compression: bool,
|
|
32
33
|
?endpoint: String,
|
|
@@ -617,7 +618,9 @@ module Aws
|
|
|
617
618
|
end_time: ::Time
|
|
618
619
|
}
|
|
619
620
|
]?,
|
|
620
|
-
metric_timezone: ::String
|
|
621
|
+
metric_timezone: ::String?,
|
|
622
|
+
adaptation_speed: ("FAST" | "NORMAL" | "SLOW")?,
|
|
623
|
+
outlier_filtering_strength: ("MINIMAL" | "MODERATE" | "STRICT")?
|
|
621
624
|
},
|
|
622
625
|
?metric_characteristics: {
|
|
623
626
|
periodic_spikes: bool?
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -73,6 +73,8 @@ module Aws::CloudWatch
|
|
|
73
73
|
class AnomalyDetectorConfiguration
|
|
74
74
|
attr_accessor excluded_time_ranges: ::Array[Types::Range]
|
|
75
75
|
attr_accessor metric_timezone: ::String
|
|
76
|
+
attr_accessor adaptation_speed: ("FAST" | "NORMAL" | "SLOW")
|
|
77
|
+
attr_accessor outlier_filtering_strength: ("MINIMAL" | "MODERATE" | "STRICT")
|
|
76
78
|
SENSITIVE: []
|
|
77
79
|
end
|
|
78
80
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-cloudwatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.152.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.260.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.260.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|