aws-sdk-cloudwatch 1.45.0 → 1.50.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: a4970b3a61258b6678d3ff236f556dc853f88713468c4df4c237459fbb0e9e58
4
- data.tar.gz: b35bc1caef1e7e611979c9c76859fe9f8aba93807eca74fb0fc35e165b7fcd6b
3
+ metadata.gz: 136d29a994940985d1d92bc0c15c016eb9711bf878ceaeae76330b421db20667
4
+ data.tar.gz: 2aaa87af9c71d96861771b91a00100b5ecf1a2f0ae0f4d63c46da7bbb6b67ff5
5
5
  SHA512:
6
- metadata.gz: e284b6a709d107f3e305336f0edcd6bf638e2d70a53bc72741a7522367e9d6e5ef9fa72699f1a973e4f6acb13c53684ae918fa2702890b1d3665f2f2b274ae59
7
- data.tar.gz: 2856c0d2ec2ff7e9a729e4d37e577fb808c977a8e2060f6dd3e50251fea0ec12b26184b2c508695c0a73532222296e09f93604f979df3dc684936cdef4c4643f
6
+ metadata.gz: ae560f8a53b79be1f3528e2cfac0acec6ec00de3321f9a58ed9063cd1a3482fd0718eeb4e02bf3f1e1d0d922dd54b30590e371e0a3f88fb15db969df1c37b960
7
+ data.tar.gz: 847a59808fb3bf56c842fa12c86f765323454780bafe8c8db1419531ae1bde9d38c02abfd705fde81020da85c02314c6675d7dd19246fe83b0e33fa39abda08c
data/CHANGELOG.md ADDED
@@ -0,0 +1,325 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.50.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.49.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.48.0 (2021-01-28)
15
+ ------------------
16
+
17
+ * Feature - Update to SDK to support label time zones in CloudWatch GetMetricData
18
+
19
+ 1.47.0 (2020-12-11)
20
+ ------------------
21
+
22
+ * Feature - Documentation updates for monitoring
23
+
24
+ 1.46.0 (2020-11-04)
25
+ ------------------
26
+
27
+ * Feature - Documentation updates for monitoring
28
+
29
+ 1.45.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.44.0 (2020-09-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.43.0 (2020-08-25)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.42.0 (2020-07-24)
45
+ ------------------
46
+
47
+ * Feature - AWS CloudWatch ListMetrics now supports an optional parameter (RecentlyActive) to filter results by only metrics that have received new datapoints in the past 3 hours. This enables more targeted metric data retrieval through the Get APIs
48
+
49
+ 1.41.0 (2020-07-02)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.40.0 (2020-06-23)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.39.1 (2020-06-11)
60
+ ------------------
61
+
62
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
63
+
64
+ 1.39.0 (2020-06-10)
65
+ ------------------
66
+
67
+ * Issue - This version has been yanked. (#2327).
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.38.0 (2020-05-28)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.37.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.36.0 (2020-04-20)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.35.0 (2020-04-08)
86
+ ------------------
87
+
88
+ * Feature - Amazon CloudWatch Contributor Insights adds support for tags and tagging on resource creation.
89
+
90
+ 1.34.0 (2020-03-09)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.33.0 (2020-03-02)
96
+ ------------------
97
+
98
+ * Feature - Introducing Amazon CloudWatch Composite Alarms
99
+
100
+ 1.32.0 (2020-01-20)
101
+ ------------------
102
+
103
+ * Feature - Updating DescribeAnomalyDetectors API to return AnomalyDetector Status value in response.
104
+
105
+ 1.31.0 (2019-11-25)
106
+ ------------------
107
+
108
+ * Feature - This release adds a new feature called "Contributor Insights". "Contributor Insights" supports the following 6 new APIs (PutInsightRule, DeleteInsightRules, EnableInsightRules, DisableInsightRules, DescribeInsightRules and GetInsightRuleReport).
109
+
110
+ 1.30.0 (2019-10-23)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.29.0 (2019-10-18)
116
+ ------------------
117
+
118
+ * Feature - New Period parameter added to MetricDataQuery structure.
119
+
120
+ 1.28.0 (2019-08-12)
121
+ ------------------
122
+
123
+ * Feature - Documentation updates for monitoring
124
+
125
+ 1.27.0 (2019-07-25)
126
+ ------------------
127
+
128
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
129
+
130
+ 1.26.0 (2019-07-09)
131
+ ------------------
132
+
133
+ * Feature - This release adds three new APIs (PutAnomalyDetector, DeleteAnomalyDetector, and DescribeAnomalyDetectors) to support the new feature, CloudWatch Anomaly Detection. In addition, PutMetricAlarm and DescribeAlarms APIs are updated to support management of Anomaly Detection based alarms.
134
+
135
+ 1.25.0 (2019-07-01)
136
+ ------------------
137
+
138
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
139
+
140
+ 1.24.0 (2019-06-17)
141
+ ------------------
142
+
143
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
144
+
145
+ 1.23.0 (2019-05-21)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.22.0 (2019-05-15)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.21.0 (2019-05-14)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.20.0 (2019-04-16)
161
+ ------------------
162
+
163
+ * Feature - API update.
164
+
165
+ 1.19.0 (2019-03-29)
166
+ ------------------
167
+
168
+ * Feature - API update.
169
+
170
+ 1.18.0 (2019-03-22)
171
+ ------------------
172
+
173
+ * Feature - API update.
174
+
175
+ 1.17.0 (2019-03-21)
176
+ ------------------
177
+
178
+ * Feature - API update.
179
+
180
+ 1.16.0 (2019-03-18)
181
+ ------------------
182
+
183
+ * Feature - API update.
184
+
185
+ 1.15.0 (2019-03-14)
186
+ ------------------
187
+
188
+ * Feature - API update.
189
+
190
+ 1.14.0 (2019-02-21)
191
+ ------------------
192
+
193
+ * Feature - API update.
194
+
195
+ 1.13.0 (2018-11-20)
196
+ ------------------
197
+
198
+ * Feature - API update.
199
+
200
+ 1.12.0 (2018-10-24)
201
+ ------------------
202
+
203
+ * Feature - API update.
204
+
205
+ 1.11.0 (2018-10-23)
206
+ ------------------
207
+
208
+ * Feature - API update.
209
+
210
+ 1.10.0 (2018-09-19)
211
+ ------------------
212
+
213
+ * Feature - API update.
214
+
215
+ 1.9.0 (2018-09-17)
216
+ ------------------
217
+
218
+ * Feature - API update.
219
+
220
+ 1.8.0 (2018-09-06)
221
+ ------------------
222
+
223
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
224
+
225
+ 1.7.0 (2018-09-05)
226
+ ------------------
227
+
228
+ * Feature - API update.
229
+
230
+ 1.6.0 (2018-06-26)
231
+ ------------------
232
+
233
+ * Feature - API update.
234
+
235
+ 1.5.0 (2018-04-04)
236
+ ------------------
237
+
238
+ * Feature - API update.
239
+
240
+ 1.4.0 (2017-12-19)
241
+ ------------------
242
+
243
+ * Feature - API update.
244
+
245
+ 1.3.0 (2017-12-08)
246
+ ------------------
247
+
248
+ * Feature - API update.
249
+
250
+ 1.2.0 (2017-09-14)
251
+ ------------------
252
+
253
+ * Feature - API update.
254
+
255
+ 1.1.0 (2017-09-11)
256
+ ------------------
257
+
258
+ * Feature - API update.
259
+
260
+ * Issue - Update `aws-sdk-cloudwatch` gemspec metadata.
261
+
262
+ 1.0.0 (2017-08-29)
263
+ ------------------
264
+
265
+ 1.0.0.rc12 (2017-08-15)
266
+ ------------------
267
+
268
+ * Feature - API update.
269
+
270
+ 1.0.0.rc11 (2017-08-01)
271
+ ------------------
272
+
273
+ * Feature - API update.
274
+
275
+ 1.0.0.rc10 (2017-07-26)
276
+ ------------------
277
+
278
+ * Feature - API update.
279
+
280
+ 1.0.0.rc9 (2017-07-25)
281
+ ------------------
282
+
283
+ * Feature - API update.
284
+
285
+ 1.0.0.rc8 (2017-07-12)
286
+ ------------------
287
+
288
+ * Feature - API update.
289
+
290
+ 1.0.0.rc7 (2017-07-06)
291
+ ------------------
292
+
293
+ * Feature - API update.
294
+
295
+ 1.0.0.rc6 (2017-06-29)
296
+ ------------------
297
+
298
+ * Feature - API update.
299
+
300
+ 1.0.0.rc5 (2017-05-23)
301
+ ------------------
302
+
303
+ * Feature - API update.
304
+
305
+ 1.0.0.rc4 (2017-05-09)
306
+ ------------------
307
+
308
+ * Feature - API update.
309
+
310
+ 1.0.0.rc3 (2017-05-09)
311
+ ------------------
312
+
313
+ * Feature - API update.
314
+
315
+ * Issue - Fix resource model load path
316
+
317
+ 1.0.0.rc2 (2017-04-21)
318
+ ------------------
319
+
320
+ * Feature - API update.
321
+
322
+ 1.0.0.rc1 (2016-12-05)
323
+ ------------------
324
+
325
+ * Feature - Initial preview release of the `aws-sdk-cloudwatch` gem.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.50.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatch
54
54
 
55
- GEM_VERSION = '1.45.0'
55
+ GEM_VERSION = '1.50.0'
56
56
 
57
57
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -201,7 +201,7 @@ module Aws::CloudWatch
201
201
  # metric math expression. Each structure either retrieves a metric or
202
202
  # performs a math expression. One item in the Metrics array is the math
203
203
  # expression that the alarm watches. This expression by designated by
204
- # having `ReturnValue` set to true.
204
+ # having `ReturnData` set to true.
205
205
  # @return [Array<Types::MetricDataQuery>]
206
206
  def metrics
207
207
  data[:metrics]
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -557,7 +557,7 @@ module Aws::CloudWatch
557
557
  end
558
558
 
559
559
  # Retrieves the specified alarms. You can filter the results by
560
- # specifying a a prefix for the alarm name, the alarm state, or a prefix
560
+ # specifying a prefix for the alarm name, the alarm state, or a prefix
561
561
  # for any action.
562
562
  #
563
563
  # @option params [Array<String>] :alarm_names
@@ -739,6 +739,11 @@ module Aws::CloudWatch
739
739
  # Retrieves the alarms for the specified metric. To filter the results,
740
740
  # specify a statistic, period, or unit.
741
741
  #
742
+ # This operation retrieves only standard alarms that are based on the
743
+ # specified metric. It does not return alarms based on math expressions
744
+ # that use the specified metric, or composite alarms that use the
745
+ # specified metric.
746
+ #
742
747
  # @option params [required, String] :metric_name
743
748
  # The name of the metric.
744
749
  #
@@ -921,7 +926,6 @@ module Aws::CloudWatch
921
926
  end
922
927
 
923
928
  # Returns a list of all the Contributor Insights rules in your account.
924
- # All rules in your account are returned with a single operation.
925
929
  #
926
930
  # For more information about Contributor Insights, see [Using
927
931
  # Contributor Insights to Analyze High-Cardinality Data][1].
@@ -931,11 +935,12 @@ module Aws::CloudWatch
931
935
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html
932
936
  #
933
937
  # @option params [String] :next_token
934
- # Reserved for future use.
938
+ # Include this value, if it was returned by the previous operation, to
939
+ # get the next set of rules.
935
940
  #
936
941
  # @option params [Integer] :max_results
937
- # This parameter is not currently used. Reserved for future use. If it
938
- # is used in the future, the maximum value might be different.
942
+ # The maximum number of results to return in one operation. If you omit
943
+ # this parameter, the default of 500 is used.
939
944
  #
940
945
  # @return [Types::DescribeInsightRulesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
941
946
  #
@@ -1376,8 +1381,8 @@ module Aws::CloudWatch
1376
1381
  # response from CloudWatch than setting 12:07 or 12:29 as the `EndTime`.
1377
1382
  #
1378
1383
  # @option params [String] :next_token
1379
- # Include this value, if it was returned by the previous call, to get
1380
- # the next set of data points.
1384
+ # Include this value, if it was returned by the previous `GetMetricData`
1385
+ # operation, to get the next set of data points.
1381
1386
  #
1382
1387
  # @option params [String] :scan_by
1383
1388
  # The order in which data points should be returned.
@@ -1390,6 +1395,11 @@ module Aws::CloudWatch
1390
1395
  # The maximum number of data points the request should return before
1391
1396
  # paginating. If you omit this, the default of 100,800 is used.
1392
1397
  #
1398
+ # @option params [Types::LabelOptions] :label_options
1399
+ # This structure includes the `Timezone` parameter, which you can use to
1400
+ # specify your time zone so that the labels of returned data display the
1401
+ # correct time for your time zone.
1402
+ #
1393
1403
  # @return [Types::GetMetricDataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1394
1404
  #
1395
1405
  # * {Types::GetMetricDataOutput#metric_data_results #metric_data_results} => Array&lt;Types::MetricDataResult&gt;
@@ -1430,6 +1440,9 @@ module Aws::CloudWatch
1430
1440
  # next_token: "NextToken",
1431
1441
  # scan_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
1432
1442
  # max_datapoints: 1,
1443
+ # label_options: {
1444
+ # timezone: "GetMetricDataLabelTimezone",
1445
+ # },
1433
1446
  # })
1434
1447
  #
1435
1448
  # @example Response structure
@@ -1837,13 +1850,16 @@ module Aws::CloudWatch
1837
1850
  # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html
1838
1851
  #
1839
1852
  # @option params [String] :namespace
1840
- # The namespace to filter against.
1853
+ # The metric namespace to filter against. Only the namespace that
1854
+ # matches exactly will be returned.
1841
1855
  #
1842
1856
  # @option params [String] :metric_name
1843
- # The name of the metric to filter against.
1857
+ # The name of the metric to filter against. Only the metrics with names
1858
+ # that match exactly will be returned.
1844
1859
  #
1845
1860
  # @option params [Array<Types::DimensionFilter>] :dimensions
1846
- # The dimensions to filter against.
1861
+ # The dimensions to filter against. Only the dimensions that match
1862
+ # exactly will be returned.
1847
1863
  #
1848
1864
  # @option params [String] :next_token
1849
1865
  # The token returned by a previous call to indicate that there is more
@@ -1974,8 +1990,6 @@ module Aws::CloudWatch
1974
1990
  # The configuration can also include the time zone to use for the
1975
1991
  # metric.
1976
1992
  #
1977
- # You can in
1978
- #
1979
1993
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1980
1994
  #
1981
1995
  # @example Request syntax with placeholder values
@@ -2056,6 +2070,9 @@ module Aws::CloudWatch
2056
2070
  # the update completely overwrites the previous configuration of the
2057
2071
  # alarm.
2058
2072
  #
2073
+ # If you are an IAM user, you must have `iam:CreateServiceLinkedRole` to
2074
+ # create a composite alarm that has Systems Manager OpsItem actions.
2075
+ #
2059
2076
  # @option params [Boolean] :actions_enabled
2060
2077
  # Indicates whether actions should be executed during any changes to the
2061
2078
  # alarm state of the composite alarm. The default is `TRUE`.
@@ -2065,7 +2082,8 @@ module Aws::CloudWatch
2065
2082
  # state from any other state. Each action is specified as an Amazon
2066
2083
  # Resource Name (ARN).
2067
2084
  #
2068
- # Valid Values: `arn:aws:sns:region:account-id:sns-topic-name `
2085
+ # Valid Values: `arn:aws:sns:region:account-id:sns-topic-name ` \|
2086
+ # `arn:aws:ssm:region:account-id:opsitem:severity `
2069
2087
  #
2070
2088
  # @option params [String] :alarm_description
2071
2089
  # The description for the composite alarm.
@@ -2339,36 +2357,17 @@ module Aws::CloudWatch
2339
2357
  # If you are an IAM user, you must have Amazon EC2 permissions for some
2340
2358
  # alarm operations:
2341
2359
  #
2342
- # * `iam:CreateServiceLinkedRole` for all alarms with EC2 actions
2343
- #
2344
- # * `ec2:DescribeInstanceStatus` and `ec2:DescribeInstances` for all
2345
- # alarms on EC2 instance status metrics
2346
- #
2347
- # * `ec2:StopInstances` for alarms with stop actions
2348
- #
2349
- # * `ec2:TerminateInstances` for alarms with terminate actions
2350
- #
2351
- # * No specific permissions are needed for alarms with recover actions
2360
+ # * The `iam:CreateServiceLinkedRole` for all alarms with EC2 actions
2352
2361
  #
2353
- # If you have read/write permissions for Amazon CloudWatch but not for
2354
- # Amazon EC2, you can still create an alarm, but the stop or terminate
2355
- # actions are not performed. However, if you are later granted the
2356
- # required permissions, the alarm actions that you created earlier are
2357
- # performed.
2358
- #
2359
- # If you are using an IAM role (for example, an EC2 instance profile),
2360
- # you cannot stop or terminate the instance using alarm actions.
2361
- # However, you can still see the alarm state and perform any other
2362
- # actions such as Amazon SNS notifications or Auto Scaling policies.
2363
- #
2364
- # If you are using temporary security credentials granted using AWS STS,
2365
- # you cannot stop or terminate an EC2 instance using alarm actions.
2362
+ # * The `iam:CreateServiceLinkedRole` to create an alarm with Systems
2363
+ # Manager OpsItem actions.
2366
2364
  #
2367
2365
  # The first time you create an alarm in the AWS Management Console, the
2368
2366
  # CLI, or by using the PutMetricAlarm API, CloudWatch creates the
2369
- # necessary service-linked role for you. The service-linked role is
2370
- # called `AWSServiceRoleForCloudWatchEvents`. For more information, see
2371
- # [AWS service-linked role][1].
2367
+ # necessary service-linked rolea for you. The service-linked roles are
2368
+ # called `AWSServiceRoleForCloudWatchEvents` and
2369
+ # `AWSServiceRoleForCloudWatchAlarms_ActionSSM`. For more information,
2370
+ # see [AWS service-linked role][1].
2372
2371
  #
2373
2372
  #
2374
2373
  #
@@ -2415,7 +2414,7 @@ module Aws::CloudWatch
2415
2414
  # `arn:aws:automate:region:ec2:reboot` \|
2416
2415
  # `arn:aws:sns:region:account-id:sns-topic-name ` \|
2417
2416
  # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
2418
- # `
2417
+ # ` \| `arn:aws:ssm:region:account-id:opsitem:severity `
2419
2418
  #
2420
2419
  # Valid Values (for use with IAM roles):
2421
2420
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
@@ -2594,8 +2593,8 @@ module Aws::CloudWatch
2594
2593
  # a math expression.
2595
2594
  #
2596
2595
  # One item in the `Metrics` array is the expression that the alarm
2597
- # watches. You designate this expression by setting `ReturnValue` to
2598
- # true for this object in the array. For more information, see
2596
+ # watches. You designate this expression by setting `ReturnData` to true
2597
+ # for this object in the array. For more information, see
2599
2598
  # [MetricDataQuery][1].
2600
2599
  #
2601
2600
  # If you use the `Metrics` parameter, you cannot include the
@@ -2616,6 +2615,15 @@ module Aws::CloudWatch
2616
2615
  # use them to scope user permissions by granting a user permission to
2617
2616
  # access or change only resources with certain tag values.
2618
2617
  #
2618
+ # If you are using this operation to update an existing alarm, any tags
2619
+ # you specify in this parameter are ignored. To change the tags of an
2620
+ # existing alarm, use [TagResource][1] or [UntagResource][2].
2621
+ #
2622
+ #
2623
+ #
2624
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
2625
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
2626
+ #
2619
2627
  # @option params [String] :threshold_metric_id
2620
2628
  # If this is an alarm based on an anomaly detection model, make this
2621
2629
  # value match the ID of the `ANOMALY_DETECTION_BAND` function.
@@ -2725,6 +2733,10 @@ module Aws::CloudWatch
2725
2733
  # pair. For more information about specifying dimensions, see
2726
2734
  # [Publishing Metrics][2] in the *Amazon CloudWatch User Guide*.
2727
2735
  #
2736
+ # You specify the time stamp to be associated with each data point. You
2737
+ # can specify time stamps that are as much as two weeks before the
2738
+ # current date, and as much as 2 hours after the current day and time.
2739
+ #
2728
2740
  # Data points with time stamps from 24 hours ago or longer can take at
2729
2741
  # least 48 hours to become available for [GetMetricData][3] or
2730
2742
  # [GetMetricStatistics][4] from the time they are submitted. Data points
@@ -2977,7 +2989,7 @@ module Aws::CloudWatch
2977
2989
  params: params,
2978
2990
  config: config)
2979
2991
  context[:gem_name] = 'aws-sdk-cloudwatch'
2980
- context[:gem_version] = '1.45.0'
2992
+ context[:gem_version] = '1.50.0'
2981
2993
  Seahorse::Client::Request.new(handlers, context)
2982
2994
  end
2983
2995
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -103,6 +103,7 @@ module Aws::CloudWatch
103
103
  GetInsightRuleReportInput = Shapes::StructureShape.new(name: 'GetInsightRuleReportInput')
104
104
  GetInsightRuleReportOutput = Shapes::StructureShape.new(name: 'GetInsightRuleReportOutput')
105
105
  GetMetricDataInput = Shapes::StructureShape.new(name: 'GetMetricDataInput')
106
+ GetMetricDataLabelTimezone = Shapes::StringShape.new(name: 'GetMetricDataLabelTimezone')
106
107
  GetMetricDataMaxDatapoints = Shapes::IntegerShape.new(name: 'GetMetricDataMaxDatapoints')
107
108
  GetMetricDataOutput = Shapes::StructureShape.new(name: 'GetMetricDataOutput')
108
109
  GetMetricStatisticsInput = Shapes::StructureShape.new(name: 'GetMetricStatisticsInput')
@@ -142,6 +143,7 @@ module Aws::CloudWatch
142
143
  InvalidNextToken = Shapes::StructureShape.new(name: 'InvalidNextToken')
143
144
  InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
144
145
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
146
+ LabelOptions = Shapes::StructureShape.new(name: 'LabelOptions')
145
147
  LastModified = Shapes::TimestampShape.new(name: 'LastModified')
146
148
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
147
149
  LimitExceededFault = Shapes::StructureShape.new(name: 'LimitExceededFault')
@@ -466,6 +468,7 @@ module Aws::CloudWatch
466
468
  GetMetricDataInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
467
469
  GetMetricDataInput.add_member(:scan_by, Shapes::ShapeRef.new(shape: ScanBy, location_name: "ScanBy"))
468
470
  GetMetricDataInput.add_member(:max_datapoints, Shapes::ShapeRef.new(shape: GetMetricDataMaxDatapoints, location_name: "MaxDatapoints"))
471
+ GetMetricDataInput.add_member(:label_options, Shapes::ShapeRef.new(shape: LabelOptions, location_name: "LabelOptions"))
469
472
  GetMetricDataInput.struct_class = Types::GetMetricDataInput
470
473
 
471
474
  GetMetricDataOutput.add_member(:metric_data_results, Shapes::ShapeRef.new(shape: MetricDataResults, location_name: "MetricDataResults"))
@@ -551,6 +554,9 @@ module Aws::CloudWatch
551
554
  InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
552
555
  InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
553
556
 
557
+ LabelOptions.add_member(:timezone, Shapes::ShapeRef.new(shape: GetMetricDataLabelTimezone, location_name: "Timezone"))
558
+ LabelOptions.struct_class = Types::LabelOptions
559
+
554
560
  LimitExceededException.struct_class = Types::LimitExceededException
555
561
 
556
562
  LimitExceededFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -399,7 +399,7 @@ module Aws::CloudWatch
399
399
  # `arn:aws:automate:region:ec2:reboot` \|
400
400
  # `arn:aws:sns:region:account-id:sns-topic-name ` \|
401
401
  # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
402
- # `
402
+ # ` \| `arn:aws:ssm:region:account-id:opsitem:severity `
403
403
  #
404
404
  # Valid Values (for use with IAM roles):
405
405
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
@@ -552,8 +552,8 @@ module Aws::CloudWatch
552
552
  # a math expression.
553
553
  #
554
554
  # One item in the `Metrics` array is the expression that the alarm
555
- # watches. You designate this expression by setting `ReturnValue` to
556
- # true for this object in the array. For more information, see
555
+ # watches. You designate this expression by setting `ReturnData` to true
556
+ # for this object in the array. For more information, see
557
557
  # [MetricDataQuery][1].
558
558
  #
559
559
  # If you use the `Metrics` parameter, you cannot include the
@@ -572,6 +572,15 @@ module Aws::CloudWatch
572
572
  # Tags can help you organize and categorize your resources. You can also
573
573
  # use them to scope user permissions by granting a user permission to
574
574
  # access or change only resources with certain tag values.
575
+ #
576
+ # If you are using this operation to update an existing alarm, any tags
577
+ # you specify in this parameter are ignored. To change the tags of an
578
+ # existing alarm, use [TagResource][1] or [UntagResource][2].
579
+ #
580
+ #
581
+ #
582
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
583
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
575
584
  # @option options [String] :threshold_metric_id
576
585
  # If this is an alarm based on an anomaly detection model, make this
577
586
  # value match the ID of the `ANOMALY_DETECTION_BAND` function.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -257,11 +257,14 @@ module Aws::CloudWatch
257
257
  # })
258
258
  # @param [Hash] options ({})
259
259
  # @option options [String] :namespace
260
- # The namespace to filter against.
260
+ # The metric namespace to filter against. Only the namespace that
261
+ # matches exactly will be returned.
261
262
  # @option options [String] :metric_name
262
- # The name of the metric to filter against.
263
+ # The name of the metric to filter against. Only the metrics with names
264
+ # that match exactly will be returned.
263
265
  # @option options [Array<Types::DimensionFilter>] :dimensions
264
- # The dimensions to filter against.
266
+ # The dimensions to filter against. Only the dimensions that match
267
+ # exactly will be returned.
265
268
  # @option options [String] :recently_active
266
269
  # To filter the results to show only metrics that have had data points
267
270
  # published in the past three hours, specify this parameter with a value
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -871,12 +871,13 @@ module Aws::CloudWatch
871
871
  # }
872
872
  #
873
873
  # @!attribute [rw] next_token
874
- # Reserved for future use.
874
+ # Include this value, if it was returned by the previous operation, to
875
+ # get the next set of rules.
875
876
  # @return [String]
876
877
  #
877
878
  # @!attribute [rw] max_results
878
- # This parameter is not currently used. Reserved for future use. If it
879
- # is used in the future, the maximum value might be different.
879
+ # The maximum number of results to return in one operation. If you
880
+ # omit this parameter, the default of 500 is used.
880
881
  # @return [Integer]
881
882
  #
882
883
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeInsightRulesInput AWS API Documentation
@@ -889,7 +890,8 @@ module Aws::CloudWatch
889
890
  end
890
891
 
891
892
  # @!attribute [rw] next_token
892
- # Reserved for future use.
893
+ # If this parameter is present, it is a token that marks the start of
894
+ # the next batch of returned results.
893
895
  # @return [String]
894
896
  #
895
897
  # @!attribute [rw] insight_rules
@@ -925,7 +927,8 @@ module Aws::CloudWatch
925
927
  # @return [String]
926
928
  #
927
929
  # @!attribute [rw] value
928
- # The value of the dimension.
930
+ # The value of the dimension. Dimension values cannot contain blank
931
+ # spaces or non-ASCII characters.
929
932
  # @return [String]
930
933
  #
931
934
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension AWS API Documentation
@@ -1294,6 +1297,9 @@ module Aws::CloudWatch
1294
1297
  # next_token: "NextToken",
1295
1298
  # scan_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
1296
1299
  # max_datapoints: 1,
1300
+ # label_options: {
1301
+ # timezone: "GetMetricDataLabelTimezone",
1302
+ # },
1297
1303
  # }
1298
1304
  #
1299
1305
  # @!attribute [rw] metric_data_queries
@@ -1354,8 +1360,8 @@ module Aws::CloudWatch
1354
1360
  # @return [Time]
1355
1361
  #
1356
1362
  # @!attribute [rw] next_token
1357
- # Include this value, if it was returned by the previous call, to get
1358
- # the next set of data points.
1363
+ # Include this value, if it was returned by the previous
1364
+ # `GetMetricData` operation, to get the next set of data points.
1359
1365
  # @return [String]
1360
1366
  #
1361
1367
  # @!attribute [rw] scan_by
@@ -1371,6 +1377,12 @@ module Aws::CloudWatch
1371
1377
  # paginating. If you omit this, the default of 100,800 is used.
1372
1378
  # @return [Integer]
1373
1379
  #
1380
+ # @!attribute [rw] label_options
1381
+ # This structure includes the `Timezone` parameter, which you can use
1382
+ # to specify your time zone so that the labels of returned data
1383
+ # display the correct time for your time zone.
1384
+ # @return [Types::LabelOptions]
1385
+ #
1374
1386
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricDataInput AWS API Documentation
1375
1387
  #
1376
1388
  class GetMetricDataInput < Struct.new(
@@ -1379,7 +1391,8 @@ module Aws::CloudWatch
1379
1391
  :end_time,
1380
1392
  :next_token,
1381
1393
  :scan_by,
1382
- :max_datapoints)
1394
+ :max_datapoints,
1395
+ :label_options)
1383
1396
  SENSITIVE = []
1384
1397
  include Aws::Structure
1385
1398
  end
@@ -1923,6 +1936,42 @@ module Aws::CloudWatch
1923
1936
  include Aws::Structure
1924
1937
  end
1925
1938
 
1939
+ # This structure includes the `Timezone` parameter, which you can use to
1940
+ # specify your time zone so that the labels that are associated with
1941
+ # returned metrics display the correct time for your time zone.
1942
+ #
1943
+ # The `Timezone` value affects a label only if you have a time-based
1944
+ # dynamic expression in the label. For more information about dynamic
1945
+ # expressions in labels, see [Using Dynamic Labels][1].
1946
+ #
1947
+ #
1948
+ #
1949
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html
1950
+ #
1951
+ # @note When making an API call, you may pass LabelOptions
1952
+ # data as a hash:
1953
+ #
1954
+ # {
1955
+ # timezone: "GetMetricDataLabelTimezone",
1956
+ # }
1957
+ #
1958
+ # @!attribute [rw] timezone
1959
+ # The time zone to use for metric data return in this operation. The
1960
+ # format is `+` or `-` followed by four digits. The first two digits
1961
+ # indicate the number of hours ahead or behind of UTC, and the final
1962
+ # two digits are the number of minutes. For example, +0130 indicates a
1963
+ # time zone that is 1 hour and 30 minutes ahead of UTC. The default is
1964
+ # +0000.
1965
+ # @return [String]
1966
+ #
1967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LabelOptions AWS API Documentation
1968
+ #
1969
+ class LabelOptions < Struct.new(
1970
+ :timezone)
1971
+ SENSITIVE = []
1972
+ include Aws::Structure
1973
+ end
1974
+
1926
1975
  # The operation exceeded one or more limits.
1927
1976
  #
1928
1977
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LimitExceededException AWS API Documentation
@@ -2006,15 +2055,18 @@ module Aws::CloudWatch
2006
2055
  # }
2007
2056
  #
2008
2057
  # @!attribute [rw] namespace
2009
- # The namespace to filter against.
2058
+ # The metric namespace to filter against. Only the namespace that
2059
+ # matches exactly will be returned.
2010
2060
  # @return [String]
2011
2061
  #
2012
2062
  # @!attribute [rw] metric_name
2013
- # The name of the metric to filter against.
2063
+ # The name of the metric to filter against. Only the metrics with
2064
+ # names that match exactly will be returned.
2014
2065
  # @return [String]
2015
2066
  #
2016
2067
  # @!attribute [rw] dimensions
2017
- # The dimensions to filter against.
2068
+ # The dimensions to filter against. Only the dimensions that match
2069
+ # exactly will be returned.
2018
2070
  # @return [Array<Types::DimensionFilter>]
2019
2071
  #
2020
2072
  # @!attribute [rw] next_token
@@ -2294,7 +2346,7 @@ module Aws::CloudWatch
2294
2346
  # metric math expression. Each structure either retrieves a metric or
2295
2347
  # performs a math expression. One item in the Metrics array is the
2296
2348
  # math expression that the alarm watches. This expression by
2297
- # designated by having `ReturnValue` set to true.
2349
+ # designated by having `ReturnData` set to true.
2298
2350
  # @return [Array<Types::MetricDataQuery>]
2299
2351
  #
2300
2352
  # @!attribute [rw] threshold_metric_id
@@ -2439,6 +2491,13 @@ module Aws::CloudWatch
2439
2491
  # the value represents. If the metric or expression is shown in a
2440
2492
  # CloudWatch dashboard widget, the label is shown. If Label is
2441
2493
  # omitted, CloudWatch generates a default.
2494
+ #
2495
+ # You can put dynamic expressions into a label, so that it is more
2496
+ # descriptive. For more information, see [Using Dynamic Labels][1].
2497
+ #
2498
+ #
2499
+ #
2500
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html
2442
2501
  # @return [String]
2443
2502
  #
2444
2503
  # @!attribute [rw] return_data
@@ -2823,8 +2882,6 @@ module Aws::CloudWatch
2823
2882
  #
2824
2883
  # The configuration can also include the time zone to use for the
2825
2884
  # metric.
2826
- #
2827
- # You can in
2828
2885
  # @return [Types::AnomalyDetectorConfiguration]
2829
2886
  #
2830
2887
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutAnomalyDetectorInput AWS API Documentation
@@ -2872,7 +2929,8 @@ module Aws::CloudWatch
2872
2929
  # state from any other state. Each action is specified as an Amazon
2873
2930
  # Resource Name (ARN).
2874
2931
  #
2875
- # Valid Values: `arn:aws:sns:region:account-id:sns-topic-name `
2932
+ # Valid Values: `arn:aws:sns:region:account-id:sns-topic-name ` \|
2933
+ # `arn:aws:ssm:region:account-id:opsitem:severity `
2876
2934
  # @return [Array<String>]
2877
2935
  #
2878
2936
  # @!attribute [rw] alarm_description
@@ -3217,7 +3275,7 @@ module Aws::CloudWatch
3217
3275
  # `arn:aws:automate:region:ec2:reboot` \|
3218
3276
  # `arn:aws:sns:region:account-id:sns-topic-name ` \|
3219
3277
  # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3220
- # `
3278
+ # ` \| `arn:aws:ssm:region:account-id:opsitem:severity `
3221
3279
  #
3222
3280
  # Valid Values (for use with IAM roles):
3223
3281
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
@@ -3414,7 +3472,7 @@ module Aws::CloudWatch
3414
3472
  # performs a math expression.
3415
3473
  #
3416
3474
  # One item in the `Metrics` array is the expression that the alarm
3417
- # watches. You designate this expression by setting `ReturnValue` to
3475
+ # watches. You designate this expression by setting `ReturnData` to
3418
3476
  # true for this object in the array. For more information, see
3419
3477
  # [MetricDataQuery][1].
3420
3478
  #
@@ -3437,6 +3495,15 @@ module Aws::CloudWatch
3437
3495
  # also use them to scope user permissions by granting a user
3438
3496
  # permission to access or change only resources with certain tag
3439
3497
  # values.
3498
+ #
3499
+ # If you are using this operation to update an existing alarm, any
3500
+ # tags you specify in this parameter are ignored. To change the tags
3501
+ # of an existing alarm, use [TagResource][1] or [UntagResource][2].
3502
+ #
3503
+ #
3504
+ #
3505
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
3506
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
3440
3507
  # @return [Array<Types::Tag>]
3441
3508
  #
3442
3509
  # @!attribute [rw] threshold_metric_id
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.45.0
4
+ version: 1.50.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.109.0
22
+ version: 3.112.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.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon CloudWatch (CloudWatch). This gem is
48
48
  part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-cloudwatch.rb
56
59
  - lib/aws-sdk-cloudwatch/alarm.rb
57
60
  - lib/aws-sdk-cloudwatch/client.rb