aws-sdk-cloudwatchlogs 1.57.0 → 1.58.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +11 -7
- data/lib/aws-sdk-cloudwatchlogs/endpoint_provider.rb +62 -63
- data/lib/aws-sdk-cloudwatchlogs/types.rb +10 -485
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e37c06f00fe7d7725c38209117c0cd8338b10cbca70fa1bf28c21e8303f174f
|
|
4
|
+
data.tar.gz: 97573906f53d790dc2f464ee295b5e4992dab00df81c8215961f8eec1123d4b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30f272d526b662bd97da8a67506afa74b50e29bd6d7e16691e095ab9d3fefee5e9c16640158793876cd7dbe22d0e56f1071968e868f6f51fb3295db308ae1f8e
|
|
7
|
+
data.tar.gz: d87334bf5f592dd1dafadd1e87d1169c5357d6317363b75f562f0e631bf449eb3cae819c02e2c42af08050c3a0b88f3a5f0faaf73fbf3ec2b847ec3e8f10ef91
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.58.0
|
|
@@ -603,15 +603,19 @@ module Aws::CloudWatchLogs
|
|
|
603
603
|
# @option params [Hash<String,String>] :tags
|
|
604
604
|
# The key-value pairs to use for the tags.
|
|
605
605
|
#
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
#
|
|
609
|
-
#
|
|
610
|
-
#
|
|
606
|
+
# You can grant users access to certain log groups while preventing them
|
|
607
|
+
# from accessing other log groups. To do so, tag your groups and use IAM
|
|
608
|
+
# policies that refer to those tags. To assign tags when you create a
|
|
609
|
+
# log group, you must have either the `logs:TagResource` or
|
|
610
|
+
# `logs:TagLogGroup` permission. For more information about tagging, see
|
|
611
|
+
# [Tagging Amazon Web Services resources][1]. For more information about
|
|
612
|
+
# using tags to control access, see [Controlling access to Amazon Web
|
|
613
|
+
# Services resources using tags][2].
|
|
611
614
|
#
|
|
612
615
|
#
|
|
613
616
|
#
|
|
614
|
-
# [1]: https://docs.aws.amazon.com/
|
|
617
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
618
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html
|
|
615
619
|
#
|
|
616
620
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
617
621
|
#
|
|
@@ -3205,7 +3209,7 @@ module Aws::CloudWatchLogs
|
|
|
3205
3209
|
params: params,
|
|
3206
3210
|
config: config)
|
|
3207
3211
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
3208
|
-
context[:gem_version] = '1.
|
|
3212
|
+
context[:gem_version] = '1.58.0'
|
|
3209
3213
|
Seahorse::Client::Request.new(handlers, context)
|
|
3210
3214
|
end
|
|
3211
3215
|
|
|
@@ -50,69 +50,68 @@ IHRoaXMgcmVxdWVzdCIsInR5cGUiOiJTdHJpbmcifX0sInJ1bGVzIjpbeyJj
|
|
|
50
50
|
b25kaXRpb25zIjpbeyJmbiI6ImF3cy5wYXJ0aXRpb24iLCJhcmd2IjpbeyJy
|
|
51
51
|
ZWYiOiJSZWdpb24ifV0sImFzc2lnbiI6IlBhcnRpdGlvblJlc3VsdCJ9XSwi
|
|
52
52
|
dHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W3siZm4iOiJp
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
|
53
|
+
c1NldCIsImFyZ3YiOlt7InJlZiI6IkVuZHBvaW50In1dfV0sInR5cGUiOiJ0
|
|
54
|
+
cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVx
|
|
55
|
+
dWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUZJUFMifSx0cnVlXX1dLCJlcnJv
|
|
56
|
+
ciI6IkludmFsaWQgQ29uZmlndXJhdGlvbjogRklQUyBhbmQgY3VzdG9tIGVu
|
|
57
|
+
ZHBvaW50IGFyZSBub3Qgc3VwcG9ydGVkIiwidHlwZSI6ImVycm9yIn0seyJj
|
|
58
|
+
b25kaXRpb25zIjpbXSwidHlwZSI6InRyZWUiLCJydWx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nVlLHsiZm4iOiJnZXRBdHRyIiwi
|
|
104
|
+
YXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRzRHVh
|
|
105
|
+
bFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRp
|
|
106
|
+
b25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9sb2dzLntSZWdp
|
|
107
|
+
b259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
|
|
108
|
+
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
|
109
|
+
XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
|
|
110
|
+
YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
|
|
111
|
+
U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
|
|
112
|
+
ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbG9ncy57UmVnaW9ufS57UGFydGl0
|
|
113
|
+
aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVy
|
|
114
|
+
cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
|
116
115
|
|
|
117
116
|
JSON
|
|
118
117
|
end
|
|
@@ -10,14 +10,6 @@
|
|
|
10
10
|
module Aws::CloudWatchLogs
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
-
# @note When making an API call, you may pass AssociateKmsKeyRequest
|
|
14
|
-
# data as a hash:
|
|
15
|
-
#
|
|
16
|
-
# {
|
|
17
|
-
# log_group_name: "LogGroupName", # required
|
|
18
|
-
# kms_key_id: "KmsKeyId", # required
|
|
19
|
-
# }
|
|
20
|
-
#
|
|
21
13
|
# @!attribute [rw] log_group_name
|
|
22
14
|
# The name of the log group.
|
|
23
15
|
# @return [String]
|
|
@@ -43,13 +35,6 @@ module Aws::CloudWatchLogs
|
|
|
43
35
|
include Aws::Structure
|
|
44
36
|
end
|
|
45
37
|
|
|
46
|
-
# @note When making an API call, you may pass CancelExportTaskRequest
|
|
47
|
-
# data as a hash:
|
|
48
|
-
#
|
|
49
|
-
# {
|
|
50
|
-
# task_id: "ExportTaskId", # required
|
|
51
|
-
# }
|
|
52
|
-
#
|
|
53
38
|
# @!attribute [rw] task_id
|
|
54
39
|
# The ID of the export task.
|
|
55
40
|
# @return [String]
|
|
@@ -62,19 +47,6 @@ module Aws::CloudWatchLogs
|
|
|
62
47
|
include Aws::Structure
|
|
63
48
|
end
|
|
64
49
|
|
|
65
|
-
# @note When making an API call, you may pass CreateExportTaskRequest
|
|
66
|
-
# data as a hash:
|
|
67
|
-
#
|
|
68
|
-
# {
|
|
69
|
-
# task_name: "ExportTaskName",
|
|
70
|
-
# log_group_name: "LogGroupName", # required
|
|
71
|
-
# log_stream_name_prefix: "LogStreamName",
|
|
72
|
-
# from: 1, # required
|
|
73
|
-
# to: 1, # required
|
|
74
|
-
# destination: "ExportDestinationBucket", # required
|
|
75
|
-
# destination_prefix: "ExportDestinationPrefix",
|
|
76
|
-
# }
|
|
77
|
-
#
|
|
78
50
|
# @!attribute [rw] task_name
|
|
79
51
|
# The name of the export task.
|
|
80
52
|
# @return [String]
|
|
@@ -139,17 +111,6 @@ module Aws::CloudWatchLogs
|
|
|
139
111
|
include Aws::Structure
|
|
140
112
|
end
|
|
141
113
|
|
|
142
|
-
# @note When making an API call, you may pass CreateLogGroupRequest
|
|
143
|
-
# data as a hash:
|
|
144
|
-
#
|
|
145
|
-
# {
|
|
146
|
-
# log_group_name: "LogGroupName", # required
|
|
147
|
-
# kms_key_id: "KmsKeyId",
|
|
148
|
-
# tags: {
|
|
149
|
-
# "TagKey" => "TagValue",
|
|
150
|
-
# },
|
|
151
|
-
# }
|
|
152
|
-
#
|
|
153
114
|
# @!attribute [rw] log_group_name
|
|
154
115
|
# The name of the log group.
|
|
155
116
|
# @return [String]
|
|
@@ -166,15 +127,19 @@ module Aws::CloudWatchLogs
|
|
|
166
127
|
# @!attribute [rw] tags
|
|
167
128
|
# The key-value pairs to use for the tags.
|
|
168
129
|
#
|
|
169
|
-
#
|
|
170
|
-
#
|
|
171
|
-
#
|
|
172
|
-
#
|
|
173
|
-
#
|
|
130
|
+
# You can grant users access to certain log groups while preventing
|
|
131
|
+
# them from accessing other log groups. To do so, tag your groups and
|
|
132
|
+
# use IAM policies that refer to those tags. To assign tags when you
|
|
133
|
+
# create a log group, you must have either the `logs:TagResource` or
|
|
134
|
+
# `logs:TagLogGroup` permission. For more information about tagging,
|
|
135
|
+
# see [Tagging Amazon Web Services resources][1]. For more information
|
|
136
|
+
# about using tags to control access, see [Controlling access to
|
|
137
|
+
# Amazon Web Services resources using tags][2].
|
|
174
138
|
#
|
|
175
139
|
#
|
|
176
140
|
#
|
|
177
|
-
# [1]: https://docs.aws.amazon.com/
|
|
141
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
142
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html
|
|
178
143
|
# @return [Hash<String,String>]
|
|
179
144
|
#
|
|
180
145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest AWS API Documentation
|
|
@@ -187,14 +152,6 @@ module Aws::CloudWatchLogs
|
|
|
187
152
|
include Aws::Structure
|
|
188
153
|
end
|
|
189
154
|
|
|
190
|
-
# @note When making an API call, you may pass CreateLogStreamRequest
|
|
191
|
-
# data as a hash:
|
|
192
|
-
#
|
|
193
|
-
# {
|
|
194
|
-
# log_group_name: "LogGroupName", # required
|
|
195
|
-
# log_stream_name: "LogStreamName", # required
|
|
196
|
-
# }
|
|
197
|
-
#
|
|
198
155
|
# @!attribute [rw] log_group_name
|
|
199
156
|
# The name of the log group.
|
|
200
157
|
# @return [String]
|
|
@@ -225,13 +182,6 @@ module Aws::CloudWatchLogs
|
|
|
225
182
|
include Aws::Structure
|
|
226
183
|
end
|
|
227
184
|
|
|
228
|
-
# @note When making an API call, you may pass DeleteDataProtectionPolicyRequest
|
|
229
|
-
# data as a hash:
|
|
230
|
-
#
|
|
231
|
-
# {
|
|
232
|
-
# log_group_identifier: "LogGroupIdentifier", # required
|
|
233
|
-
# }
|
|
234
|
-
#
|
|
235
185
|
# @!attribute [rw] log_group_identifier
|
|
236
186
|
# The name or ARN of the log group that you want to delete the data
|
|
237
187
|
# protection policy for.
|
|
@@ -245,13 +195,6 @@ module Aws::CloudWatchLogs
|
|
|
245
195
|
include Aws::Structure
|
|
246
196
|
end
|
|
247
197
|
|
|
248
|
-
# @note When making an API call, you may pass DeleteDestinationRequest
|
|
249
|
-
# data as a hash:
|
|
250
|
-
#
|
|
251
|
-
# {
|
|
252
|
-
# destination_name: "DestinationName", # required
|
|
253
|
-
# }
|
|
254
|
-
#
|
|
255
198
|
# @!attribute [rw] destination_name
|
|
256
199
|
# The name of the destination.
|
|
257
200
|
# @return [String]
|
|
@@ -264,13 +207,6 @@ module Aws::CloudWatchLogs
|
|
|
264
207
|
include Aws::Structure
|
|
265
208
|
end
|
|
266
209
|
|
|
267
|
-
# @note When making an API call, you may pass DeleteLogGroupRequest
|
|
268
|
-
# data as a hash:
|
|
269
|
-
#
|
|
270
|
-
# {
|
|
271
|
-
# log_group_name: "LogGroupName", # required
|
|
272
|
-
# }
|
|
273
|
-
#
|
|
274
210
|
# @!attribute [rw] log_group_name
|
|
275
211
|
# The name of the log group.
|
|
276
212
|
# @return [String]
|
|
@@ -283,14 +219,6 @@ module Aws::CloudWatchLogs
|
|
|
283
219
|
include Aws::Structure
|
|
284
220
|
end
|
|
285
221
|
|
|
286
|
-
# @note When making an API call, you may pass DeleteLogStreamRequest
|
|
287
|
-
# data as a hash:
|
|
288
|
-
#
|
|
289
|
-
# {
|
|
290
|
-
# log_group_name: "LogGroupName", # required
|
|
291
|
-
# log_stream_name: "LogStreamName", # required
|
|
292
|
-
# }
|
|
293
|
-
#
|
|
294
222
|
# @!attribute [rw] log_group_name
|
|
295
223
|
# The name of the log group.
|
|
296
224
|
# @return [String]
|
|
@@ -308,14 +236,6 @@ module Aws::CloudWatchLogs
|
|
|
308
236
|
include Aws::Structure
|
|
309
237
|
end
|
|
310
238
|
|
|
311
|
-
# @note When making an API call, you may pass DeleteMetricFilterRequest
|
|
312
|
-
# data as a hash:
|
|
313
|
-
#
|
|
314
|
-
# {
|
|
315
|
-
# log_group_name: "LogGroupName", # required
|
|
316
|
-
# filter_name: "FilterName", # required
|
|
317
|
-
# }
|
|
318
|
-
#
|
|
319
239
|
# @!attribute [rw] log_group_name
|
|
320
240
|
# The name of the log group.
|
|
321
241
|
# @return [String]
|
|
@@ -333,13 +253,6 @@ module Aws::CloudWatchLogs
|
|
|
333
253
|
include Aws::Structure
|
|
334
254
|
end
|
|
335
255
|
|
|
336
|
-
# @note When making an API call, you may pass DeleteQueryDefinitionRequest
|
|
337
|
-
# data as a hash:
|
|
338
|
-
#
|
|
339
|
-
# {
|
|
340
|
-
# query_definition_id: "QueryId", # required
|
|
341
|
-
# }
|
|
342
|
-
#
|
|
343
256
|
# @!attribute [rw] query_definition_id
|
|
344
257
|
# The ID of the query definition that you want to delete. You can use
|
|
345
258
|
# [DescribeQueryDefinitions][1] to retrieve the IDs of your saved
|
|
@@ -371,13 +284,6 @@ module Aws::CloudWatchLogs
|
|
|
371
284
|
include Aws::Structure
|
|
372
285
|
end
|
|
373
286
|
|
|
374
|
-
# @note When making an API call, you may pass DeleteResourcePolicyRequest
|
|
375
|
-
# data as a hash:
|
|
376
|
-
#
|
|
377
|
-
# {
|
|
378
|
-
# policy_name: "PolicyName",
|
|
379
|
-
# }
|
|
380
|
-
#
|
|
381
287
|
# @!attribute [rw] policy_name
|
|
382
288
|
# The name of the policy to be revoked. This parameter is required.
|
|
383
289
|
# @return [String]
|
|
@@ -390,13 +296,6 @@ module Aws::CloudWatchLogs
|
|
|
390
296
|
include Aws::Structure
|
|
391
297
|
end
|
|
392
298
|
|
|
393
|
-
# @note When making an API call, you may pass DeleteRetentionPolicyRequest
|
|
394
|
-
# data as a hash:
|
|
395
|
-
#
|
|
396
|
-
# {
|
|
397
|
-
# log_group_name: "LogGroupName", # required
|
|
398
|
-
# }
|
|
399
|
-
#
|
|
400
299
|
# @!attribute [rw] log_group_name
|
|
401
300
|
# The name of the log group.
|
|
402
301
|
# @return [String]
|
|
@@ -409,14 +308,6 @@ module Aws::CloudWatchLogs
|
|
|
409
308
|
include Aws::Structure
|
|
410
309
|
end
|
|
411
310
|
|
|
412
|
-
# @note When making an API call, you may pass DeleteSubscriptionFilterRequest
|
|
413
|
-
# data as a hash:
|
|
414
|
-
#
|
|
415
|
-
# {
|
|
416
|
-
# log_group_name: "LogGroupName", # required
|
|
417
|
-
# filter_name: "FilterName", # required
|
|
418
|
-
# }
|
|
419
|
-
#
|
|
420
311
|
# @!attribute [rw] log_group_name
|
|
421
312
|
# The name of the log group.
|
|
422
313
|
# @return [String]
|
|
@@ -434,15 +325,6 @@ module Aws::CloudWatchLogs
|
|
|
434
325
|
include Aws::Structure
|
|
435
326
|
end
|
|
436
327
|
|
|
437
|
-
# @note When making an API call, you may pass DescribeDestinationsRequest
|
|
438
|
-
# data as a hash:
|
|
439
|
-
#
|
|
440
|
-
# {
|
|
441
|
-
# destination_name_prefix: "DestinationName",
|
|
442
|
-
# next_token: "NextToken",
|
|
443
|
-
# limit: 1,
|
|
444
|
-
# }
|
|
445
|
-
#
|
|
446
328
|
# @!attribute [rw] destination_name_prefix
|
|
447
329
|
# The prefix to match. If you don't specify a value, no prefix filter
|
|
448
330
|
# is applied.
|
|
@@ -486,16 +368,6 @@ module Aws::CloudWatchLogs
|
|
|
486
368
|
include Aws::Structure
|
|
487
369
|
end
|
|
488
370
|
|
|
489
|
-
# @note When making an API call, you may pass DescribeExportTasksRequest
|
|
490
|
-
# data as a hash:
|
|
491
|
-
#
|
|
492
|
-
# {
|
|
493
|
-
# task_id: "ExportTaskId",
|
|
494
|
-
# status_code: "CANCELLED", # accepts CANCELLED, COMPLETED, FAILED, PENDING, PENDING_CANCEL, RUNNING
|
|
495
|
-
# next_token: "NextToken",
|
|
496
|
-
# limit: 1,
|
|
497
|
-
# }
|
|
498
|
-
#
|
|
499
371
|
# @!attribute [rw] task_id
|
|
500
372
|
# The ID of the export task. Specifying a task ID filters the results
|
|
501
373
|
# to one or zero export tasks.
|
|
@@ -545,18 +417,6 @@ module Aws::CloudWatchLogs
|
|
|
545
417
|
include Aws::Structure
|
|
546
418
|
end
|
|
547
419
|
|
|
548
|
-
# @note When making an API call, you may pass DescribeLogGroupsRequest
|
|
549
|
-
# data as a hash:
|
|
550
|
-
#
|
|
551
|
-
# {
|
|
552
|
-
# account_identifiers: ["AccountId"],
|
|
553
|
-
# log_group_name_prefix: "LogGroupName",
|
|
554
|
-
# log_group_name_pattern: "LogGroupNamePattern",
|
|
555
|
-
# next_token: "NextToken",
|
|
556
|
-
# limit: 1,
|
|
557
|
-
# include_linked_accounts: false,
|
|
558
|
-
# }
|
|
559
|
-
#
|
|
560
420
|
# @!attribute [rw] account_identifiers
|
|
561
421
|
# When `includeLinkedAccounts` is set to `True`, use this parameter to
|
|
562
422
|
# specify the list of accounts to search. You can specify as many as
|
|
@@ -646,19 +506,6 @@ module Aws::CloudWatchLogs
|
|
|
646
506
|
include Aws::Structure
|
|
647
507
|
end
|
|
648
508
|
|
|
649
|
-
# @note When making an API call, you may pass DescribeLogStreamsRequest
|
|
650
|
-
# data as a hash:
|
|
651
|
-
#
|
|
652
|
-
# {
|
|
653
|
-
# log_group_name: "LogGroupName", # required
|
|
654
|
-
# log_group_identifier: "LogGroupIdentifier",
|
|
655
|
-
# log_stream_name_prefix: "LogStreamName",
|
|
656
|
-
# order_by: "LogStreamName", # accepts LogStreamName, LastEventTime
|
|
657
|
-
# descending: false,
|
|
658
|
-
# next_token: "NextToken",
|
|
659
|
-
# limit: 1,
|
|
660
|
-
# }
|
|
661
|
-
#
|
|
662
509
|
# @!attribute [rw] log_group_name
|
|
663
510
|
# The name of the log group.
|
|
664
511
|
#
|
|
@@ -749,18 +596,6 @@ module Aws::CloudWatchLogs
|
|
|
749
596
|
include Aws::Structure
|
|
750
597
|
end
|
|
751
598
|
|
|
752
|
-
# @note When making an API call, you may pass DescribeMetricFiltersRequest
|
|
753
|
-
# data as a hash:
|
|
754
|
-
#
|
|
755
|
-
# {
|
|
756
|
-
# log_group_name: "LogGroupName",
|
|
757
|
-
# filter_name_prefix: "FilterName",
|
|
758
|
-
# next_token: "NextToken",
|
|
759
|
-
# limit: 1,
|
|
760
|
-
# metric_name: "MetricName",
|
|
761
|
-
# metric_namespace: "MetricNamespace",
|
|
762
|
-
# }
|
|
763
|
-
#
|
|
764
599
|
# @!attribute [rw] log_group_name
|
|
765
600
|
# The name of the log group.
|
|
766
601
|
# @return [String]
|
|
@@ -824,16 +659,6 @@ module Aws::CloudWatchLogs
|
|
|
824
659
|
include Aws::Structure
|
|
825
660
|
end
|
|
826
661
|
|
|
827
|
-
# @note When making an API call, you may pass DescribeQueriesRequest
|
|
828
|
-
# data as a hash:
|
|
829
|
-
#
|
|
830
|
-
# {
|
|
831
|
-
# log_group_name: "LogGroupName",
|
|
832
|
-
# status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled, Timeout, Unknown
|
|
833
|
-
# max_results: 1,
|
|
834
|
-
# next_token: "NextToken",
|
|
835
|
-
# }
|
|
836
|
-
#
|
|
837
662
|
# @!attribute [rw] log_group_name
|
|
838
663
|
# Limits the returned queries to only those for the specified log
|
|
839
664
|
# group.
|
|
@@ -883,15 +708,6 @@ module Aws::CloudWatchLogs
|
|
|
883
708
|
include Aws::Structure
|
|
884
709
|
end
|
|
885
710
|
|
|
886
|
-
# @note When making an API call, you may pass DescribeQueryDefinitionsRequest
|
|
887
|
-
# data as a hash:
|
|
888
|
-
#
|
|
889
|
-
# {
|
|
890
|
-
# query_definition_name_prefix: "QueryDefinitionName",
|
|
891
|
-
# max_results: 1,
|
|
892
|
-
# next_token: "NextToken",
|
|
893
|
-
# }
|
|
894
|
-
#
|
|
895
711
|
# @!attribute [rw] query_definition_name_prefix
|
|
896
712
|
# Use this parameter to filter your results to only the query
|
|
897
713
|
# definitions that have names that start with the prefix you specify.
|
|
@@ -935,14 +751,6 @@ module Aws::CloudWatchLogs
|
|
|
935
751
|
include Aws::Structure
|
|
936
752
|
end
|
|
937
753
|
|
|
938
|
-
# @note When making an API call, you may pass DescribeResourcePoliciesRequest
|
|
939
|
-
# data as a hash:
|
|
940
|
-
#
|
|
941
|
-
# {
|
|
942
|
-
# next_token: "NextToken",
|
|
943
|
-
# limit: 1,
|
|
944
|
-
# }
|
|
945
|
-
#
|
|
946
754
|
# @!attribute [rw] next_token
|
|
947
755
|
# The token for the next set of items to return. The token expires
|
|
948
756
|
# after 24 hours.
|
|
@@ -980,16 +788,6 @@ module Aws::CloudWatchLogs
|
|
|
980
788
|
include Aws::Structure
|
|
981
789
|
end
|
|
982
790
|
|
|
983
|
-
# @note When making an API call, you may pass DescribeSubscriptionFiltersRequest
|
|
984
|
-
# data as a hash:
|
|
985
|
-
#
|
|
986
|
-
# {
|
|
987
|
-
# log_group_name: "LogGroupName", # required
|
|
988
|
-
# filter_name_prefix: "FilterName",
|
|
989
|
-
# next_token: "NextToken",
|
|
990
|
-
# limit: 1,
|
|
991
|
-
# }
|
|
992
|
-
#
|
|
993
791
|
# @!attribute [rw] log_group_name
|
|
994
792
|
# The name of the log group.
|
|
995
793
|
# @return [String]
|
|
@@ -1082,13 +880,6 @@ module Aws::CloudWatchLogs
|
|
|
1082
880
|
include Aws::Structure
|
|
1083
881
|
end
|
|
1084
882
|
|
|
1085
|
-
# @note When making an API call, you may pass DisassociateKmsKeyRequest
|
|
1086
|
-
# data as a hash:
|
|
1087
|
-
#
|
|
1088
|
-
# {
|
|
1089
|
-
# log_group_name: "LogGroupName", # required
|
|
1090
|
-
# }
|
|
1091
|
-
#
|
|
1092
883
|
# @!attribute [rw] log_group_name
|
|
1093
884
|
# The name of the log group.
|
|
1094
885
|
# @return [String]
|
|
@@ -1200,23 +991,6 @@ module Aws::CloudWatchLogs
|
|
|
1200
991
|
include Aws::Structure
|
|
1201
992
|
end
|
|
1202
993
|
|
|
1203
|
-
# @note When making an API call, you may pass FilterLogEventsRequest
|
|
1204
|
-
# data as a hash:
|
|
1205
|
-
#
|
|
1206
|
-
# {
|
|
1207
|
-
# log_group_name: "LogGroupName", # required
|
|
1208
|
-
# log_group_identifier: "LogGroupIdentifier",
|
|
1209
|
-
# log_stream_names: ["LogStreamName"],
|
|
1210
|
-
# log_stream_name_prefix: "LogStreamName",
|
|
1211
|
-
# start_time: 1,
|
|
1212
|
-
# end_time: 1,
|
|
1213
|
-
# filter_pattern: "FilterPattern",
|
|
1214
|
-
# next_token: "NextToken",
|
|
1215
|
-
# limit: 1,
|
|
1216
|
-
# interleaved: false,
|
|
1217
|
-
# unmask: false,
|
|
1218
|
-
# }
|
|
1219
|
-
#
|
|
1220
994
|
# @!attribute [rw] log_group_name
|
|
1221
995
|
# The name of the log group to search.
|
|
1222
996
|
#
|
|
@@ -1389,13 +1163,6 @@ module Aws::CloudWatchLogs
|
|
|
1389
1163
|
include Aws::Structure
|
|
1390
1164
|
end
|
|
1391
1165
|
|
|
1392
|
-
# @note When making an API call, you may pass GetDataProtectionPolicyRequest
|
|
1393
|
-
# data as a hash:
|
|
1394
|
-
#
|
|
1395
|
-
# {
|
|
1396
|
-
# log_group_identifier: "LogGroupIdentifier", # required
|
|
1397
|
-
# }
|
|
1398
|
-
#
|
|
1399
1166
|
# @!attribute [rw] log_group_identifier
|
|
1400
1167
|
# The name or ARN of the log group that contains the data protection
|
|
1401
1168
|
# policy that you want to see.
|
|
@@ -1431,21 +1198,6 @@ module Aws::CloudWatchLogs
|
|
|
1431
1198
|
include Aws::Structure
|
|
1432
1199
|
end
|
|
1433
1200
|
|
|
1434
|
-
# @note When making an API call, you may pass GetLogEventsRequest
|
|
1435
|
-
# data as a hash:
|
|
1436
|
-
#
|
|
1437
|
-
# {
|
|
1438
|
-
# log_group_name: "LogGroupName", # required
|
|
1439
|
-
# log_group_identifier: "LogGroupIdentifier",
|
|
1440
|
-
# log_stream_name: "LogStreamName", # required
|
|
1441
|
-
# start_time: 1,
|
|
1442
|
-
# end_time: 1,
|
|
1443
|
-
# next_token: "NextToken",
|
|
1444
|
-
# limit: 1,
|
|
1445
|
-
# start_from_head: false,
|
|
1446
|
-
# unmask: false,
|
|
1447
|
-
# }
|
|
1448
|
-
#
|
|
1449
1201
|
# @!attribute [rw] log_group_name
|
|
1450
1202
|
# The name of the log group.
|
|
1451
1203
|
#
|
|
@@ -1555,15 +1307,6 @@ module Aws::CloudWatchLogs
|
|
|
1555
1307
|
include Aws::Structure
|
|
1556
1308
|
end
|
|
1557
1309
|
|
|
1558
|
-
# @note When making an API call, you may pass GetLogGroupFieldsRequest
|
|
1559
|
-
# data as a hash:
|
|
1560
|
-
#
|
|
1561
|
-
# {
|
|
1562
|
-
# log_group_name: "LogGroupName", # required
|
|
1563
|
-
# time: 1,
|
|
1564
|
-
# log_group_identifier: "LogGroupIdentifier",
|
|
1565
|
-
# }
|
|
1566
|
-
#
|
|
1567
1310
|
# @!attribute [rw] log_group_name
|
|
1568
1311
|
# The name of the log group to search.
|
|
1569
1312
|
#
|
|
@@ -1615,14 +1358,6 @@ module Aws::CloudWatchLogs
|
|
|
1615
1358
|
include Aws::Structure
|
|
1616
1359
|
end
|
|
1617
1360
|
|
|
1618
|
-
# @note When making an API call, you may pass GetLogRecordRequest
|
|
1619
|
-
# data as a hash:
|
|
1620
|
-
#
|
|
1621
|
-
# {
|
|
1622
|
-
# log_record_pointer: "LogRecordPointer", # required
|
|
1623
|
-
# unmask: false,
|
|
1624
|
-
# }
|
|
1625
|
-
#
|
|
1626
1361
|
# @!attribute [rw] log_record_pointer
|
|
1627
1362
|
# The pointer corresponding to the log event record you want to
|
|
1628
1363
|
# retrieve. You get this from the response of a `GetQueryResults`
|
|
@@ -1660,13 +1395,6 @@ module Aws::CloudWatchLogs
|
|
|
1660
1395
|
include Aws::Structure
|
|
1661
1396
|
end
|
|
1662
1397
|
|
|
1663
|
-
# @note When making an API call, you may pass GetQueryResultsRequest
|
|
1664
|
-
# data as a hash:
|
|
1665
|
-
#
|
|
1666
|
-
# {
|
|
1667
|
-
# query_id: "QueryId", # required
|
|
1668
|
-
# }
|
|
1669
|
-
#
|
|
1670
1398
|
# @!attribute [rw] query_id
|
|
1671
1399
|
# The ID number of the query.
|
|
1672
1400
|
# @return [String]
|
|
@@ -1718,14 +1446,6 @@ module Aws::CloudWatchLogs
|
|
|
1718
1446
|
# Represents a log event, which is a record of activity that was
|
|
1719
1447
|
# recorded by the application or resource being monitored.
|
|
1720
1448
|
#
|
|
1721
|
-
# @note When making an API call, you may pass InputLogEvent
|
|
1722
|
-
# data as a hash:
|
|
1723
|
-
#
|
|
1724
|
-
# {
|
|
1725
|
-
# timestamp: 1, # required
|
|
1726
|
-
# message: "EventMessage", # required
|
|
1727
|
-
# }
|
|
1728
|
-
#
|
|
1729
1449
|
# @!attribute [rw] timestamp
|
|
1730
1450
|
# The time the event occurred, expressed as the number of milliseconds
|
|
1731
1451
|
# after `Jan 1, 1970 00:00:00 UTC`.
|
|
@@ -1777,13 +1497,6 @@ module Aws::CloudWatchLogs
|
|
|
1777
1497
|
#
|
|
1778
1498
|
class LimitExceededException < Aws::EmptyStructure; end
|
|
1779
1499
|
|
|
1780
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
1781
|
-
# data as a hash:
|
|
1782
|
-
#
|
|
1783
|
-
# {
|
|
1784
|
-
# resource_arn: "AmazonResourceName", # required
|
|
1785
|
-
# }
|
|
1786
|
-
#
|
|
1787
1500
|
# @!attribute [rw] resource_arn
|
|
1788
1501
|
# The ARN of the resource that you want to view tags for.
|
|
1789
1502
|
#
|
|
@@ -1821,13 +1534,6 @@ module Aws::CloudWatchLogs
|
|
|
1821
1534
|
include Aws::Structure
|
|
1822
1535
|
end
|
|
1823
1536
|
|
|
1824
|
-
# @note When making an API call, you may pass ListTagsLogGroupRequest
|
|
1825
|
-
# data as a hash:
|
|
1826
|
-
#
|
|
1827
|
-
# {
|
|
1828
|
-
# log_group_name: "LogGroupName", # required
|
|
1829
|
-
# }
|
|
1830
|
-
#
|
|
1831
1537
|
# @!attribute [rw] log_group_name
|
|
1832
1538
|
# The name of the log group.
|
|
1833
1539
|
# @return [String]
|
|
@@ -2093,20 +1799,6 @@ module Aws::CloudWatchLogs
|
|
|
2093
1799
|
# Indicates how to transform ingested log events to metric data in a
|
|
2094
1800
|
# CloudWatch metric.
|
|
2095
1801
|
#
|
|
2096
|
-
# @note When making an API call, you may pass MetricTransformation
|
|
2097
|
-
# data as a hash:
|
|
2098
|
-
#
|
|
2099
|
-
# {
|
|
2100
|
-
# metric_name: "MetricName", # required
|
|
2101
|
-
# metric_namespace: "MetricNamespace", # required
|
|
2102
|
-
# metric_value: "MetricValue", # required
|
|
2103
|
-
# default_value: 1.0,
|
|
2104
|
-
# dimensions: {
|
|
2105
|
-
# "DimensionsKey" => "DimensionsValue",
|
|
2106
|
-
# },
|
|
2107
|
-
# 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
|
|
2108
|
-
# }
|
|
2109
|
-
#
|
|
2110
1802
|
# @!attribute [rw] metric_name
|
|
2111
1803
|
# The name of the CloudWatch metric.
|
|
2112
1804
|
# @return [String]
|
|
@@ -2207,14 +1899,6 @@ module Aws::CloudWatchLogs
|
|
|
2207
1899
|
include Aws::Structure
|
|
2208
1900
|
end
|
|
2209
1901
|
|
|
2210
|
-
# @note When making an API call, you may pass PutDataProtectionPolicyRequest
|
|
2211
|
-
# data as a hash:
|
|
2212
|
-
#
|
|
2213
|
-
# {
|
|
2214
|
-
# log_group_identifier: "LogGroupIdentifier", # required
|
|
2215
|
-
# policy_document: "DataProtectionPolicyDocument", # required
|
|
2216
|
-
# }
|
|
2217
|
-
#
|
|
2218
1902
|
# @!attribute [rw] log_group_identifier
|
|
2219
1903
|
# Specify either the log group name or log group ARN.
|
|
2220
1904
|
# @return [String]
|
|
@@ -2288,15 +1972,6 @@ module Aws::CloudWatchLogs
|
|
|
2288
1972
|
include Aws::Structure
|
|
2289
1973
|
end
|
|
2290
1974
|
|
|
2291
|
-
# @note When making an API call, you may pass PutDestinationPolicyRequest
|
|
2292
|
-
# data as a hash:
|
|
2293
|
-
#
|
|
2294
|
-
# {
|
|
2295
|
-
# destination_name: "DestinationName", # required
|
|
2296
|
-
# access_policy: "AccessPolicy", # required
|
|
2297
|
-
# force_update: false,
|
|
2298
|
-
# }
|
|
2299
|
-
#
|
|
2300
1975
|
# @!attribute [rw] destination_name
|
|
2301
1976
|
# A name for an existing destination.
|
|
2302
1977
|
# @return [String]
|
|
@@ -2335,18 +2010,6 @@ module Aws::CloudWatchLogs
|
|
|
2335
2010
|
include Aws::Structure
|
|
2336
2011
|
end
|
|
2337
2012
|
|
|
2338
|
-
# @note When making an API call, you may pass PutDestinationRequest
|
|
2339
|
-
# data as a hash:
|
|
2340
|
-
#
|
|
2341
|
-
# {
|
|
2342
|
-
# destination_name: "DestinationName", # required
|
|
2343
|
-
# target_arn: "TargetArn", # required
|
|
2344
|
-
# role_arn: "RoleArn", # required
|
|
2345
|
-
# tags: {
|
|
2346
|
-
# "TagKey" => "TagValue",
|
|
2347
|
-
# },
|
|
2348
|
-
# }
|
|
2349
|
-
#
|
|
2350
2013
|
# @!attribute [rw] destination_name
|
|
2351
2014
|
# A name for the destination.
|
|
2352
2015
|
# @return [String]
|
|
@@ -2396,21 +2059,6 @@ module Aws::CloudWatchLogs
|
|
|
2396
2059
|
include Aws::Structure
|
|
2397
2060
|
end
|
|
2398
2061
|
|
|
2399
|
-
# @note When making an API call, you may pass PutLogEventsRequest
|
|
2400
|
-
# data as a hash:
|
|
2401
|
-
#
|
|
2402
|
-
# {
|
|
2403
|
-
# log_group_name: "LogGroupName", # required
|
|
2404
|
-
# log_stream_name: "LogStreamName", # required
|
|
2405
|
-
# log_events: [ # required
|
|
2406
|
-
# {
|
|
2407
|
-
# timestamp: 1, # required
|
|
2408
|
-
# message: "EventMessage", # required
|
|
2409
|
-
# },
|
|
2410
|
-
# ],
|
|
2411
|
-
# sequence_token: "SequenceToken",
|
|
2412
|
-
# }
|
|
2413
|
-
#
|
|
2414
2062
|
# @!attribute [rw] log_group_name
|
|
2415
2063
|
# The name of the log group.
|
|
2416
2064
|
# @return [String]
|
|
@@ -2465,27 +2113,6 @@ module Aws::CloudWatchLogs
|
|
|
2465
2113
|
include Aws::Structure
|
|
2466
2114
|
end
|
|
2467
2115
|
|
|
2468
|
-
# @note When making an API call, you may pass PutMetricFilterRequest
|
|
2469
|
-
# data as a hash:
|
|
2470
|
-
#
|
|
2471
|
-
# {
|
|
2472
|
-
# log_group_name: "LogGroupName", # required
|
|
2473
|
-
# filter_name: "FilterName", # required
|
|
2474
|
-
# filter_pattern: "FilterPattern", # required
|
|
2475
|
-
# metric_transformations: [ # required
|
|
2476
|
-
# {
|
|
2477
|
-
# metric_name: "MetricName", # required
|
|
2478
|
-
# metric_namespace: "MetricNamespace", # required
|
|
2479
|
-
# metric_value: "MetricValue", # required
|
|
2480
|
-
# default_value: 1.0,
|
|
2481
|
-
# dimensions: {
|
|
2482
|
-
# "DimensionsKey" => "DimensionsValue",
|
|
2483
|
-
# },
|
|
2484
|
-
# 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
|
|
2485
|
-
# },
|
|
2486
|
-
# ],
|
|
2487
|
-
# }
|
|
2488
|
-
#
|
|
2489
2116
|
# @!attribute [rw] log_group_name
|
|
2490
2117
|
# The name of the log group.
|
|
2491
2118
|
# @return [String]
|
|
@@ -2515,16 +2142,6 @@ module Aws::CloudWatchLogs
|
|
|
2515
2142
|
include Aws::Structure
|
|
2516
2143
|
end
|
|
2517
2144
|
|
|
2518
|
-
# @note When making an API call, you may pass PutQueryDefinitionRequest
|
|
2519
|
-
# data as a hash:
|
|
2520
|
-
#
|
|
2521
|
-
# {
|
|
2522
|
-
# name: "QueryDefinitionName", # required
|
|
2523
|
-
# query_definition_id: "QueryId",
|
|
2524
|
-
# log_group_names: ["LogGroupName"],
|
|
2525
|
-
# query_string: "QueryDefinitionString", # required
|
|
2526
|
-
# }
|
|
2527
|
-
#
|
|
2528
2145
|
# @!attribute [rw] name
|
|
2529
2146
|
# A name for the query definition. If you are saving numerous query
|
|
2530
2147
|
# definitions, we recommend that you name them. This way, you can find
|
|
@@ -2592,14 +2209,6 @@ module Aws::CloudWatchLogs
|
|
|
2592
2209
|
include Aws::Structure
|
|
2593
2210
|
end
|
|
2594
2211
|
|
|
2595
|
-
# @note When making an API call, you may pass PutResourcePolicyRequest
|
|
2596
|
-
# data as a hash:
|
|
2597
|
-
#
|
|
2598
|
-
# {
|
|
2599
|
-
# policy_name: "PolicyName",
|
|
2600
|
-
# policy_document: "PolicyDocument",
|
|
2601
|
-
# }
|
|
2602
|
-
#
|
|
2603
2212
|
# @!attribute [rw] policy_name
|
|
2604
2213
|
# Name of the new policy. This parameter is required.
|
|
2605
2214
|
# @return [String]
|
|
@@ -2659,14 +2268,6 @@ module Aws::CloudWatchLogs
|
|
|
2659
2268
|
include Aws::Structure
|
|
2660
2269
|
end
|
|
2661
2270
|
|
|
2662
|
-
# @note When making an API call, you may pass PutRetentionPolicyRequest
|
|
2663
|
-
# data as a hash:
|
|
2664
|
-
#
|
|
2665
|
-
# {
|
|
2666
|
-
# log_group_name: "LogGroupName", # required
|
|
2667
|
-
# retention_in_days: 1, # required
|
|
2668
|
-
# }
|
|
2669
|
-
#
|
|
2670
2271
|
# @!attribute [rw] log_group_name
|
|
2671
2272
|
# The name of the log group.
|
|
2672
2273
|
# @return [String]
|
|
@@ -2693,18 +2294,6 @@ module Aws::CloudWatchLogs
|
|
|
2693
2294
|
include Aws::Structure
|
|
2694
2295
|
end
|
|
2695
2296
|
|
|
2696
|
-
# @note When making an API call, you may pass PutSubscriptionFilterRequest
|
|
2697
|
-
# data as a hash:
|
|
2698
|
-
#
|
|
2699
|
-
# {
|
|
2700
|
-
# log_group_name: "LogGroupName", # required
|
|
2701
|
-
# filter_name: "FilterName", # required
|
|
2702
|
-
# filter_pattern: "FilterPattern", # required
|
|
2703
|
-
# destination_arn: "DestinationArn", # required
|
|
2704
|
-
# role_arn: "RoleArn",
|
|
2705
|
-
# distribution: "Random", # accepts Random, ByLogStream
|
|
2706
|
-
# }
|
|
2707
|
-
#
|
|
2708
2297
|
# @!attribute [rw] log_group_name
|
|
2709
2298
|
# The name of the log group.
|
|
2710
2299
|
# @return [String]
|
|
@@ -3033,19 +2622,6 @@ module Aws::CloudWatchLogs
|
|
|
3033
2622
|
#
|
|
3034
2623
|
class ServiceUnavailableException < Aws::EmptyStructure; end
|
|
3035
2624
|
|
|
3036
|
-
# @note When making an API call, you may pass StartQueryRequest
|
|
3037
|
-
# data as a hash:
|
|
3038
|
-
#
|
|
3039
|
-
# {
|
|
3040
|
-
# log_group_name: "LogGroupName",
|
|
3041
|
-
# log_group_names: ["LogGroupName"],
|
|
3042
|
-
# log_group_identifiers: ["LogGroupIdentifier"],
|
|
3043
|
-
# start_time: 1, # required
|
|
3044
|
-
# end_time: 1, # required
|
|
3045
|
-
# query_string: "QueryString", # required
|
|
3046
|
-
# limit: 1,
|
|
3047
|
-
# }
|
|
3048
|
-
#
|
|
3049
2625
|
# @!attribute [rw] log_group_name
|
|
3050
2626
|
# The log group on which to perform the query.
|
|
3051
2627
|
#
|
|
@@ -3137,13 +2713,6 @@ module Aws::CloudWatchLogs
|
|
|
3137
2713
|
include Aws::Structure
|
|
3138
2714
|
end
|
|
3139
2715
|
|
|
3140
|
-
# @note When making an API call, you may pass StopQueryRequest
|
|
3141
|
-
# data as a hash:
|
|
3142
|
-
#
|
|
3143
|
-
# {
|
|
3144
|
-
# query_id: "QueryId", # required
|
|
3145
|
-
# }
|
|
3146
|
-
#
|
|
3147
2716
|
# @!attribute [rw] query_id
|
|
3148
2717
|
# The ID number of the query to stop. To find this ID number, use
|
|
3149
2718
|
# `DescribeQueries`.
|
|
@@ -3217,16 +2786,6 @@ module Aws::CloudWatchLogs
|
|
|
3217
2786
|
include Aws::Structure
|
|
3218
2787
|
end
|
|
3219
2788
|
|
|
3220
|
-
# @note When making an API call, you may pass TagLogGroupRequest
|
|
3221
|
-
# data as a hash:
|
|
3222
|
-
#
|
|
3223
|
-
# {
|
|
3224
|
-
# log_group_name: "LogGroupName", # required
|
|
3225
|
-
# tags: { # required
|
|
3226
|
-
# "TagKey" => "TagValue",
|
|
3227
|
-
# },
|
|
3228
|
-
# }
|
|
3229
|
-
#
|
|
3230
2789
|
# @!attribute [rw] log_group_name
|
|
3231
2790
|
# The name of the log group.
|
|
3232
2791
|
# @return [String]
|
|
@@ -3244,16 +2803,6 @@ module Aws::CloudWatchLogs
|
|
|
3244
2803
|
include Aws::Structure
|
|
3245
2804
|
end
|
|
3246
2805
|
|
|
3247
|
-
# @note When making an API call, you may pass TagResourceRequest
|
|
3248
|
-
# data as a hash:
|
|
3249
|
-
#
|
|
3250
|
-
# {
|
|
3251
|
-
# resource_arn: "AmazonResourceName", # required
|
|
3252
|
-
# tags: { # required
|
|
3253
|
-
# "TagKey" => "TagValue",
|
|
3254
|
-
# },
|
|
3255
|
-
# }
|
|
3256
|
-
#
|
|
3257
2806
|
# @!attribute [rw] resource_arn
|
|
3258
2807
|
# The ARN of the resource that you're adding tags to.
|
|
3259
2808
|
#
|
|
@@ -3284,14 +2833,6 @@ module Aws::CloudWatchLogs
|
|
|
3284
2833
|
include Aws::Structure
|
|
3285
2834
|
end
|
|
3286
2835
|
|
|
3287
|
-
# @note When making an API call, you may pass TestMetricFilterRequest
|
|
3288
|
-
# data as a hash:
|
|
3289
|
-
#
|
|
3290
|
-
# {
|
|
3291
|
-
# filter_pattern: "FilterPattern", # required
|
|
3292
|
-
# log_event_messages: ["EventMessage"], # required
|
|
3293
|
-
# }
|
|
3294
|
-
#
|
|
3295
2836
|
# @!attribute [rw] filter_pattern
|
|
3296
2837
|
# A symbolic description of how CloudWatch Logs should interpret the
|
|
3297
2838
|
# data in each log event. For example, a log event can contain
|
|
@@ -3349,14 +2890,6 @@ module Aws::CloudWatchLogs
|
|
|
3349
2890
|
#
|
|
3350
2891
|
class UnrecognizedClientException < Aws::EmptyStructure; end
|
|
3351
2892
|
|
|
3352
|
-
# @note When making an API call, you may pass UntagLogGroupRequest
|
|
3353
|
-
# data as a hash:
|
|
3354
|
-
#
|
|
3355
|
-
# {
|
|
3356
|
-
# log_group_name: "LogGroupName", # required
|
|
3357
|
-
# tags: ["TagKey"], # required
|
|
3358
|
-
# }
|
|
3359
|
-
#
|
|
3360
2893
|
# @!attribute [rw] log_group_name
|
|
3361
2894
|
# The name of the log group.
|
|
3362
2895
|
# @return [String]
|
|
@@ -3374,14 +2907,6 @@ module Aws::CloudWatchLogs
|
|
|
3374
2907
|
include Aws::Structure
|
|
3375
2908
|
end
|
|
3376
2909
|
|
|
3377
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
|
3378
|
-
# data as a hash:
|
|
3379
|
-
#
|
|
3380
|
-
# {
|
|
3381
|
-
# resource_arn: "AmazonResourceName", # required
|
|
3382
|
-
# tag_keys: ["TagKey"], # required
|
|
3383
|
-
# }
|
|
3384
|
-
#
|
|
3385
2910
|
# @!attribute [rw] resource_arn
|
|
3386
2911
|
# The ARN of the CloudWatch Logs resource that you're removing tags
|
|
3387
2912
|
# from.
|
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.58.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: 2022-
|
|
11
|
+
date: 2022-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|