aws-sdk-cloudwatchlogs 1.38.0 → 1.42.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 +283 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloudwatchlogs.rb +2 -2
- data/lib/aws-sdk-cloudwatchlogs/client.rb +57 -23
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +10 -1
- data/lib/aws-sdk-cloudwatchlogs/customizations.rb +1 -1
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +1 -1
- data/lib/aws-sdk-cloudwatchlogs/resource.rb +1 -1
- data/lib/aws-sdk-cloudwatchlogs/types.rb +61 -17
- metadata +11 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b766b6615fe50ab3889dcff3bfab702a76f82c9f0ccedaa002c58a450d8706e7
|
|
4
|
+
data.tar.gz: 770063e4d7c4c99d90f259dae6a0db8a7b70fe67a8a72b5ee80d52a1f823c6fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 690a4ec2cb27187e788d856a8007cb432dc3a0e8d9913901241531ab7b71be946aa7a6b1ec0b269d2868f49ea6e82c7e1c494576e0d0ee2cae86339c520a6bf8
|
|
7
|
+
data.tar.gz: 46d21362f0e49dc572c962741c35d95e27364b677fbae87c6b542406b44f74028fdc20787cf9c1224514a6f1b6ef7fdc57620e6b19d78a08a2b2291d1d25e3b4
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
Unreleased Changes
|
|
2
|
+
------------------
|
|
3
|
+
|
|
4
|
+
1.42.0 (2021-07-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.41.0 (2021-05-24)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release provides dimensions and unit support for metric filters.
|
|
13
|
+
|
|
14
|
+
1.40.0 (2021-03-10)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.39.0 (2021-02-02)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
23
|
+
|
|
24
|
+
1.38.0 (2020-09-30)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
28
|
+
|
|
29
|
+
1.37.0 (2020-09-15)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
33
|
+
|
|
34
|
+
1.36.0 (2020-08-25)
|
|
35
|
+
------------------
|
|
36
|
+
|
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
38
|
+
|
|
39
|
+
1.35.0 (2020-08-24)
|
|
40
|
+
------------------
|
|
41
|
+
|
|
42
|
+
* Feature - Documentation updates for CloudWatch Logs
|
|
43
|
+
|
|
44
|
+
1.34.0 (2020-07-02)
|
|
45
|
+
------------------
|
|
46
|
+
|
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
48
|
+
|
|
49
|
+
1.33.0 (2020-06-23)
|
|
50
|
+
------------------
|
|
51
|
+
|
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
53
|
+
|
|
54
|
+
1.32.1 (2020-06-11)
|
|
55
|
+
------------------
|
|
56
|
+
|
|
57
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
|
58
|
+
|
|
59
|
+
1.32.0 (2020-06-10)
|
|
60
|
+
------------------
|
|
61
|
+
|
|
62
|
+
* Issue - This version has been yanked. (#2327).
|
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
64
|
+
|
|
65
|
+
1.31.0 (2020-05-28)
|
|
66
|
+
------------------
|
|
67
|
+
|
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
69
|
+
|
|
70
|
+
1.30.0 (2020-05-07)
|
|
71
|
+
------------------
|
|
72
|
+
|
|
73
|
+
* Feature - Amazon CloudWatch Logs now offers the ability to interact with Logs Insights queries via the new PutQueryDefinition, DescribeQueryDefinitions, and DeleteQueryDefinition APIs.
|
|
74
|
+
|
|
75
|
+
1.29.0 (2020-03-09)
|
|
76
|
+
------------------
|
|
77
|
+
|
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
79
|
+
|
|
80
|
+
1.28.0 (2020-01-09)
|
|
81
|
+
------------------
|
|
82
|
+
|
|
83
|
+
* Feature - Documentation updates for logs
|
|
84
|
+
|
|
85
|
+
1.27.0 (2019-11-15)
|
|
86
|
+
------------------
|
|
87
|
+
|
|
88
|
+
* Feature - Documentation updates for logs
|
|
89
|
+
|
|
90
|
+
1.26.0 (2019-10-23)
|
|
91
|
+
------------------
|
|
92
|
+
|
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
94
|
+
|
|
95
|
+
1.25.0 (2019-07-26)
|
|
96
|
+
------------------
|
|
97
|
+
|
|
98
|
+
* Feature - Allow for specifying multiple log groups in an Insights query, and deprecate storedByte field for LogStreams and interleaved field for FilterLogEventsRequest.
|
|
99
|
+
|
|
100
|
+
1.24.0 (2019-07-25)
|
|
101
|
+
------------------
|
|
102
|
+
|
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
104
|
+
|
|
105
|
+
1.23.0 (2019-07-01)
|
|
106
|
+
------------------
|
|
107
|
+
|
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
109
|
+
|
|
110
|
+
1.22.0 (2019-06-17)
|
|
111
|
+
------------------
|
|
112
|
+
|
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
114
|
+
|
|
115
|
+
1.21.0 (2019-06-06)
|
|
116
|
+
------------------
|
|
117
|
+
|
|
118
|
+
* Feature - Documentation updates for logs
|
|
119
|
+
|
|
120
|
+
1.20.0 (2019-05-21)
|
|
121
|
+
------------------
|
|
122
|
+
|
|
123
|
+
* Feature - API update.
|
|
124
|
+
|
|
125
|
+
1.19.0 (2019-05-15)
|
|
126
|
+
------------------
|
|
127
|
+
|
|
128
|
+
* Feature - API update.
|
|
129
|
+
|
|
130
|
+
1.18.0 (2019-05-14)
|
|
131
|
+
------------------
|
|
132
|
+
|
|
133
|
+
* Feature - API update.
|
|
134
|
+
|
|
135
|
+
1.17.0 (2019-03-21)
|
|
136
|
+
------------------
|
|
137
|
+
|
|
138
|
+
* Feature - API update.
|
|
139
|
+
|
|
140
|
+
1.16.0 (2019-03-18)
|
|
141
|
+
------------------
|
|
142
|
+
|
|
143
|
+
* Feature - API update.
|
|
144
|
+
|
|
145
|
+
1.15.0 (2019-03-14)
|
|
146
|
+
------------------
|
|
147
|
+
|
|
148
|
+
* Feature - API update.
|
|
149
|
+
|
|
150
|
+
1.14.0 (2019-03-13)
|
|
151
|
+
------------------
|
|
152
|
+
|
|
153
|
+
* Feature - API update.
|
|
154
|
+
|
|
155
|
+
1.13.0 (2019-01-24)
|
|
156
|
+
------------------
|
|
157
|
+
|
|
158
|
+
* Feature - API update.
|
|
159
|
+
|
|
160
|
+
1.12.0 (2018-11-28)
|
|
161
|
+
------------------
|
|
162
|
+
|
|
163
|
+
* Feature - API update.
|
|
164
|
+
|
|
165
|
+
1.11.0 (2018-11-20)
|
|
166
|
+
------------------
|
|
167
|
+
|
|
168
|
+
* Feature - API update.
|
|
169
|
+
|
|
170
|
+
1.10.0 (2018-10-24)
|
|
171
|
+
------------------
|
|
172
|
+
|
|
173
|
+
* Feature - API update.
|
|
174
|
+
|
|
175
|
+
1.9.0 (2018-10-23)
|
|
176
|
+
------------------
|
|
177
|
+
|
|
178
|
+
* Feature - API update.
|
|
179
|
+
|
|
180
|
+
1.8.0 (2018-09-07)
|
|
181
|
+
------------------
|
|
182
|
+
|
|
183
|
+
* Feature - API update.
|
|
184
|
+
|
|
185
|
+
1.7.0 (2018-09-06)
|
|
186
|
+
------------------
|
|
187
|
+
|
|
188
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
|
189
|
+
|
|
190
|
+
1.6.0 (2018-09-05)
|
|
191
|
+
------------------
|
|
192
|
+
|
|
193
|
+
* Feature - API update.
|
|
194
|
+
|
|
195
|
+
1.5.0 (2018-08-07)
|
|
196
|
+
------------------
|
|
197
|
+
|
|
198
|
+
* Feature - API update.
|
|
199
|
+
|
|
200
|
+
1.4.0 (2018-06-26)
|
|
201
|
+
------------------
|
|
202
|
+
|
|
203
|
+
* Feature - API update.
|
|
204
|
+
|
|
205
|
+
1.3.0 (2018-04-19)
|
|
206
|
+
------------------
|
|
207
|
+
|
|
208
|
+
* Feature - API update.
|
|
209
|
+
|
|
210
|
+
1.2.0 (2017-09-21)
|
|
211
|
+
------------------
|
|
212
|
+
|
|
213
|
+
* Feature - API update.
|
|
214
|
+
|
|
215
|
+
1.1.0 (2017-09-08)
|
|
216
|
+
------------------
|
|
217
|
+
|
|
218
|
+
* Feature - API update.
|
|
219
|
+
|
|
220
|
+
* Issue - Update `aws-sdk-cloudwatchlogs` gemspec metadata.
|
|
221
|
+
|
|
222
|
+
1.0.0 (2017-08-29)
|
|
223
|
+
------------------
|
|
224
|
+
|
|
225
|
+
1.0.0.rc12 (2017-08-15)
|
|
226
|
+
------------------
|
|
227
|
+
|
|
228
|
+
* Feature - API update.
|
|
229
|
+
|
|
230
|
+
1.0.0.rc11 (2017-08-01)
|
|
231
|
+
------------------
|
|
232
|
+
|
|
233
|
+
* Feature - API update.
|
|
234
|
+
|
|
235
|
+
1.0.0.rc10 (2017-07-25)
|
|
236
|
+
------------------
|
|
237
|
+
|
|
238
|
+
* Feature - API update.
|
|
239
|
+
|
|
240
|
+
1.0.0.rc9 (2017-07-13)
|
|
241
|
+
------------------
|
|
242
|
+
|
|
243
|
+
* Feature - API update.
|
|
244
|
+
|
|
245
|
+
1.0.0.rc8 (2017-07-06)
|
|
246
|
+
------------------
|
|
247
|
+
|
|
248
|
+
* Feature - API update.
|
|
249
|
+
|
|
250
|
+
1.0.0.rc7 (2017-06-29)
|
|
251
|
+
------------------
|
|
252
|
+
|
|
253
|
+
* Feature - API update.
|
|
254
|
+
|
|
255
|
+
1.0.0.rc6 (2017-05-23)
|
|
256
|
+
------------------
|
|
257
|
+
|
|
258
|
+
* Feature - API update.
|
|
259
|
+
|
|
260
|
+
1.0.0.rc5 (2017-05-09)
|
|
261
|
+
------------------
|
|
262
|
+
|
|
263
|
+
* Feature - API update.
|
|
264
|
+
|
|
265
|
+
1.0.0.rc4 (2017-05-09)
|
|
266
|
+
------------------
|
|
267
|
+
|
|
268
|
+
* Feature - API update.
|
|
269
|
+
|
|
270
|
+
1.0.0.rc3 (2017-04-21)
|
|
271
|
+
------------------
|
|
272
|
+
|
|
273
|
+
* Feature - API update.
|
|
274
|
+
|
|
275
|
+
1.0.0.rc2 (2017-01-24)
|
|
276
|
+
------------------
|
|
277
|
+
|
|
278
|
+
* Feature - API update.
|
|
279
|
+
|
|
280
|
+
1.0.0.rc1 (2016-12-05)
|
|
281
|
+
------------------
|
|
282
|
+
|
|
283
|
+
* Feature - Initial preview release of the `aws-sdk-cloudwatchlogs` 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.42.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/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudwatchlogs/customizations'
|
|
|
48
48
|
# @!group service
|
|
49
49
|
module Aws::CloudWatchLogs
|
|
50
50
|
|
|
51
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.42.0'
|
|
52
52
|
|
|
53
53
|
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/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -460,9 +460,9 @@ module Aws::CloudWatchLogs
|
|
|
460
460
|
# timestamp earlier than this time are not exported.
|
|
461
461
|
#
|
|
462
462
|
# @option params [required, Integer] :to
|
|
463
|
-
# The end time of the range for the request,
|
|
464
|
-
# milliseconds after Jan 1, 1970 00:00:00 UTC. Events with
|
|
465
|
-
# later than this time are not exported.
|
|
463
|
+
# The end time of the range for the request, expreswatchlogsdocused as
|
|
464
|
+
# the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with
|
|
465
|
+
# a timestamp later than this time are not exported.
|
|
466
466
|
#
|
|
467
467
|
# @option params [required, String] :destination
|
|
468
468
|
# The name of S3 bucket for the exported log data. The bucket must be in
|
|
@@ -1011,10 +1011,10 @@ module Aws::CloudWatchLogs
|
|
|
1011
1011
|
# If you order the results by event time, you cannot specify the
|
|
1012
1012
|
# `logStreamNamePrefix` parameter.
|
|
1013
1013
|
#
|
|
1014
|
-
# `
|
|
1014
|
+
# `lastEventTimestamp` represents the time of the most recent log event
|
|
1015
1015
|
# in the log stream in CloudWatch Logs. This number is expressed as the
|
|
1016
1016
|
# number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
1017
|
-
# `
|
|
1017
|
+
# `lastEventTimestamp` updates on an eventual consistency basis. It
|
|
1018
1018
|
# typically updates in less than an hour from ingestion, but in rare
|
|
1019
1019
|
# situations might take longer.
|
|
1020
1020
|
#
|
|
@@ -1128,6 +1128,9 @@ module Aws::CloudWatchLogs
|
|
|
1128
1128
|
# resp.metric_filters[0].metric_transformations[0].metric_namespace #=> String
|
|
1129
1129
|
# resp.metric_filters[0].metric_transformations[0].metric_value #=> String
|
|
1130
1130
|
# resp.metric_filters[0].metric_transformations[0].default_value #=> Float
|
|
1131
|
+
# resp.metric_filters[0].metric_transformations[0].dimensions #=> Hash
|
|
1132
|
+
# resp.metric_filters[0].metric_transformations[0].dimensions["DimensionsKey"] #=> String
|
|
1133
|
+
# resp.metric_filters[0].metric_transformations[0].unit #=> String, one of "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"
|
|
1131
1134
|
# resp.metric_filters[0].creation_time #=> Integer
|
|
1132
1135
|
# resp.metric_filters[0].log_group_name #=> String
|
|
1133
1136
|
# resp.next_token #=> String
|
|
@@ -1170,7 +1173,7 @@ module Aws::CloudWatchLogs
|
|
|
1170
1173
|
#
|
|
1171
1174
|
# resp = client.describe_queries({
|
|
1172
1175
|
# log_group_name: "LogGroupName",
|
|
1173
|
-
# status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
|
|
1176
|
+
# status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled, Timeout, Unknown
|
|
1174
1177
|
# max_results: 1,
|
|
1175
1178
|
# next_token: "NextToken",
|
|
1176
1179
|
# })
|
|
@@ -1180,7 +1183,7 @@ module Aws::CloudWatchLogs
|
|
|
1180
1183
|
# resp.queries #=> Array
|
|
1181
1184
|
# resp.queries[0].query_id #=> String
|
|
1182
1185
|
# resp.queries[0].query_string #=> String
|
|
1183
|
-
# resp.queries[0].status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled"
|
|
1186
|
+
# resp.queries[0].status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled", "Timeout", "Unknown"
|
|
1184
1187
|
# resp.queries[0].create_time #=> Integer
|
|
1185
1188
|
# resp.queries[0].log_group_name #=> String
|
|
1186
1189
|
# resp.next_token #=> String
|
|
@@ -1413,9 +1416,6 @@ module Aws::CloudWatchLogs
|
|
|
1413
1416
|
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this
|
|
1414
1417
|
# time are not returned.
|
|
1415
1418
|
#
|
|
1416
|
-
# If you omit `startTime` and `endTime` the most recent log events are
|
|
1417
|
-
# retrieved, to up 1 MB or 10,000 log events.
|
|
1418
|
-
#
|
|
1419
1419
|
# @option params [Integer] :end_time
|
|
1420
1420
|
# The end of the time range, expressed as the number of milliseconds
|
|
1421
1421
|
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than
|
|
@@ -1600,8 +1600,8 @@ module Aws::CloudWatchLogs
|
|
|
1600
1600
|
#
|
|
1601
1601
|
# @option params [Integer] :time
|
|
1602
1602
|
# The time to set as the center of the query. If you specify `time`, the
|
|
1603
|
-
#
|
|
1604
|
-
#
|
|
1603
|
+
# 15 minutes before this time are queries. If you omit `time` the 8
|
|
1604
|
+
# minutes before and 8 minutes after this time are searched.
|
|
1605
1605
|
#
|
|
1606
1606
|
# The `time` value is specified as epoch time, the number of seconds
|
|
1607
1607
|
# since January 1, 1970, 00:00:00 UTC.
|
|
@@ -1714,7 +1714,7 @@ module Aws::CloudWatchLogs
|
|
|
1714
1714
|
# resp.statistics.records_matched #=> Float
|
|
1715
1715
|
# resp.statistics.records_scanned #=> Float
|
|
1716
1716
|
# resp.statistics.bytes_scanned #=> Float
|
|
1717
|
-
# resp.status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled"
|
|
1717
|
+
# resp.status #=> String, one of "Scheduled", "Running", "Complete", "Failed", "Cancelled", "Timeout", "Unknown"
|
|
1718
1718
|
#
|
|
1719
1719
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResults AWS API Documentation
|
|
1720
1720
|
#
|
|
@@ -1823,6 +1823,11 @@ module Aws::CloudWatchLogs
|
|
|
1823
1823
|
# used to authorize claims to register a subscription filter against a
|
|
1824
1824
|
# given destination.
|
|
1825
1825
|
#
|
|
1826
|
+
# If multiple AWS accounts are sending logs to this destination, each
|
|
1827
|
+
# sender account must be listed separately in the policy. The policy
|
|
1828
|
+
# does not support specifying `*` as the Principal or the use of the
|
|
1829
|
+
# `aws:PrincipalOrgId` global key.
|
|
1830
|
+
#
|
|
1826
1831
|
#
|
|
1827
1832
|
#
|
|
1828
1833
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html
|
|
@@ -1957,9 +1962,27 @@ module Aws::CloudWatchLogs
|
|
|
1957
1962
|
# The maximum number of metric filters that can be associated with a log
|
|
1958
1963
|
# group is 100.
|
|
1959
1964
|
#
|
|
1965
|
+
# When you create a metric filter, you can also optionally assign a unit
|
|
1966
|
+
# and dimensions to the metric that is created.
|
|
1967
|
+
#
|
|
1968
|
+
# Metrics extracted from log events are charged as custom metrics. To
|
|
1969
|
+
# prevent unexpected high charges, do not specify high-cardinality
|
|
1970
|
+
# fields such as `IPAddress` or `requestID` as dimensions. Each
|
|
1971
|
+
# different value found for a dimension is treated as a separate metric
|
|
1972
|
+
# and accrues charges as a separate custom metric.
|
|
1973
|
+
#
|
|
1974
|
+
# To help prevent accidental high charges, Amazon disables a metric
|
|
1975
|
+
# filter if it generates 1000 different name/value pairs for the
|
|
1976
|
+
# dimensions that you have specified within a certain amount of time.
|
|
1977
|
+
#
|
|
1978
|
+
# You can also set up a billing alarm to alert you if your charges are
|
|
1979
|
+
# higher than expected. For more information, see [ Creating a Billing
|
|
1980
|
+
# Alarm to Monitor Your Estimated AWS Charges][2].
|
|
1981
|
+
#
|
|
1960
1982
|
#
|
|
1961
1983
|
#
|
|
1962
1984
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html
|
|
1985
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
|
|
1963
1986
|
#
|
|
1964
1987
|
# @option params [required, String] :log_group_name
|
|
1965
1988
|
# The name of the log group.
|
|
@@ -1988,6 +2011,10 @@ module Aws::CloudWatchLogs
|
|
|
1988
2011
|
# metric_namespace: "MetricNamespace", # required
|
|
1989
2012
|
# metric_value: "MetricValue", # required
|
|
1990
2013
|
# default_value: 1.0,
|
|
2014
|
+
# dimensions: {
|
|
2015
|
+
# "DimensionsKey" => "DimensionsValue",
|
|
2016
|
+
# },
|
|
2017
|
+
# unit: "Seconds", # accepts 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
|
|
1991
2018
|
# },
|
|
1992
2019
|
# ],
|
|
1993
2020
|
# })
|
|
@@ -2189,10 +2216,9 @@ module Aws::CloudWatchLogs
|
|
|
2189
2216
|
# * An AWS Lambda function that belongs to the same account as the
|
|
2190
2217
|
# subscription filter, for same-account delivery.
|
|
2191
2218
|
#
|
|
2192
|
-
#
|
|
2193
|
-
# If you are updating an existing filter, you must specify the
|
|
2194
|
-
# name in `filterName`.
|
|
2195
|
-
# associate a second filter with a log group.
|
|
2219
|
+
# Each log group can have up to two subscription filters associated with
|
|
2220
|
+
# it. If you are updating an existing filter, you must specify the
|
|
2221
|
+
# correct name in `filterName`.
|
|
2196
2222
|
#
|
|
2197
2223
|
# To perform a `PutSubscriptionFilter` operation, you must also have the
|
|
2198
2224
|
# `iam:PassRole` permission.
|
|
@@ -2206,10 +2232,9 @@ module Aws::CloudWatchLogs
|
|
|
2206
2232
|
#
|
|
2207
2233
|
# @option params [required, String] :filter_name
|
|
2208
2234
|
# A name for the subscription filter. If you are updating an existing
|
|
2209
|
-
# filter, you must specify the correct name in `filterName`.
|
|
2210
|
-
#
|
|
2211
|
-
#
|
|
2212
|
-
# group, use [DescribeSubscriptionFilters][1].
|
|
2235
|
+
# filter, you must specify the correct name in `filterName`. To find the
|
|
2236
|
+
# name of the filter currently associated with a log group, use
|
|
2237
|
+
# [DescribeSubscriptionFilters][1].
|
|
2213
2238
|
#
|
|
2214
2239
|
#
|
|
2215
2240
|
#
|
|
@@ -2228,12 +2253,21 @@ module Aws::CloudWatchLogs
|
|
|
2228
2253
|
# * A logical destination (specified using an ARN) belonging to a
|
|
2229
2254
|
# different account, for cross-account delivery.
|
|
2230
2255
|
#
|
|
2256
|
+
# If you are setting up a cross-account subscription, the destination
|
|
2257
|
+
# must have an IAM policy associated with it that allows the sender to
|
|
2258
|
+
# send logs to the destination. For more information, see
|
|
2259
|
+
# [PutDestinationPolicy][1].
|
|
2260
|
+
#
|
|
2231
2261
|
# * An Amazon Kinesis Firehose delivery stream belonging to the same
|
|
2232
2262
|
# account as the subscription filter, for same-account delivery.
|
|
2233
2263
|
#
|
|
2234
2264
|
# * An AWS Lambda function belonging to the same account as the
|
|
2235
2265
|
# subscription filter, for same-account delivery.
|
|
2236
2266
|
#
|
|
2267
|
+
#
|
|
2268
|
+
#
|
|
2269
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html
|
|
2270
|
+
#
|
|
2237
2271
|
# @option params [String] :role_arn
|
|
2238
2272
|
# The ARN of an IAM role that grants CloudWatch Logs permissions to
|
|
2239
2273
|
# deliver ingested log events to the destination stream. You don't need
|
|
@@ -2505,7 +2539,7 @@ module Aws::CloudWatchLogs
|
|
|
2505
2539
|
params: params,
|
|
2506
2540
|
config: config)
|
|
2507
2541
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
2508
|
-
context[:gem_version] = '1.
|
|
2542
|
+
context[:gem_version] = '1.42.0'
|
|
2509
2543
|
Seahorse::Client::Request.new(handlers, context)
|
|
2510
2544
|
end
|
|
2511
2545
|
|
|
@@ -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/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -58,6 +58,9 @@ module Aws::CloudWatchLogs
|
|
|
58
58
|
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
|
|
59
59
|
DestinationName = Shapes::StringShape.new(name: 'DestinationName')
|
|
60
60
|
Destinations = Shapes::ListShape.new(name: 'Destinations')
|
|
61
|
+
Dimensions = Shapes::MapShape.new(name: 'Dimensions')
|
|
62
|
+
DimensionsKey = Shapes::StringShape.new(name: 'DimensionsKey')
|
|
63
|
+
DimensionsValue = Shapes::StringShape.new(name: 'DimensionsValue')
|
|
61
64
|
DisassociateKmsKeyRequest = Shapes::StructureShape.new(name: 'DisassociateKmsKeyRequest')
|
|
62
65
|
Distribution = Shapes::StringShape.new(name: 'Distribution')
|
|
63
66
|
EventId = Shapes::StringShape.new(name: 'EventId')
|
|
@@ -173,6 +176,7 @@ module Aws::CloudWatchLogs
|
|
|
173
176
|
SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
|
|
174
177
|
SequenceToken = Shapes::StringShape.new(name: 'SequenceToken')
|
|
175
178
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
179
|
+
StandardUnit = Shapes::StringShape.new(name: 'StandardUnit')
|
|
176
180
|
StartFromHead = Shapes::BooleanShape.new(name: 'StartFromHead')
|
|
177
181
|
StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
|
|
178
182
|
StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
|
|
@@ -358,6 +362,9 @@ module Aws::CloudWatchLogs
|
|
|
358
362
|
|
|
359
363
|
Destinations.member = Shapes::ShapeRef.new(shape: Destination)
|
|
360
364
|
|
|
365
|
+
Dimensions.key = Shapes::ShapeRef.new(shape: DimensionsKey)
|
|
366
|
+
Dimensions.value = Shapes::ShapeRef.new(shape: DimensionsValue)
|
|
367
|
+
|
|
361
368
|
DisassociateKmsKeyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
|
362
369
|
DisassociateKmsKeyRequest.struct_class = Types::DisassociateKmsKeyRequest
|
|
363
370
|
|
|
@@ -525,6 +532,8 @@ module Aws::CloudWatchLogs
|
|
|
525
532
|
MetricTransformation.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "metricNamespace"))
|
|
526
533
|
MetricTransformation.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "metricValue"))
|
|
527
534
|
MetricTransformation.add_member(:default_value, Shapes::ShapeRef.new(shape: DefaultValue, location_name: "defaultValue"))
|
|
535
|
+
MetricTransformation.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
|
|
536
|
+
MetricTransformation.add_member(:unit, Shapes::ShapeRef.new(shape: StandardUnit, location_name: "unit"))
|
|
528
537
|
MetricTransformation.struct_class = Types::MetricTransformation
|
|
529
538
|
|
|
530
539
|
MetricTransformations.member = Shapes::ShapeRef.new(shape: MetricTransformation)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
|
3
3
|
#
|
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
6
6
|
#
|
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
|
8
8
|
|
|
@@ -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/
|
|
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/
|
|
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/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -95,9 +95,9 @@ module Aws::CloudWatchLogs
|
|
|
95
95
|
# @return [Integer]
|
|
96
96
|
#
|
|
97
97
|
# @!attribute [rw] to
|
|
98
|
-
# The end time of the range for the request,
|
|
99
|
-
# of milliseconds after Jan 1, 1970 00:00:00 UTC. Events
|
|
100
|
-
# timestamp later than this time are not exported.
|
|
98
|
+
# The end time of the range for the request, expreswatchlogsdocused as
|
|
99
|
+
# the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events
|
|
100
|
+
# with a timestamp later than this time are not exported.
|
|
101
101
|
# @return [Integer]
|
|
102
102
|
#
|
|
103
103
|
# @!attribute [rw] destination
|
|
@@ -597,10 +597,10 @@ module Aws::CloudWatchLogs
|
|
|
597
597
|
# If you order the results by event time, you cannot specify the
|
|
598
598
|
# `logStreamNamePrefix` parameter.
|
|
599
599
|
#
|
|
600
|
-
# `
|
|
600
|
+
# `lastEventTimestamp` represents the time of the most recent log
|
|
601
601
|
# event in the log stream in CloudWatch Logs. This number is expressed
|
|
602
602
|
# as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
|
603
|
-
# `
|
|
603
|
+
# `lastEventTimestamp` updates on an eventual consistency basis. It
|
|
604
604
|
# typically updates in less than an hour from ingestion, but in rare
|
|
605
605
|
# situations might take longer.
|
|
606
606
|
# @return [String]
|
|
@@ -732,7 +732,7 @@ module Aws::CloudWatchLogs
|
|
|
732
732
|
#
|
|
733
733
|
# {
|
|
734
734
|
# log_group_name: "LogGroupName",
|
|
735
|
-
# status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
|
|
735
|
+
# status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled, Timeout, Unknown
|
|
736
736
|
# max_results: 1,
|
|
737
737
|
# next_token: "NextToken",
|
|
738
738
|
# }
|
|
@@ -1144,9 +1144,6 @@ module Aws::CloudWatchLogs
|
|
|
1144
1144
|
# The start of the time range, expressed as the number of milliseconds
|
|
1145
1145
|
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this
|
|
1146
1146
|
# time are not returned.
|
|
1147
|
-
#
|
|
1148
|
-
# If you omit `startTime` and `endTime` the most recent log events are
|
|
1149
|
-
# retrieved, to up 1 MB or 10,000 log events.
|
|
1150
1147
|
# @return [Integer]
|
|
1151
1148
|
#
|
|
1152
1149
|
# @!attribute [rw] end_time
|
|
@@ -1382,8 +1379,8 @@ module Aws::CloudWatchLogs
|
|
|
1382
1379
|
#
|
|
1383
1380
|
# @!attribute [rw] time
|
|
1384
1381
|
# The time to set as the center of the query. If you specify `time`,
|
|
1385
|
-
# the
|
|
1386
|
-
#
|
|
1382
|
+
# the 15 minutes before this time are queries. If you omit `time` the
|
|
1383
|
+
# 8 minutes before and 8 minutes after this time are searched.
|
|
1387
1384
|
#
|
|
1388
1385
|
# The `time` value is specified as epoch time, the number of seconds
|
|
1389
1386
|
# since January 1, 1970, 00:00:00 UTC.
|
|
@@ -1829,6 +1826,10 @@ module Aws::CloudWatchLogs
|
|
|
1829
1826
|
# metric_namespace: "MetricNamespace", # required
|
|
1830
1827
|
# metric_value: "MetricValue", # required
|
|
1831
1828
|
# default_value: 1.0,
|
|
1829
|
+
# dimensions: {
|
|
1830
|
+
# "DimensionsKey" => "DimensionsValue",
|
|
1831
|
+
# },
|
|
1832
|
+
# unit: "Seconds", # accepts 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
|
|
1832
1833
|
# }
|
|
1833
1834
|
#
|
|
1834
1835
|
# @!attribute [rw] metric_name
|
|
@@ -1855,13 +1856,44 @@ module Aws::CloudWatchLogs
|
|
|
1855
1856
|
# log event. This value can be null.
|
|
1856
1857
|
# @return [Float]
|
|
1857
1858
|
#
|
|
1859
|
+
# @!attribute [rw] dimensions
|
|
1860
|
+
# The fields to use as dimensions for the metric. One metric filter
|
|
1861
|
+
# can include as many as three dimensions.
|
|
1862
|
+
#
|
|
1863
|
+
# Metrics extracted from log events are charged as custom metrics. To
|
|
1864
|
+
# prevent unexpected high charges, do not specify high-cardinality
|
|
1865
|
+
# fields such as `IPAddress` or `requestID` as dimensions. Each
|
|
1866
|
+
# different value found for a dimension is treated as a separate
|
|
1867
|
+
# metric and accrues charges as a separate custom metric.
|
|
1868
|
+
#
|
|
1869
|
+
# To help prevent accidental high charges, Amazon disables a metric
|
|
1870
|
+
# filter if it generates 1000 different name/value pairs for the
|
|
1871
|
+
# dimensions that you have specified within a certain amount of time.
|
|
1872
|
+
#
|
|
1873
|
+
# You can also set up a billing alarm to alert you if your charges
|
|
1874
|
+
# are
|
|
1875
|
+
# higher than expected. For more information, see [ Creating a Billing
|
|
1876
|
+
# Alarm to Monitor Your Estimated AWS Charges][1].
|
|
1877
|
+
#
|
|
1878
|
+
#
|
|
1879
|
+
#
|
|
1880
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html
|
|
1881
|
+
# @return [Hash<String,String>]
|
|
1882
|
+
#
|
|
1883
|
+
# @!attribute [rw] unit
|
|
1884
|
+
# The unit to assign to the metric. If you omit this, the unit is set
|
|
1885
|
+
# as `None`.
|
|
1886
|
+
# @return [String]
|
|
1887
|
+
#
|
|
1858
1888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricTransformation AWS API Documentation
|
|
1859
1889
|
#
|
|
1860
1890
|
class MetricTransformation < Struct.new(
|
|
1861
1891
|
:metric_name,
|
|
1862
1892
|
:metric_namespace,
|
|
1863
1893
|
:metric_value,
|
|
1864
|
-
:default_value
|
|
1894
|
+
:default_value,
|
|
1895
|
+
:dimensions,
|
|
1896
|
+
:unit)
|
|
1865
1897
|
SENSITIVE = []
|
|
1866
1898
|
include Aws::Structure
|
|
1867
1899
|
end
|
|
@@ -2053,6 +2085,10 @@ module Aws::CloudWatchLogs
|
|
|
2053
2085
|
# metric_namespace: "MetricNamespace", # required
|
|
2054
2086
|
# metric_value: "MetricValue", # required
|
|
2055
2087
|
# default_value: 1.0,
|
|
2088
|
+
# dimensions: {
|
|
2089
|
+
# "DimensionsKey" => "DimensionsValue",
|
|
2090
|
+
# },
|
|
2091
|
+
# unit: "Seconds", # accepts 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
|
|
2056
2092
|
# },
|
|
2057
2093
|
# ],
|
|
2058
2094
|
# }
|
|
@@ -2260,10 +2296,9 @@ module Aws::CloudWatchLogs
|
|
|
2260
2296
|
#
|
|
2261
2297
|
# @!attribute [rw] filter_name
|
|
2262
2298
|
# A name for the subscription filter. If you are updating an existing
|
|
2263
|
-
# filter, you must specify the correct name in `filterName`.
|
|
2264
|
-
#
|
|
2265
|
-
#
|
|
2266
|
-
# associated with a log group, use [DescribeSubscriptionFilters][1].
|
|
2299
|
+
# filter, you must specify the correct name in `filterName`. To find
|
|
2300
|
+
# the name of the filter currently associated with a log group, use
|
|
2301
|
+
# [DescribeSubscriptionFilters][1].
|
|
2267
2302
|
#
|
|
2268
2303
|
#
|
|
2269
2304
|
#
|
|
@@ -2284,11 +2319,20 @@ module Aws::CloudWatchLogs
|
|
|
2284
2319
|
# * A logical destination (specified using an ARN) belonging to a
|
|
2285
2320
|
# different account, for cross-account delivery.
|
|
2286
2321
|
#
|
|
2322
|
+
# If you are setting up a cross-account subscription, the
|
|
2323
|
+
# destination must have an IAM policy associated with it that allows
|
|
2324
|
+
# the sender to send logs to the destination. For more information,
|
|
2325
|
+
# see [PutDestinationPolicy][1].
|
|
2326
|
+
#
|
|
2287
2327
|
# * An Amazon Kinesis Firehose delivery stream belonging to the same
|
|
2288
2328
|
# account as the subscription filter, for same-account delivery.
|
|
2289
2329
|
#
|
|
2290
2330
|
# * An AWS Lambda function belonging to the same account as the
|
|
2291
2331
|
# subscription filter, for same-account delivery.
|
|
2332
|
+
#
|
|
2333
|
+
#
|
|
2334
|
+
#
|
|
2335
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html
|
|
2292
2336
|
# @return [String]
|
|
2293
2337
|
#
|
|
2294
2338
|
# @!attribute [rw] role_arn
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-cloudwatchlogs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.42.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:
|
|
11
|
+
date: 2021-07-28 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.
|
|
22
|
+
version: 3.118.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.
|
|
32
|
+
version: 3.118.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 Logs. This gem is part of
|
|
48
48
|
the AWS SDK for Ruby.
|
|
49
49
|
email:
|
|
50
|
-
-
|
|
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-cloudwatchlogs.rb
|
|
56
59
|
- lib/aws-sdk-cloudwatchlogs/client.rb
|
|
57
60
|
- lib/aws-sdk-cloudwatchlogs/client_api.rb
|
|
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
|
63
66
|
licenses:
|
|
64
67
|
- Apache-2.0
|
|
65
68
|
metadata:
|
|
66
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
67
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchlogs
|
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
|
|
68
71
|
post_install_message:
|
|
69
72
|
rdoc_options: []
|
|
70
73
|
require_paths:
|
|
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
80
83
|
- !ruby/object:Gem::Version
|
|
81
84
|
version: '0'
|
|
82
85
|
requirements: []
|
|
83
|
-
|
|
84
|
-
rubygems_version: 2.7.6.2
|
|
86
|
+
rubygems_version: 3.1.6
|
|
85
87
|
signing_key:
|
|
86
88
|
specification_version: 4
|
|
87
89
|
summary: AWS SDK for Ruby - Amazon CloudWatch Logs
|