aws-sdk-cloudwatch 1.84.0 → 1.85.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: cbf6edae85f6c0ac09d4593fba79edd4c18d9dff8aa1004b3662f313b418476c
4
- data.tar.gz: d37d0436b03890bbf2460d55612a6d93a9242ff041d132a39463c3fbbd7dd4d3
3
+ metadata.gz: 52d042734194575e9297e245ed2fbec389f5cdc0c076313cdcee7f3ef6755057
4
+ data.tar.gz: 559762c2f41b66c82bc68bf263b89501e7580aaeb42b7214b53917acf5d9d85c
5
5
  SHA512:
6
- metadata.gz: 2274d84843040c95843f7e2935dd4cc41e87aa806220358a5c2e3d2cadaa295d60adf7e3f43aad486cf0b0c456701b90290798e40609200c120e68792642737f
7
- data.tar.gz: 56eabeb08c2c25cbe787b78e8d1919851d9aea7cd3eec91e6fb78793b2c918f36ab5c2b11b6105ef415e759aefe2905ae96da48ba73a77a0e00856e3972dae99
6
+ metadata.gz: 64e5cb29bd670b2f01b8998daae49011ebc93fd19ab19c1b57028f28c33e0371743d18de39eb5e66b8a8d6e81c3e17abe094674e22fc562782f0374b6bc89345
7
+ data.tar.gz: 2ea02017f387f04cb82db7803031358d91af91d662bb723db138f6d8a332fe975d36e5e16528ac3ee405921de0e806d20720cbae614397537412f10fecfa6fd1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.84.0 (2023-12-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.84.0
1
+ 1.85.0
@@ -3986,7 +3986,7 @@ module Aws::CloudWatch
3986
3986
  params: params,
3987
3987
  config: config)
3988
3988
  context[:gem_name] = 'aws-sdk-cloudwatch'
3989
- context[:gem_version] = '1.84.0'
3989
+ context[:gem_version] = '1.85.0'
3990
3990
  Seahorse::Client::Request.new(handlers, context)
3991
3991
  end
3992
3992
 
@@ -14,6 +14,7 @@ module Aws::CloudWatch
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CloudWatch::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 '\
@@ -56,6 +56,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
56
56
  # @!group service
57
57
  module Aws::CloudWatch
58
58
 
59
- GEM_VERSION = '1.84.0'
59
+ GEM_VERSION = '1.85.0'
60
60
 
61
61
  end
data/sig/alarm.rbs ADDED
@@ -0,0 +1,179 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudWatch
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html
11
+ class Alarm
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#initialize-instance_method
13
+ def initialize: (String name, Hash[Symbol, untyped] options) -> void
14
+ | (name: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#name-instance_method
18
+ def name: () -> String
19
+ alias alarm_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#alarm_arn-instance_method
22
+ def alarm_arn: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#alarm_description-instance_method
25
+ def alarm_description: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#alarm_configuration_updated_timestamp-instance_method
28
+ def alarm_configuration_updated_timestamp: () -> ::Time
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#actions_enabled-instance_method
31
+ def actions_enabled: () -> bool
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#ok_actions-instance_method
34
+ def ok_actions: () -> ::Array[::String]
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#alarm_actions-instance_method
37
+ def alarm_actions: () -> ::Array[::String]
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#insufficient_data_actions-instance_method
40
+ def insufficient_data_actions: () -> ::Array[::String]
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#state_value-instance_method
43
+ def state_value: () -> ("OK" | "ALARM" | "INSUFFICIENT_DATA")
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#state_reason-instance_method
46
+ def state_reason: () -> ::String
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#state_reason_data-instance_method
49
+ def state_reason_data: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#state_updated_timestamp-instance_method
52
+ def state_updated_timestamp: () -> ::Time
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#metric_name-instance_method
55
+ def metric_name: () -> ::String
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#namespace-instance_method
58
+ def namespace: () -> ::String
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#statistic-instance_method
61
+ def statistic: () -> ("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum")
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#extended_statistic-instance_method
64
+ def extended_statistic: () -> ::String
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#dimensions-instance_method
67
+ def dimensions: () -> ::Array[Types::Dimension]
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#period-instance_method
70
+ def period: () -> ::Integer
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#unit-instance_method
73
+ def unit: () -> ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_periods-instance_method
76
+ def evaluation_periods: () -> ::Integer
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#datapoints_to_alarm-instance_method
79
+ def datapoints_to_alarm: () -> ::Integer
80
+
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#threshold-instance_method
82
+ def threshold: () -> ::Float
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#comparison_operator-instance_method
85
+ def comparison_operator: () -> ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#treat_missing_data-instance_method
88
+ def treat_missing_data: () -> ::String
89
+
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluate_low_sample_count_percentile-instance_method
91
+ def evaluate_low_sample_count_percentile: () -> ::String
92
+
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#metrics-instance_method
94
+ def metrics: () -> ::Array[Types::MetricDataQuery]
95
+
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#threshold_metric_id-instance_method
97
+ def threshold_metric_id: () -> ::String
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_state-instance_method
100
+ def evaluation_state: () -> ("PARTIAL_DATA")
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#state_transitioned_timestamp-instance_method
103
+ def state_transitioned_timestamp: () -> ::Time
104
+
105
+ def client: () -> Client
106
+
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#load-instance_method
108
+ def load: () -> self
109
+ alias reload load
110
+
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#data-instance_method
112
+ def data: () -> Types::MetricAlarm
113
+
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#data_loaded?-instance_method
115
+ def data_loaded?: () -> bool
116
+
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#exists?-instance_method
118
+ def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
119
+ | (?Hash[Symbol, untyped]) -> bool
120
+
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#wait_until_exists-instance_method
122
+ def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Alarm
123
+ | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Alarm
124
+
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#delete-instance_method
126
+ def delete: (
127
+ ) -> ::Aws::EmptyStructure
128
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
129
+
130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#describe_history-instance_method
131
+ def describe_history: (
132
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
133
+ ?history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action"),
134
+ ?start_date: ::Time,
135
+ ?end_date: ::Time,
136
+ ?max_records: ::Integer,
137
+ ?next_token: ::String,
138
+ ?scan_by: ("TimestampDescending" | "TimestampAscending")
139
+ ) -> Types::DescribeAlarmHistoryOutput
140
+ | (?Hash[Symbol, untyped]) -> Types::DescribeAlarmHistoryOutput
141
+
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#disable_actions-instance_method
143
+ def disable_actions: (
144
+ ) -> ::Aws::EmptyStructure
145
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
146
+
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#enable_actions-instance_method
148
+ def enable_actions: (
149
+ ) -> ::Aws::EmptyStructure
150
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
151
+
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#set_state-instance_method
153
+ def set_state: (
154
+ state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
155
+ state_reason: ::String,
156
+ ?state_reason_data: ::String
157
+ ) -> ::Aws::EmptyStructure
158
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
159
+
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#metric-instance_method
161
+ def metric: () -> Metric?
162
+
163
+ class Collection < ::Aws::Resources::Collection[Alarm]
164
+
165
+ def batch_delete!: (
166
+ ) -> void
167
+ | (?Hash[Symbol, untyped]) -> void
168
+
169
+ def batch_disable_actions: (
170
+ ) -> void
171
+ | (?Hash[Symbol, untyped]) -> void
172
+
173
+ def batch_enable_actions: (
174
+ ) -> void
175
+ | (?Hash[Symbol, untyped]) -> void
176
+ end
177
+ end
178
+ end
179
+ end