aws-sdk-cloudwatchlogs 1.32.1 → 1.38.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/lib/aws-sdk-cloudwatchlogs.rb +5 -2
- data/lib/aws-sdk-cloudwatchlogs/client.rb +202 -77
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +2 -0
- data/lib/aws-sdk-cloudwatchlogs/customizations.rb +1 -0
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +2 -0
- data/lib/aws-sdk-cloudwatchlogs/resource.rb +2 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +211 -36
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -37,6 +39,7 @@ module Aws::CloudWatchLogs
|
|
37
39
|
class AssociateKmsKeyRequest < Struct.new(
|
38
40
|
:log_group_name,
|
39
41
|
:kms_key_id)
|
42
|
+
SENSITIVE = []
|
40
43
|
include Aws::Structure
|
41
44
|
end
|
42
45
|
|
@@ -55,6 +58,7 @@ module Aws::CloudWatchLogs
|
|
55
58
|
#
|
56
59
|
class CancelExportTaskRequest < Struct.new(
|
57
60
|
:task_id)
|
61
|
+
SENSITIVE = []
|
58
62
|
include Aws::Structure
|
59
63
|
end
|
60
64
|
|
@@ -116,6 +120,7 @@ module Aws::CloudWatchLogs
|
|
116
120
|
:to,
|
117
121
|
:destination,
|
118
122
|
:destination_prefix)
|
123
|
+
SENSITIVE = []
|
119
124
|
include Aws::Structure
|
120
125
|
end
|
121
126
|
|
@@ -127,6 +132,7 @@ module Aws::CloudWatchLogs
|
|
127
132
|
#
|
128
133
|
class CreateExportTaskResponse < Struct.new(
|
129
134
|
:task_id)
|
135
|
+
SENSITIVE = []
|
130
136
|
include Aws::Structure
|
131
137
|
end
|
132
138
|
|
@@ -165,6 +171,7 @@ module Aws::CloudWatchLogs
|
|
165
171
|
:log_group_name,
|
166
172
|
:kms_key_id,
|
167
173
|
:tags)
|
174
|
+
SENSITIVE = []
|
168
175
|
include Aws::Structure
|
169
176
|
end
|
170
177
|
|
@@ -189,6 +196,7 @@ module Aws::CloudWatchLogs
|
|
189
196
|
class CreateLogStreamRequest < Struct.new(
|
190
197
|
:log_group_name,
|
191
198
|
:log_stream_name)
|
199
|
+
SENSITIVE = []
|
192
200
|
include Aws::Structure
|
193
201
|
end
|
194
202
|
|
@@ -201,6 +209,7 @@ module Aws::CloudWatchLogs
|
|
201
209
|
#
|
202
210
|
class DataAlreadyAcceptedException < Struct.new(
|
203
211
|
:expected_sequence_token)
|
212
|
+
SENSITIVE = []
|
204
213
|
include Aws::Structure
|
205
214
|
end
|
206
215
|
|
@@ -219,6 +228,7 @@ module Aws::CloudWatchLogs
|
|
219
228
|
#
|
220
229
|
class DeleteDestinationRequest < Struct.new(
|
221
230
|
:destination_name)
|
231
|
+
SENSITIVE = []
|
222
232
|
include Aws::Structure
|
223
233
|
end
|
224
234
|
|
@@ -237,6 +247,7 @@ module Aws::CloudWatchLogs
|
|
237
247
|
#
|
238
248
|
class DeleteLogGroupRequest < Struct.new(
|
239
249
|
:log_group_name)
|
250
|
+
SENSITIVE = []
|
240
251
|
include Aws::Structure
|
241
252
|
end
|
242
253
|
|
@@ -261,6 +272,7 @@ module Aws::CloudWatchLogs
|
|
261
272
|
class DeleteLogStreamRequest < Struct.new(
|
262
273
|
:log_group_name,
|
263
274
|
:log_stream_name)
|
275
|
+
SENSITIVE = []
|
264
276
|
include Aws::Structure
|
265
277
|
end
|
266
278
|
|
@@ -285,6 +297,7 @@ module Aws::CloudWatchLogs
|
|
285
297
|
class DeleteMetricFilterRequest < Struct.new(
|
286
298
|
:log_group_name,
|
287
299
|
:filter_name)
|
300
|
+
SENSITIVE = []
|
288
301
|
include Aws::Structure
|
289
302
|
end
|
290
303
|
|
@@ -296,22 +309,33 @@ module Aws::CloudWatchLogs
|
|
296
309
|
# }
|
297
310
|
#
|
298
311
|
# @!attribute [rw] query_definition_id
|
312
|
+
# The ID of the query definition that you want to delete. You can use
|
313
|
+
# [DescribeQueryDefinitions][1] to retrieve the IDs of your saved
|
314
|
+
# query definitions.
|
315
|
+
#
|
316
|
+
#
|
317
|
+
#
|
318
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html
|
299
319
|
# @return [String]
|
300
320
|
#
|
301
321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinitionRequest AWS API Documentation
|
302
322
|
#
|
303
323
|
class DeleteQueryDefinitionRequest < Struct.new(
|
304
324
|
:query_definition_id)
|
325
|
+
SENSITIVE = []
|
305
326
|
include Aws::Structure
|
306
327
|
end
|
307
328
|
|
308
329
|
# @!attribute [rw] success
|
330
|
+
# A value of TRUE indicates that the operation succeeded. FALSE
|
331
|
+
# indicates that the operation failed.
|
309
332
|
# @return [Boolean]
|
310
333
|
#
|
311
334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinitionResponse AWS API Documentation
|
312
335
|
#
|
313
336
|
class DeleteQueryDefinitionResponse < Struct.new(
|
314
337
|
:success)
|
338
|
+
SENSITIVE = []
|
315
339
|
include Aws::Structure
|
316
340
|
end
|
317
341
|
|
@@ -330,6 +354,7 @@ module Aws::CloudWatchLogs
|
|
330
354
|
#
|
331
355
|
class DeleteResourcePolicyRequest < Struct.new(
|
332
356
|
:policy_name)
|
357
|
+
SENSITIVE = []
|
333
358
|
include Aws::Structure
|
334
359
|
end
|
335
360
|
|
@@ -348,6 +373,7 @@ module Aws::CloudWatchLogs
|
|
348
373
|
#
|
349
374
|
class DeleteRetentionPolicyRequest < Struct.new(
|
350
375
|
:log_group_name)
|
376
|
+
SENSITIVE = []
|
351
377
|
include Aws::Structure
|
352
378
|
end
|
353
379
|
|
@@ -372,6 +398,7 @@ module Aws::CloudWatchLogs
|
|
372
398
|
class DeleteSubscriptionFilterRequest < Struct.new(
|
373
399
|
:log_group_name,
|
374
400
|
:filter_name)
|
401
|
+
SENSITIVE = []
|
375
402
|
include Aws::Structure
|
376
403
|
end
|
377
404
|
|
@@ -405,6 +432,7 @@ module Aws::CloudWatchLogs
|
|
405
432
|
:destination_name_prefix,
|
406
433
|
:next_token,
|
407
434
|
:limit)
|
435
|
+
SENSITIVE = []
|
408
436
|
include Aws::Structure
|
409
437
|
end
|
410
438
|
|
@@ -422,6 +450,7 @@ module Aws::CloudWatchLogs
|
|
422
450
|
class DescribeDestinationsResponse < Struct.new(
|
423
451
|
:destinations,
|
424
452
|
:next_token)
|
453
|
+
SENSITIVE = []
|
425
454
|
include Aws::Structure
|
426
455
|
end
|
427
456
|
|
@@ -462,6 +491,7 @@ module Aws::CloudWatchLogs
|
|
462
491
|
:status_code,
|
463
492
|
:next_token,
|
464
493
|
:limit)
|
494
|
+
SENSITIVE = []
|
465
495
|
include Aws::Structure
|
466
496
|
end
|
467
497
|
|
@@ -479,6 +509,7 @@ module Aws::CloudWatchLogs
|
|
479
509
|
class DescribeExportTasksResponse < Struct.new(
|
480
510
|
:export_tasks,
|
481
511
|
:next_token)
|
512
|
+
SENSITIVE = []
|
482
513
|
include Aws::Structure
|
483
514
|
end
|
484
515
|
|
@@ -511,11 +542,15 @@ module Aws::CloudWatchLogs
|
|
511
542
|
:log_group_name_prefix,
|
512
543
|
:next_token,
|
513
544
|
:limit)
|
545
|
+
SENSITIVE = []
|
514
546
|
include Aws::Structure
|
515
547
|
end
|
516
548
|
|
517
549
|
# @!attribute [rw] log_groups
|
518
550
|
# The log groups.
|
551
|
+
#
|
552
|
+
# If the `retentionInDays` value if not included for a log group, then
|
553
|
+
# that log group is set to have its events never expire.
|
519
554
|
# @return [Array<Types::LogGroup>]
|
520
555
|
#
|
521
556
|
# @!attribute [rw] next_token
|
@@ -528,6 +563,7 @@ module Aws::CloudWatchLogs
|
|
528
563
|
class DescribeLogGroupsResponse < Struct.new(
|
529
564
|
:log_groups,
|
530
565
|
:next_token)
|
566
|
+
SENSITIVE = []
|
531
567
|
include Aws::Structure
|
532
568
|
end
|
533
569
|
|
@@ -550,7 +586,7 @@ module Aws::CloudWatchLogs
|
|
550
586
|
# @!attribute [rw] log_stream_name_prefix
|
551
587
|
# The prefix to match.
|
552
588
|
#
|
553
|
-
# If `orderBy` is `LastEventTime`,you cannot specify this parameter.
|
589
|
+
# If `orderBy` is `LastEventTime`, you cannot specify this parameter.
|
554
590
|
# @return [String]
|
555
591
|
#
|
556
592
|
# @!attribute [rw] order_by
|
@@ -561,12 +597,12 @@ module Aws::CloudWatchLogs
|
|
561
597
|
# If you order the results by event time, you cannot specify the
|
562
598
|
# `logStreamNamePrefix` parameter.
|
563
599
|
#
|
564
|
-
#
|
565
|
-
# in the log stream in CloudWatch Logs. This number is expressed
|
566
|
-
# the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
567
|
-
# lastEventTimeStamp updates on an eventual consistency basis. It
|
568
|
-
# typically updates in less than an hour from ingestion, but
|
569
|
-
#
|
600
|
+
# `lastEventTimeStamp` represents the time of the most recent log
|
601
|
+
# event in the log stream in CloudWatch Logs. This number is expressed
|
602
|
+
# as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
603
|
+
# `lastEventTimeStamp` updates on an eventual consistency basis. It
|
604
|
+
# typically updates in less than an hour from ingestion, but in rare
|
605
|
+
# situations might take longer.
|
570
606
|
# @return [String]
|
571
607
|
#
|
572
608
|
# @!attribute [rw] descending
|
@@ -594,6 +630,7 @@ module Aws::CloudWatchLogs
|
|
594
630
|
:descending,
|
595
631
|
:next_token,
|
596
632
|
:limit)
|
633
|
+
SENSITIVE = []
|
597
634
|
include Aws::Structure
|
598
635
|
end
|
599
636
|
|
@@ -611,6 +648,7 @@ module Aws::CloudWatchLogs
|
|
611
648
|
class DescribeLogStreamsResponse < Struct.new(
|
612
649
|
:log_streams,
|
613
650
|
:next_token)
|
651
|
+
SENSITIVE = []
|
614
652
|
include Aws::Structure
|
615
653
|
end
|
616
654
|
|
@@ -631,7 +669,9 @@ module Aws::CloudWatchLogs
|
|
631
669
|
# @return [String]
|
632
670
|
#
|
633
671
|
# @!attribute [rw] filter_name_prefix
|
634
|
-
# The prefix to match.
|
672
|
+
# The prefix to match. CloudWatch Logs uses the value you set here
|
673
|
+
# only if you also include the `logGroupName` parameter in your
|
674
|
+
# request.
|
635
675
|
# @return [String]
|
636
676
|
#
|
637
677
|
# @!attribute [rw] next_token
|
@@ -665,6 +705,7 @@ module Aws::CloudWatchLogs
|
|
665
705
|
:limit,
|
666
706
|
:metric_name,
|
667
707
|
:metric_namespace)
|
708
|
+
SENSITIVE = []
|
668
709
|
include Aws::Structure
|
669
710
|
end
|
670
711
|
|
@@ -682,6 +723,7 @@ module Aws::CloudWatchLogs
|
|
682
723
|
class DescribeMetricFiltersResponse < Struct.new(
|
683
724
|
:metric_filters,
|
684
725
|
:next_token)
|
726
|
+
SENSITIVE = []
|
685
727
|
include Aws::Structure
|
686
728
|
end
|
687
729
|
|
@@ -722,6 +764,7 @@ module Aws::CloudWatchLogs
|
|
722
764
|
:status,
|
723
765
|
:max_results,
|
724
766
|
:next_token)
|
767
|
+
SENSITIVE = []
|
725
768
|
include Aws::Structure
|
726
769
|
end
|
727
770
|
|
@@ -739,6 +782,7 @@ module Aws::CloudWatchLogs
|
|
739
782
|
class DescribeQueriesResponse < Struct.new(
|
740
783
|
:queries,
|
741
784
|
:next_token)
|
785
|
+
SENSITIVE = []
|
742
786
|
include Aws::Structure
|
743
787
|
end
|
744
788
|
|
@@ -752,9 +796,13 @@ module Aws::CloudWatchLogs
|
|
752
796
|
# }
|
753
797
|
#
|
754
798
|
# @!attribute [rw] query_definition_name_prefix
|
799
|
+
# Use this parameter to filter your results to only the query
|
800
|
+
# definitions that have names that start with the prefix you specify.
|
755
801
|
# @return [String]
|
756
802
|
#
|
757
803
|
# @!attribute [rw] max_results
|
804
|
+
# Limits the number of returned query definitions to the specified
|
805
|
+
# number.
|
758
806
|
# @return [Integer]
|
759
807
|
#
|
760
808
|
# @!attribute [rw] next_token
|
@@ -768,10 +816,12 @@ module Aws::CloudWatchLogs
|
|
768
816
|
:query_definition_name_prefix,
|
769
817
|
:max_results,
|
770
818
|
:next_token)
|
819
|
+
SENSITIVE = []
|
771
820
|
include Aws::Structure
|
772
821
|
end
|
773
822
|
|
774
823
|
# @!attribute [rw] query_definitions
|
824
|
+
# The list of query definitions that match your request.
|
775
825
|
# @return [Array<Types::QueryDefinition>]
|
776
826
|
#
|
777
827
|
# @!attribute [rw] next_token
|
@@ -784,6 +834,7 @@ module Aws::CloudWatchLogs
|
|
784
834
|
class DescribeQueryDefinitionsResponse < Struct.new(
|
785
835
|
:query_definitions,
|
786
836
|
:next_token)
|
837
|
+
SENSITIVE = []
|
787
838
|
include Aws::Structure
|
788
839
|
end
|
789
840
|
|
@@ -810,6 +861,7 @@ module Aws::CloudWatchLogs
|
|
810
861
|
class DescribeResourcePoliciesRequest < Struct.new(
|
811
862
|
:next_token,
|
812
863
|
:limit)
|
864
|
+
SENSITIVE = []
|
813
865
|
include Aws::Structure
|
814
866
|
end
|
815
867
|
|
@@ -827,6 +879,7 @@ module Aws::CloudWatchLogs
|
|
827
879
|
class DescribeResourcePoliciesResponse < Struct.new(
|
828
880
|
:resource_policies,
|
829
881
|
:next_token)
|
882
|
+
SENSITIVE = []
|
830
883
|
include Aws::Structure
|
831
884
|
end
|
832
885
|
|
@@ -866,6 +919,7 @@ module Aws::CloudWatchLogs
|
|
866
919
|
:filter_name_prefix,
|
867
920
|
:next_token,
|
868
921
|
:limit)
|
922
|
+
SENSITIVE = []
|
869
923
|
include Aws::Structure
|
870
924
|
end
|
871
925
|
|
@@ -883,6 +937,7 @@ module Aws::CloudWatchLogs
|
|
883
937
|
class DescribeSubscriptionFiltersResponse < Struct.new(
|
884
938
|
:subscription_filters,
|
885
939
|
:next_token)
|
940
|
+
SENSITIVE = []
|
886
941
|
include Aws::Structure
|
887
942
|
end
|
888
943
|
|
@@ -894,8 +949,8 @@ module Aws::CloudWatchLogs
|
|
894
949
|
# @return [String]
|
895
950
|
#
|
896
951
|
# @!attribute [rw] target_arn
|
897
|
-
# The Amazon Resource Name (ARN) of the physical target
|
898
|
-
#
|
952
|
+
# The Amazon Resource Name (ARN) of the physical target where the log
|
953
|
+
# events are delivered (for example, a Kinesis stream).
|
899
954
|
# @return [String]
|
900
955
|
#
|
901
956
|
# @!attribute [rw] role_arn
|
@@ -926,6 +981,7 @@ module Aws::CloudWatchLogs
|
|
926
981
|
:access_policy,
|
927
982
|
:arn,
|
928
983
|
:creation_time)
|
984
|
+
SENSITIVE = []
|
929
985
|
include Aws::Structure
|
930
986
|
end
|
931
987
|
|
@@ -944,6 +1000,7 @@ module Aws::CloudWatchLogs
|
|
944
1000
|
#
|
945
1001
|
class DisassociateKmsKeyRequest < Struct.new(
|
946
1002
|
:log_group_name)
|
1003
|
+
SENSITIVE = []
|
947
1004
|
include Aws::Structure
|
948
1005
|
end
|
949
1006
|
|
@@ -974,7 +1031,7 @@ module Aws::CloudWatchLogs
|
|
974
1031
|
# @return [Integer]
|
975
1032
|
#
|
976
1033
|
# @!attribute [rw] destination
|
977
|
-
# The name of
|
1034
|
+
# The name of the S3 bucket to which the log data was exported.
|
978
1035
|
# @return [String]
|
979
1036
|
#
|
980
1037
|
# @!attribute [rw] destination_prefix
|
@@ -987,7 +1044,7 @@ module Aws::CloudWatchLogs
|
|
987
1044
|
# @return [Types::ExportTaskStatus]
|
988
1045
|
#
|
989
1046
|
# @!attribute [rw] execution_info
|
990
|
-
# Execution
|
1047
|
+
# Execution information about the export task.
|
991
1048
|
# @return [Types::ExportTaskExecutionInfo]
|
992
1049
|
#
|
993
1050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTask AWS API Documentation
|
@@ -1002,6 +1059,7 @@ module Aws::CloudWatchLogs
|
|
1002
1059
|
:destination_prefix,
|
1003
1060
|
:status,
|
1004
1061
|
:execution_info)
|
1062
|
+
SENSITIVE = []
|
1005
1063
|
include Aws::Structure
|
1006
1064
|
end
|
1007
1065
|
|
@@ -1022,6 +1080,7 @@ module Aws::CloudWatchLogs
|
|
1022
1080
|
class ExportTaskExecutionInfo < Struct.new(
|
1023
1081
|
:creation_time,
|
1024
1082
|
:completion_time)
|
1083
|
+
SENSITIVE = []
|
1025
1084
|
include Aws::Structure
|
1026
1085
|
end
|
1027
1086
|
|
@@ -1040,6 +1099,7 @@ module Aws::CloudWatchLogs
|
|
1040
1099
|
class ExportTaskStatus < Struct.new(
|
1041
1100
|
:code,
|
1042
1101
|
:message)
|
1102
|
+
SENSITIVE = []
|
1043
1103
|
include Aws::Structure
|
1044
1104
|
end
|
1045
1105
|
|
@@ -1084,6 +1144,9 @@ module Aws::CloudWatchLogs
|
|
1084
1144
|
# The start of the time range, expressed as the number of milliseconds
|
1085
1145
|
# after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this
|
1086
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.
|
1087
1150
|
# @return [Integer]
|
1088
1151
|
#
|
1089
1152
|
# @!attribute [rw] end_time
|
@@ -1121,10 +1184,10 @@ module Aws::CloudWatchLogs
|
|
1121
1184
|
# first, then those in the next log stream, and so on. The default is
|
1122
1185
|
# false.
|
1123
1186
|
#
|
1124
|
-
# **
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1187
|
+
# **Important:** Starting on June 17, 2019, this parameter is ignored
|
1188
|
+
# and the value is assumed to be true. The response from this
|
1189
|
+
# operation always interleaves events from multiple log streams within
|
1190
|
+
# a log group.
|
1128
1191
|
# @return [Boolean]
|
1129
1192
|
#
|
1130
1193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsRequest AWS API Documentation
|
@@ -1139,6 +1202,7 @@ module Aws::CloudWatchLogs
|
|
1139
1202
|
:next_token,
|
1140
1203
|
:limit,
|
1141
1204
|
:interleaved)
|
1205
|
+
SENSITIVE = []
|
1142
1206
|
include Aws::Structure
|
1143
1207
|
end
|
1144
1208
|
|
@@ -1147,6 +1211,10 @@ module Aws::CloudWatchLogs
|
|
1147
1211
|
# @return [Array<Types::FilteredLogEvent>]
|
1148
1212
|
#
|
1149
1213
|
# @!attribute [rw] searched_log_streams
|
1214
|
+
# **IMPORTANT** Starting on May 15, 2020, this parameter will be
|
1215
|
+
# deprecated. This parameter will be an empty list after the
|
1216
|
+
# deprecation occurs.
|
1217
|
+
#
|
1150
1218
|
# Indicates which log streams have been searched and whether each has
|
1151
1219
|
# been searched completely.
|
1152
1220
|
# @return [Array<Types::SearchedLogStream>]
|
@@ -1162,6 +1230,7 @@ module Aws::CloudWatchLogs
|
|
1162
1230
|
:events,
|
1163
1231
|
:searched_log_streams,
|
1164
1232
|
:next_token)
|
1233
|
+
SENSITIVE = []
|
1165
1234
|
include Aws::Structure
|
1166
1235
|
end
|
1167
1236
|
|
@@ -1197,6 +1266,7 @@ module Aws::CloudWatchLogs
|
|
1197
1266
|
:message,
|
1198
1267
|
:ingestion_time,
|
1199
1268
|
:event_id)
|
1269
|
+
SENSITIVE = []
|
1200
1270
|
include Aws::Structure
|
1201
1271
|
end
|
1202
1272
|
|
@@ -1267,6 +1337,7 @@ module Aws::CloudWatchLogs
|
|
1267
1337
|
:next_token,
|
1268
1338
|
:limit,
|
1269
1339
|
:start_from_head)
|
1340
|
+
SENSITIVE = []
|
1270
1341
|
include Aws::Structure
|
1271
1342
|
end
|
1272
1343
|
|
@@ -1277,14 +1348,14 @@ module Aws::CloudWatchLogs
|
|
1277
1348
|
# @!attribute [rw] next_forward_token
|
1278
1349
|
# The token for the next set of items in the forward direction. The
|
1279
1350
|
# token expires after 24 hours. If you have reached the end of the
|
1280
|
-
# stream, it
|
1351
|
+
# stream, it returns the same token you passed in.
|
1281
1352
|
# @return [String]
|
1282
1353
|
#
|
1283
1354
|
# @!attribute [rw] next_backward_token
|
1284
1355
|
# The token for the next set of items in the backward direction. The
|
1285
|
-
# token expires after 24 hours. This token
|
1286
|
-
#
|
1287
|
-
#
|
1356
|
+
# token expires after 24 hours. This token is never null. If you have
|
1357
|
+
# reached the end of the stream, it returns the same token you passed
|
1358
|
+
# in.
|
1288
1359
|
# @return [String]
|
1289
1360
|
#
|
1290
1361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsResponse AWS API Documentation
|
@@ -1293,6 +1364,7 @@ module Aws::CloudWatchLogs
|
|
1293
1364
|
:events,
|
1294
1365
|
:next_forward_token,
|
1295
1366
|
:next_backward_token)
|
1367
|
+
SENSITIVE = []
|
1296
1368
|
include Aws::Structure
|
1297
1369
|
end
|
1298
1370
|
|
@@ -1322,6 +1394,7 @@ module Aws::CloudWatchLogs
|
|
1322
1394
|
class GetLogGroupFieldsRequest < Struct.new(
|
1323
1395
|
:log_group_name,
|
1324
1396
|
:time)
|
1397
|
+
SENSITIVE = []
|
1325
1398
|
include Aws::Structure
|
1326
1399
|
end
|
1327
1400
|
|
@@ -1335,6 +1408,7 @@ module Aws::CloudWatchLogs
|
|
1335
1408
|
#
|
1336
1409
|
class GetLogGroupFieldsResponse < Struct.new(
|
1337
1410
|
:log_group_fields)
|
1411
|
+
SENSITIVE = []
|
1338
1412
|
include Aws::Structure
|
1339
1413
|
end
|
1340
1414
|
|
@@ -1357,6 +1431,7 @@ module Aws::CloudWatchLogs
|
|
1357
1431
|
#
|
1358
1432
|
class GetLogRecordRequest < Struct.new(
|
1359
1433
|
:log_record_pointer)
|
1434
|
+
SENSITIVE = []
|
1360
1435
|
include Aws::Structure
|
1361
1436
|
end
|
1362
1437
|
|
@@ -1368,6 +1443,7 @@ module Aws::CloudWatchLogs
|
|
1368
1443
|
#
|
1369
1444
|
class GetLogRecordResponse < Struct.new(
|
1370
1445
|
:log_record)
|
1446
|
+
SENSITIVE = []
|
1371
1447
|
include Aws::Structure
|
1372
1448
|
end
|
1373
1449
|
|
@@ -1386,6 +1462,7 @@ module Aws::CloudWatchLogs
|
|
1386
1462
|
#
|
1387
1463
|
class GetQueryResultsRequest < Struct.new(
|
1388
1464
|
:query_id)
|
1465
|
+
SENSITIVE = []
|
1389
1466
|
include Aws::Structure
|
1390
1467
|
end
|
1391
1468
|
|
@@ -1401,7 +1478,8 @@ module Aws::CloudWatchLogs
|
|
1401
1478
|
# @!attribute [rw] statistics
|
1402
1479
|
# Includes the number of log events scanned by the query, the number
|
1403
1480
|
# of log events that matched the query criteria, and the total number
|
1404
|
-
# of bytes in the log events that were scanned.
|
1481
|
+
# of bytes in the log events that were scanned. These values reflect
|
1482
|
+
# the full raw results of the query.
|
1405
1483
|
# @return [Types::QueryStatistics]
|
1406
1484
|
#
|
1407
1485
|
# @!attribute [rw] status
|
@@ -1410,7 +1488,7 @@ module Aws::CloudWatchLogs
|
|
1410
1488
|
# `Timeout`, and `Unknown`.
|
1411
1489
|
#
|
1412
1490
|
# Queries time out after 15 minutes of execution. To avoid having your
|
1413
|
-
# queries time out, reduce the time range being searched
|
1491
|
+
# queries time out, reduce the time range being searched or partition
|
1414
1492
|
# your query into a number of queries.
|
1415
1493
|
# @return [String]
|
1416
1494
|
#
|
@@ -1420,6 +1498,7 @@ module Aws::CloudWatchLogs
|
|
1420
1498
|
:results,
|
1421
1499
|
:statistics,
|
1422
1500
|
:status)
|
1501
|
+
SENSITIVE = []
|
1423
1502
|
include Aws::Structure
|
1424
1503
|
end
|
1425
1504
|
|
@@ -1448,6 +1527,7 @@ module Aws::CloudWatchLogs
|
|
1448
1527
|
class InputLogEvent < Struct.new(
|
1449
1528
|
:timestamp,
|
1450
1529
|
:message)
|
1530
|
+
SENSITIVE = []
|
1451
1531
|
include Aws::Structure
|
1452
1532
|
end
|
1453
1533
|
|
@@ -1474,6 +1554,7 @@ module Aws::CloudWatchLogs
|
|
1474
1554
|
#
|
1475
1555
|
class InvalidSequenceTokenException < Struct.new(
|
1476
1556
|
:expected_sequence_token)
|
1557
|
+
SENSITIVE = []
|
1477
1558
|
include Aws::Structure
|
1478
1559
|
end
|
1479
1560
|
|
@@ -1498,6 +1579,7 @@ module Aws::CloudWatchLogs
|
|
1498
1579
|
#
|
1499
1580
|
class ListTagsLogGroupRequest < Struct.new(
|
1500
1581
|
:log_group_name)
|
1582
|
+
SENSITIVE = []
|
1501
1583
|
include Aws::Structure
|
1502
1584
|
end
|
1503
1585
|
|
@@ -1509,6 +1591,7 @@ module Aws::CloudWatchLogs
|
|
1509
1591
|
#
|
1510
1592
|
class ListTagsLogGroupResponse < Struct.new(
|
1511
1593
|
:tags)
|
1594
|
+
SENSITIVE = []
|
1512
1595
|
include Aws::Structure
|
1513
1596
|
end
|
1514
1597
|
|
@@ -1527,6 +1610,9 @@ module Aws::CloudWatchLogs
|
|
1527
1610
|
# The number of days to retain the log events in the specified log
|
1528
1611
|
# group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150,
|
1529
1612
|
# 180, 365, 400, 545, 731, 1827, and 3653.
|
1613
|
+
#
|
1614
|
+
# If you omit `retentionInDays` in a `PutRetentionPolicy` operation,
|
1615
|
+
# the events in the log group are always retained and never expire.
|
1530
1616
|
# @return [Integer]
|
1531
1617
|
#
|
1532
1618
|
# @!attribute [rw] metric_filter_count
|
@@ -1556,6 +1642,7 @@ module Aws::CloudWatchLogs
|
|
1556
1642
|
:arn,
|
1557
1643
|
:stored_bytes,
|
1558
1644
|
:kms_key_id)
|
1645
|
+
SENSITIVE = []
|
1559
1646
|
include Aws::Structure
|
1560
1647
|
end
|
1561
1648
|
|
@@ -1576,6 +1663,7 @@ module Aws::CloudWatchLogs
|
|
1576
1663
|
class LogGroupField < Struct.new(
|
1577
1664
|
:name,
|
1578
1665
|
:percent)
|
1666
|
+
SENSITIVE = []
|
1579
1667
|
include Aws::Structure
|
1580
1668
|
end
|
1581
1669
|
|
@@ -1601,8 +1689,8 @@ module Aws::CloudWatchLogs
|
|
1601
1689
|
# CloudWatch Logs. This number is expressed as the number of
|
1602
1690
|
# milliseconds after Jan 1, 1970 00:00:00 UTC. The `lastEventTime`
|
1603
1691
|
# value updates on an eventual consistency basis. It typically updates
|
1604
|
-
# in less than an hour from ingestion, but
|
1605
|
-
#
|
1692
|
+
# in less than an hour from ingestion, but in rare situations might
|
1693
|
+
# take longer.
|
1606
1694
|
# @return [Integer]
|
1607
1695
|
#
|
1608
1696
|
# @!attribute [rw] last_ingestion_time
|
@@ -1621,7 +1709,7 @@ module Aws::CloudWatchLogs
|
|
1621
1709
|
# @!attribute [rw] stored_bytes
|
1622
1710
|
# The number of bytes stored.
|
1623
1711
|
#
|
1624
|
-
# **
|
1712
|
+
# **Important:** On June 17, 2019, this parameter was deprecated for
|
1625
1713
|
# log streams, and is always reported as zero. This change applies
|
1626
1714
|
# only to log streams. The `storedBytes` parameter for log groups is
|
1627
1715
|
# not affected.
|
@@ -1638,12 +1726,13 @@ module Aws::CloudWatchLogs
|
|
1638
1726
|
:upload_sequence_token,
|
1639
1727
|
:arn,
|
1640
1728
|
:stored_bytes)
|
1729
|
+
SENSITIVE = []
|
1641
1730
|
include Aws::Structure
|
1642
1731
|
end
|
1643
1732
|
|
1644
1733
|
# The query string is not valid. Details about this error are displayed
|
1645
1734
|
# in a `QueryCompileError` object. For more information, see
|
1646
|
-
# [QueryCompileError][1]
|
1735
|
+
# [QueryCompileError][1].
|
1647
1736
|
#
|
1648
1737
|
# For more information about valid query syntax, see [CloudWatch Logs
|
1649
1738
|
# Insights Query Syntax][2].
|
@@ -1661,6 +1750,7 @@ module Aws::CloudWatchLogs
|
|
1661
1750
|
#
|
1662
1751
|
class MalformedQueryException < Struct.new(
|
1663
1752
|
:query_compile_error)
|
1753
|
+
SENSITIVE = []
|
1664
1754
|
include Aws::Structure
|
1665
1755
|
end
|
1666
1756
|
|
@@ -1674,7 +1764,7 @@ module Aws::CloudWatchLogs
|
|
1674
1764
|
#
|
1675
1765
|
# @!attribute [rw] filter_pattern
|
1676
1766
|
# A symbolic description of how CloudWatch Logs should interpret the
|
1677
|
-
# data in each log event. For example, a log event
|
1767
|
+
# data in each log event. For example, a log event can contain
|
1678
1768
|
# timestamps, IP addresses, strings, and so on. You use the filter
|
1679
1769
|
# pattern to specify what to look for in the log event message.
|
1680
1770
|
# @return [String]
|
@@ -1700,6 +1790,7 @@ module Aws::CloudWatchLogs
|
|
1700
1790
|
:metric_transformations,
|
1701
1791
|
:creation_time,
|
1702
1792
|
:log_group_name)
|
1793
|
+
SENSITIVE = []
|
1703
1794
|
include Aws::Structure
|
1704
1795
|
end
|
1705
1796
|
|
@@ -1723,6 +1814,7 @@ module Aws::CloudWatchLogs
|
|
1723
1814
|
:event_number,
|
1724
1815
|
:event_message,
|
1725
1816
|
:extracted_values)
|
1817
|
+
SENSITIVE = []
|
1726
1818
|
include Aws::Structure
|
1727
1819
|
end
|
1728
1820
|
|
@@ -1770,6 +1862,7 @@ module Aws::CloudWatchLogs
|
|
1770
1862
|
:metric_namespace,
|
1771
1863
|
:metric_value,
|
1772
1864
|
:default_value)
|
1865
|
+
SENSITIVE = []
|
1773
1866
|
include Aws::Structure
|
1774
1867
|
end
|
1775
1868
|
|
@@ -1801,6 +1894,7 @@ module Aws::CloudWatchLogs
|
|
1801
1894
|
:timestamp,
|
1802
1895
|
:message,
|
1803
1896
|
:ingestion_time)
|
1897
|
+
SENSITIVE = []
|
1804
1898
|
include Aws::Structure
|
1805
1899
|
end
|
1806
1900
|
|
@@ -1818,7 +1912,8 @@ module Aws::CloudWatchLogs
|
|
1818
1912
|
#
|
1819
1913
|
# @!attribute [rw] access_policy
|
1820
1914
|
# An IAM policy document that authorizes cross-account users to
|
1821
|
-
# deliver their log events to the associated destination.
|
1915
|
+
# deliver their log events to the associated destination. This can be
|
1916
|
+
# up to 5120 bytes.
|
1822
1917
|
# @return [String]
|
1823
1918
|
#
|
1824
1919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyRequest AWS API Documentation
|
@@ -1826,6 +1921,7 @@ module Aws::CloudWatchLogs
|
|
1826
1921
|
class PutDestinationPolicyRequest < Struct.new(
|
1827
1922
|
:destination_name,
|
1828
1923
|
:access_policy)
|
1924
|
+
SENSITIVE = []
|
1829
1925
|
include Aws::Structure
|
1830
1926
|
end
|
1831
1927
|
|
@@ -1849,7 +1945,7 @@ module Aws::CloudWatchLogs
|
|
1849
1945
|
#
|
1850
1946
|
# @!attribute [rw] role_arn
|
1851
1947
|
# The ARN of an IAM role that grants CloudWatch Logs permissions to
|
1852
|
-
# call the Amazon Kinesis PutRecord operation on the destination
|
1948
|
+
# call the Amazon Kinesis `PutRecord` operation on the destination
|
1853
1949
|
# stream.
|
1854
1950
|
# @return [String]
|
1855
1951
|
#
|
@@ -1859,6 +1955,7 @@ module Aws::CloudWatchLogs
|
|
1859
1955
|
:destination_name,
|
1860
1956
|
:target_arn,
|
1861
1957
|
:role_arn)
|
1958
|
+
SENSITIVE = []
|
1862
1959
|
include Aws::Structure
|
1863
1960
|
end
|
1864
1961
|
|
@@ -1870,6 +1967,7 @@ module Aws::CloudWatchLogs
|
|
1870
1967
|
#
|
1871
1968
|
class PutDestinationResponse < Struct.new(
|
1872
1969
|
:destination)
|
1970
|
+
SENSITIVE = []
|
1873
1971
|
include Aws::Structure
|
1874
1972
|
end
|
1875
1973
|
|
@@ -1906,7 +2004,7 @@ module Aws::CloudWatchLogs
|
|
1906
2004
|
# not require a sequence token. You can also get the sequence token
|
1907
2005
|
# using [DescribeLogStreams][1]. If you call `PutLogEvents` twice
|
1908
2006
|
# within a narrow time period using the same value for
|
1909
|
-
# `sequenceToken`, both calls
|
2007
|
+
# `sequenceToken`, both calls might be successful or one might be
|
1910
2008
|
# rejected.
|
1911
2009
|
#
|
1912
2010
|
#
|
@@ -1921,6 +2019,7 @@ module Aws::CloudWatchLogs
|
|
1921
2019
|
:log_stream_name,
|
1922
2020
|
:log_events,
|
1923
2021
|
:sequence_token)
|
2022
|
+
SENSITIVE = []
|
1924
2023
|
include Aws::Structure
|
1925
2024
|
end
|
1926
2025
|
|
@@ -1937,6 +2036,7 @@ module Aws::CloudWatchLogs
|
|
1937
2036
|
class PutLogEventsResponse < Struct.new(
|
1938
2037
|
:next_sequence_token,
|
1939
2038
|
:rejected_log_events_info)
|
2039
|
+
SENSITIVE = []
|
1940
2040
|
include Aws::Structure
|
1941
2041
|
end
|
1942
2042
|
|
@@ -1982,6 +2082,7 @@ module Aws::CloudWatchLogs
|
|
1982
2082
|
:filter_name,
|
1983
2083
|
:filter_pattern,
|
1984
2084
|
:metric_transformations)
|
2085
|
+
SENSITIVE = []
|
1985
2086
|
include Aws::Structure
|
1986
2087
|
end
|
1987
2088
|
|
@@ -1996,15 +2097,47 @@ module Aws::CloudWatchLogs
|
|
1996
2097
|
# }
|
1997
2098
|
#
|
1998
2099
|
# @!attribute [rw] name
|
2100
|
+
# A name for the query definition. If you are saving a lot of query
|
2101
|
+
# definitions, we recommend that you name them so that you can easily
|
2102
|
+
# find the ones you want by using the first part of the name as a
|
2103
|
+
# filter in the `queryDefinitionNamePrefix` parameter of
|
2104
|
+
# [DescribeQueryDefinitions][1].
|
2105
|
+
#
|
2106
|
+
#
|
2107
|
+
#
|
2108
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html
|
1999
2109
|
# @return [String]
|
2000
2110
|
#
|
2001
2111
|
# @!attribute [rw] query_definition_id
|
2112
|
+
# If you are updating a query definition, use this parameter to
|
2113
|
+
# specify the ID of the query definition that you want to update. You
|
2114
|
+
# can use [DescribeQueryDefinitions][1] to retrieve the IDs of your
|
2115
|
+
# saved query definitions.
|
2116
|
+
#
|
2117
|
+
# If you are creating a query definition, do not specify this
|
2118
|
+
# parameter. CloudWatch generates a unique ID for the new query
|
2119
|
+
# definition and include it in the response to this operation.
|
2120
|
+
#
|
2121
|
+
#
|
2122
|
+
#
|
2123
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html
|
2002
2124
|
# @return [String]
|
2003
2125
|
#
|
2004
2126
|
# @!attribute [rw] log_group_names
|
2127
|
+
# Use this parameter to include specific log groups as part of your
|
2128
|
+
# query definition.
|
2129
|
+
#
|
2130
|
+
# If you are updating a query definition and you omit this parameter,
|
2131
|
+
# then the updated definition will contain no log groups.
|
2005
2132
|
# @return [Array<String>]
|
2006
2133
|
#
|
2007
2134
|
# @!attribute [rw] query_string
|
2135
|
+
# The query string to use for this definition. For more information,
|
2136
|
+
# see [CloudWatch Logs Insights Query Syntax][1].
|
2137
|
+
#
|
2138
|
+
#
|
2139
|
+
#
|
2140
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
2008
2141
|
# @return [String]
|
2009
2142
|
#
|
2010
2143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionRequest AWS API Documentation
|
@@ -2014,16 +2147,19 @@ module Aws::CloudWatchLogs
|
|
2014
2147
|
:query_definition_id,
|
2015
2148
|
:log_group_names,
|
2016
2149
|
:query_string)
|
2150
|
+
SENSITIVE = []
|
2017
2151
|
include Aws::Structure
|
2018
2152
|
end
|
2019
2153
|
|
2020
2154
|
# @!attribute [rw] query_definition_id
|
2155
|
+
# The ID of the query definition.
|
2021
2156
|
# @return [String]
|
2022
2157
|
#
|
2023
2158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionResponse AWS API Documentation
|
2024
2159
|
#
|
2025
2160
|
class PutQueryDefinitionResponse < Struct.new(
|
2026
2161
|
:query_definition_id)
|
2162
|
+
SENSITIVE = []
|
2027
2163
|
include Aws::Structure
|
2028
2164
|
end
|
2029
2165
|
|
@@ -2046,7 +2182,7 @@ module Aws::CloudWatchLogs
|
|
2046
2182
|
#
|
2047
2183
|
# The following example creates a resource policy enabling the Route
|
2048
2184
|
# 53 service to put DNS query logs in to the specified log group.
|
2049
|
-
# Replace "logArn" with the ARN of your CloudWatch Logs resource,
|
2185
|
+
# Replace `"logArn"` with the ARN of your CloudWatch Logs resource,
|
2050
2186
|
# such as a log group or log stream.
|
2051
2187
|
#
|
2052
2188
|
# `\{ "Version": "2012-10-17", "Statement": [ \{ "Sid":
|
@@ -2060,6 +2196,7 @@ module Aws::CloudWatchLogs
|
|
2060
2196
|
class PutResourcePolicyRequest < Struct.new(
|
2061
2197
|
:policy_name,
|
2062
2198
|
:policy_document)
|
2199
|
+
SENSITIVE = []
|
2063
2200
|
include Aws::Structure
|
2064
2201
|
end
|
2065
2202
|
|
@@ -2071,6 +2208,7 @@ module Aws::CloudWatchLogs
|
|
2071
2208
|
#
|
2072
2209
|
class PutResourcePolicyResponse < Struct.new(
|
2073
2210
|
:resource_policy)
|
2211
|
+
SENSITIVE = []
|
2074
2212
|
include Aws::Structure
|
2075
2213
|
end
|
2076
2214
|
|
@@ -2090,6 +2228,9 @@ module Aws::CloudWatchLogs
|
|
2090
2228
|
# The number of days to retain the log events in the specified log
|
2091
2229
|
# group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150,
|
2092
2230
|
# 180, 365, 400, 545, 731, 1827, and 3653.
|
2231
|
+
#
|
2232
|
+
# If you omit `retentionInDays` in a `PutRetentionPolicy` operation,
|
2233
|
+
# the events in the log group are always retained and never expire.
|
2093
2234
|
# @return [Integer]
|
2094
2235
|
#
|
2095
2236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyRequest AWS API Documentation
|
@@ -2097,6 +2238,7 @@ module Aws::CloudWatchLogs
|
|
2097
2238
|
class PutRetentionPolicyRequest < Struct.new(
|
2098
2239
|
:log_group_name,
|
2099
2240
|
:retention_in_days)
|
2241
|
+
SENSITIVE = []
|
2100
2242
|
include Aws::Structure
|
2101
2243
|
end
|
2102
2244
|
|
@@ -2158,7 +2300,7 @@ module Aws::CloudWatchLogs
|
|
2158
2300
|
#
|
2159
2301
|
# @!attribute [rw] distribution
|
2160
2302
|
# The method used to distribute log data to the destination. By
|
2161
|
-
# default log data is grouped by log stream, but the grouping can be
|
2303
|
+
# default, log data is grouped by log stream, but the grouping can be
|
2162
2304
|
# set to random for a more even distribution. This property is only
|
2163
2305
|
# applicable when the destination is an Amazon Kinesis stream.
|
2164
2306
|
# @return [String]
|
@@ -2172,6 +2314,7 @@ module Aws::CloudWatchLogs
|
|
2172
2314
|
:destination_arn,
|
2173
2315
|
:role_arn,
|
2174
2316
|
:distribution)
|
2317
|
+
SENSITIVE = []
|
2175
2318
|
include Aws::Structure
|
2176
2319
|
end
|
2177
2320
|
|
@@ -2190,6 +2333,7 @@ module Aws::CloudWatchLogs
|
|
2190
2333
|
class QueryCompileError < Struct.new(
|
2191
2334
|
:location,
|
2192
2335
|
:message)
|
2336
|
+
SENSITIVE = []
|
2193
2337
|
include Aws::Structure
|
2194
2338
|
end
|
2195
2339
|
|
@@ -2208,22 +2352,37 @@ module Aws::CloudWatchLogs
|
|
2208
2352
|
class QueryCompileErrorLocation < Struct.new(
|
2209
2353
|
:start_char_offset,
|
2210
2354
|
:end_char_offset)
|
2355
|
+
SENSITIVE = []
|
2211
2356
|
include Aws::Structure
|
2212
2357
|
end
|
2213
2358
|
|
2359
|
+
# This structure contains details about a saved CloudWatch Logs Insights
|
2360
|
+
# query definition.
|
2361
|
+
#
|
2214
2362
|
# @!attribute [rw] query_definition_id
|
2363
|
+
# The unique ID of the query definition.
|
2215
2364
|
# @return [String]
|
2216
2365
|
#
|
2217
2366
|
# @!attribute [rw] name
|
2367
|
+
# The name of the query definition.
|
2218
2368
|
# @return [String]
|
2219
2369
|
#
|
2220
2370
|
# @!attribute [rw] query_string
|
2371
|
+
# The query string to use for this definition. For more information,
|
2372
|
+
# see [CloudWatch Logs Insights Query Syntax][1].
|
2373
|
+
#
|
2374
|
+
#
|
2375
|
+
#
|
2376
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html
|
2221
2377
|
# @return [String]
|
2222
2378
|
#
|
2223
2379
|
# @!attribute [rw] last_modified
|
2380
|
+
# The date that the query definition was most recently modified.
|
2224
2381
|
# @return [Integer]
|
2225
2382
|
#
|
2226
2383
|
# @!attribute [rw] log_group_names
|
2384
|
+
# If this query definition contains a list of log groups that it is
|
2385
|
+
# limited to, that list appears here.
|
2227
2386
|
# @return [Array<String>]
|
2228
2387
|
#
|
2229
2388
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/QueryDefinition AWS API Documentation
|
@@ -2234,6 +2393,7 @@ module Aws::CloudWatchLogs
|
|
2234
2393
|
:query_string,
|
2235
2394
|
:last_modified,
|
2236
2395
|
:log_group_names)
|
2396
|
+
SENSITIVE = []
|
2237
2397
|
include Aws::Structure
|
2238
2398
|
end
|
2239
2399
|
|
@@ -2269,6 +2429,7 @@ module Aws::CloudWatchLogs
|
|
2269
2429
|
:status,
|
2270
2430
|
:create_time,
|
2271
2431
|
:log_group_name)
|
2432
|
+
SENSITIVE = []
|
2272
2433
|
include Aws::Structure
|
2273
2434
|
end
|
2274
2435
|
|
@@ -2295,6 +2456,7 @@ module Aws::CloudWatchLogs
|
|
2295
2456
|
:records_matched,
|
2296
2457
|
:records_scanned,
|
2297
2458
|
:bytes_scanned)
|
2459
|
+
SENSITIVE = []
|
2298
2460
|
include Aws::Structure
|
2299
2461
|
end
|
2300
2462
|
|
@@ -2318,6 +2480,7 @@ module Aws::CloudWatchLogs
|
|
2318
2480
|
:too_new_log_event_start_index,
|
2319
2481
|
:too_old_log_event_end_index,
|
2320
2482
|
:expired_log_event_end_index)
|
2483
|
+
SENSITIVE = []
|
2321
2484
|
include Aws::Structure
|
2322
2485
|
end
|
2323
2486
|
|
@@ -2355,6 +2518,7 @@ module Aws::CloudWatchLogs
|
|
2355
2518
|
:policy_name,
|
2356
2519
|
:policy_document,
|
2357
2520
|
:last_updated_time)
|
2521
|
+
SENSITIVE = []
|
2358
2522
|
include Aws::Structure
|
2359
2523
|
end
|
2360
2524
|
|
@@ -2381,6 +2545,7 @@ module Aws::CloudWatchLogs
|
|
2381
2545
|
class ResultField < Struct.new(
|
2382
2546
|
:field,
|
2383
2547
|
:value)
|
2548
|
+
SENSITIVE = []
|
2384
2549
|
include Aws::Structure
|
2385
2550
|
end
|
2386
2551
|
|
@@ -2399,6 +2564,7 @@ module Aws::CloudWatchLogs
|
|
2399
2564
|
class SearchedLogStream < Struct.new(
|
2400
2565
|
:log_stream_name,
|
2401
2566
|
:searched_completely)
|
2567
|
+
SENSITIVE = []
|
2402
2568
|
include Aws::Structure
|
2403
2569
|
end
|
2404
2570
|
|
@@ -2472,6 +2638,7 @@ module Aws::CloudWatchLogs
|
|
2472
2638
|
:end_time,
|
2473
2639
|
:query_string,
|
2474
2640
|
:limit)
|
2641
|
+
SENSITIVE = []
|
2475
2642
|
include Aws::Structure
|
2476
2643
|
end
|
2477
2644
|
|
@@ -2483,6 +2650,7 @@ module Aws::CloudWatchLogs
|
|
2483
2650
|
#
|
2484
2651
|
class StartQueryResponse < Struct.new(
|
2485
2652
|
:query_id)
|
2653
|
+
SENSITIVE = []
|
2486
2654
|
include Aws::Structure
|
2487
2655
|
end
|
2488
2656
|
|
@@ -2494,14 +2662,15 @@ module Aws::CloudWatchLogs
|
|
2494
2662
|
# }
|
2495
2663
|
#
|
2496
2664
|
# @!attribute [rw] query_id
|
2497
|
-
# The ID number of the query to stop.
|
2498
|
-
# `DescribeQueries
|
2665
|
+
# The ID number of the query to stop. To find this ID number, use
|
2666
|
+
# `DescribeQueries`.
|
2499
2667
|
# @return [String]
|
2500
2668
|
#
|
2501
2669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StopQueryRequest AWS API Documentation
|
2502
2670
|
#
|
2503
2671
|
class StopQueryRequest < Struct.new(
|
2504
2672
|
:query_id)
|
2673
|
+
SENSITIVE = []
|
2505
2674
|
include Aws::Structure
|
2506
2675
|
end
|
2507
2676
|
|
@@ -2513,6 +2682,7 @@ module Aws::CloudWatchLogs
|
|
2513
2682
|
#
|
2514
2683
|
class StopQueryResponse < Struct.new(
|
2515
2684
|
:success)
|
2685
|
+
SENSITIVE = []
|
2516
2686
|
include Aws::Structure
|
2517
2687
|
end
|
2518
2688
|
|
@@ -2528,7 +2698,7 @@ module Aws::CloudWatchLogs
|
|
2528
2698
|
#
|
2529
2699
|
# @!attribute [rw] filter_pattern
|
2530
2700
|
# A symbolic description of how CloudWatch Logs should interpret the
|
2531
|
-
# data in each log event. For example, a log event
|
2701
|
+
# data in each log event. For example, a log event can contain
|
2532
2702
|
# timestamps, IP addresses, strings, and so on. You use the filter
|
2533
2703
|
# pattern to specify what to look for in the log event message.
|
2534
2704
|
# @return [String]
|
@@ -2560,6 +2730,7 @@ module Aws::CloudWatchLogs
|
|
2560
2730
|
:role_arn,
|
2561
2731
|
:distribution,
|
2562
2732
|
:creation_time)
|
2733
|
+
SENSITIVE = []
|
2563
2734
|
include Aws::Structure
|
2564
2735
|
end
|
2565
2736
|
|
@@ -2586,6 +2757,7 @@ module Aws::CloudWatchLogs
|
|
2586
2757
|
class TagLogGroupRequest < Struct.new(
|
2587
2758
|
:log_group_name,
|
2588
2759
|
:tags)
|
2760
|
+
SENSITIVE = []
|
2589
2761
|
include Aws::Structure
|
2590
2762
|
end
|
2591
2763
|
|
@@ -2599,7 +2771,7 @@ module Aws::CloudWatchLogs
|
|
2599
2771
|
#
|
2600
2772
|
# @!attribute [rw] filter_pattern
|
2601
2773
|
# A symbolic description of how CloudWatch Logs should interpret the
|
2602
|
-
# data in each log event. For example, a log event
|
2774
|
+
# data in each log event. For example, a log event can contain
|
2603
2775
|
# timestamps, IP addresses, strings, and so on. You use the filter
|
2604
2776
|
# pattern to specify what to look for in the log event message.
|
2605
2777
|
# @return [String]
|
@@ -2613,6 +2785,7 @@ module Aws::CloudWatchLogs
|
|
2613
2785
|
class TestMetricFilterRequest < Struct.new(
|
2614
2786
|
:filter_pattern,
|
2615
2787
|
:log_event_messages)
|
2788
|
+
SENSITIVE = []
|
2616
2789
|
include Aws::Structure
|
2617
2790
|
end
|
2618
2791
|
|
@@ -2624,6 +2797,7 @@ module Aws::CloudWatchLogs
|
|
2624
2797
|
#
|
2625
2798
|
class TestMetricFilterResponse < Struct.new(
|
2626
2799
|
:matches)
|
2800
|
+
SENSITIVE = []
|
2627
2801
|
include Aws::Structure
|
2628
2802
|
end
|
2629
2803
|
|
@@ -2654,6 +2828,7 @@ module Aws::CloudWatchLogs
|
|
2654
2828
|
class UntagLogGroupRequest < Struct.new(
|
2655
2829
|
:log_group_name,
|
2656
2830
|
:tags)
|
2831
|
+
SENSITIVE = []
|
2657
2832
|
include Aws::Structure
|
2658
2833
|
end
|
2659
2834
|
|