aws-sdk-cloudwatch 1.84.0 → 1.86.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 +1 -1
- data/lib/aws-sdk-cloudwatch/client_api.rb +3 -0
- data/lib/aws-sdk-cloudwatch/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/alarm.rbs +179 -0
- data/sig/client.rbs +838 -0
- data/sig/composite_alarm.rbs +146 -0
- data/sig/errors.rbs +55 -0
- data/sig/metric.rbs +163 -0
- data/sig/resource.rbs +128 -0
- data/sig/types.rbs +856 -0
- data/sig/waiters.rbs +49 -0
- metadata +16 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ed4f3f747a399a51957477f954557e1b52b3cadd4aa40aa706abc4948e578ad
|
4
|
+
data.tar.gz: 5b36773dd5694e320e180a15e15a5abe114bf4777e25d3f38d4b34256a2f1fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d8718048608bbff61c9d4c261bd8a2a46ce7ade0b758639ee2eb842e12eabbffb872691b00d482b646147e45cf69126bc4f0881c8e402342a7eff7d81b92ff1
|
7
|
+
data.tar.gz: 707dbc8c55983852a88db1d6feffbe5dc1d9b49a594d01375b4debe903056a2dce94f7105e01b4b7f5aeee8a237fcb6e4c4855c55b57bf671b05468ebc513791
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.86.0 (2024-02-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables PutMetricData API request payload compression by default.
|
8
|
+
|
9
|
+
1.85.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.84.0 (2023-12-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.86.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.
|
3989
|
+
context[:gem_version] = '1.86.0'
|
3990
3990
|
Seahorse::Client::Request.new(handlers, context)
|
3991
3991
|
end
|
3992
3992
|
|
@@ -1393,6 +1393,9 @@ module Aws::CloudWatch
|
|
1393
1393
|
o.name = "PutMetricData"
|
1394
1394
|
o.http_method = "POST"
|
1395
1395
|
o.http_request_uri = "/"
|
1396
|
+
o.request_compression = {
|
1397
|
+
"encodings" => ["gzip"],
|
1398
|
+
}
|
1396
1399
|
o.input = Shapes::ShapeRef.new(shape: PutMetricDataInput)
|
1397
1400
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1398
1401
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
@@ -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 '\
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
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
|