aws-sdk-cloudwatchlogs 1.133.0 → 1.134.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 +495 -135
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +195 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +554 -152
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +79 -1
- data/sig/types.rbs +112 -0
- metadata +1 -1
|
@@ -116,6 +116,31 @@ module Aws::CloudWatchLogs
|
|
|
116
116
|
include Aws::Structure
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
+
# Contains an aggregate summary of log groups grouped by data source
|
|
120
|
+
# characteristics, including the count of log groups and their grouping
|
|
121
|
+
# identifiers.
|
|
122
|
+
#
|
|
123
|
+
# @!attribute [rw] log_group_count
|
|
124
|
+
# The number of log groups in this aggregate summary group.
|
|
125
|
+
# @return [Integer]
|
|
126
|
+
#
|
|
127
|
+
# @!attribute [rw] grouping_identifiers
|
|
128
|
+
# An array of key-value pairs that identify the data source
|
|
129
|
+
# characteristics used to group the log groups.
|
|
130
|
+
#
|
|
131
|
+
# The size and content of this array depends on the `groupBy`
|
|
132
|
+
# parameter specified in the request.
|
|
133
|
+
# @return [Array<Types::GroupingIdentifier>]
|
|
134
|
+
#
|
|
135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AggregateLogGroupSummary AWS API Documentation
|
|
136
|
+
#
|
|
137
|
+
class AggregateLogGroupSummary < Struct.new(
|
|
138
|
+
:log_group_count,
|
|
139
|
+
:grouping_identifiers)
|
|
140
|
+
SENSITIVE = []
|
|
141
|
+
include Aws::Structure
|
|
142
|
+
end
|
|
143
|
+
|
|
119
144
|
# This structure represents one anomaly that has been found by a logs
|
|
120
145
|
# anomaly detector.
|
|
121
146
|
#
|
|
@@ -390,6 +415,38 @@ module Aws::CloudWatchLogs
|
|
|
390
415
|
include Aws::Structure
|
|
391
416
|
end
|
|
392
417
|
|
|
418
|
+
# @!attribute [rw] integration_arn
|
|
419
|
+
# The Amazon Resource Name (ARN) of the S3 Table Integration to
|
|
420
|
+
# associate the data source with.
|
|
421
|
+
# @return [String]
|
|
422
|
+
#
|
|
423
|
+
# @!attribute [rw] data_source
|
|
424
|
+
# The data source to associate with the S3 Table Integration. Contains
|
|
425
|
+
# the name and type of the data source.
|
|
426
|
+
# @return [Types::DataSource]
|
|
427
|
+
#
|
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateSourceToS3TableIntegrationRequest AWS API Documentation
|
|
429
|
+
#
|
|
430
|
+
class AssociateSourceToS3TableIntegrationRequest < Struct.new(
|
|
431
|
+
:integration_arn,
|
|
432
|
+
:data_source)
|
|
433
|
+
SENSITIVE = []
|
|
434
|
+
include Aws::Structure
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# @!attribute [rw] identifier
|
|
438
|
+
# The unique identifier for the association between the data source
|
|
439
|
+
# and S3 Table Integration.
|
|
440
|
+
# @return [String]
|
|
441
|
+
#
|
|
442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateSourceToS3TableIntegrationResponse AWS API Documentation
|
|
443
|
+
#
|
|
444
|
+
class AssociateSourceToS3TableIntegrationResponse < Struct.new(
|
|
445
|
+
:identifier)
|
|
446
|
+
SENSITIVE = []
|
|
447
|
+
include Aws::Structure
|
|
448
|
+
end
|
|
449
|
+
|
|
393
450
|
# The `CSV` processor parses comma-separated values (CSV) from the log
|
|
394
451
|
# events into columns.
|
|
395
452
|
#
|
|
@@ -967,92 +1024,81 @@ module Aws::CloudWatchLogs
|
|
|
967
1024
|
end
|
|
968
1025
|
|
|
969
1026
|
# @!attribute [rw] name
|
|
970
|
-
#
|
|
971
|
-
# account
|
|
972
|
-
# hyphens,
|
|
1027
|
+
# The name of the scheduled query. The name must be unique within your
|
|
1028
|
+
# account and region. Valid characters are alphanumeric characters,
|
|
1029
|
+
# hyphens, underscores, and periods. Length must be between 1 and 255
|
|
1030
|
+
# characters.
|
|
973
1031
|
# @return [String]
|
|
974
1032
|
#
|
|
975
1033
|
# @!attribute [rw] description
|
|
976
1034
|
# An optional description for the scheduled query to help identify its
|
|
977
|
-
# purpose.
|
|
1035
|
+
# purpose and functionality.
|
|
978
1036
|
# @return [String]
|
|
979
1037
|
#
|
|
980
1038
|
# @!attribute [rw] query_language
|
|
981
1039
|
# The query language to use for the scheduled query. Valid values are
|
|
982
|
-
# LogsQL
|
|
983
|
-
# Service Piped Processing Language), and SQL (OpenSearch Service
|
|
984
|
-
# Structured Query Language).
|
|
1040
|
+
# `LogsQL`, `PPL`, and `SQL`.
|
|
985
1041
|
# @return [String]
|
|
986
1042
|
#
|
|
987
1043
|
# @!attribute [rw] query_string
|
|
988
|
-
# The
|
|
989
|
-
#
|
|
990
|
-
# schedule.
|
|
1044
|
+
# The query string to execute. This is the same query syntax used in
|
|
1045
|
+
# CloudWatch Logs Insights. Maximum length is 10,000 characters.
|
|
991
1046
|
# @return [String]
|
|
992
1047
|
#
|
|
993
1048
|
# @!attribute [rw] log_group_identifiers
|
|
994
|
-
#
|
|
995
|
-
#
|
|
996
|
-
#
|
|
1049
|
+
# An array of log group names or ARNs to query. You can specify
|
|
1050
|
+
# between 1 and 50 log groups. Log groups can be identified by name or
|
|
1051
|
+
# full ARN.
|
|
997
1052
|
# @return [Array<String>]
|
|
998
1053
|
#
|
|
999
1054
|
# @!attribute [rw] schedule_expression
|
|
1000
1055
|
# A cron expression that defines when the scheduled query runs. The
|
|
1001
|
-
#
|
|
1002
|
-
#
|
|
1056
|
+
# expression uses standard cron syntax and supports minute-level
|
|
1057
|
+
# precision. Maximum length is 256 characters.
|
|
1003
1058
|
# @return [String]
|
|
1004
1059
|
#
|
|
1005
1060
|
# @!attribute [rw] timezone
|
|
1006
|
-
# The timezone
|
|
1007
|
-
#
|
|
1061
|
+
# The timezone for evaluating the schedule expression. This determines
|
|
1062
|
+
# when the scheduled query executes relative to the specified
|
|
1063
|
+
# timezone.
|
|
1008
1064
|
# @return [String]
|
|
1009
1065
|
#
|
|
1010
1066
|
# @!attribute [rw] start_time_offset
|
|
1011
|
-
#
|
|
1012
|
-
# query
|
|
1013
|
-
#
|
|
1067
|
+
# The time offset in seconds that defines the lookback period for the
|
|
1068
|
+
# query. This determines how far back in time the query searches from
|
|
1069
|
+
# the execution time.
|
|
1014
1070
|
# @return [Integer]
|
|
1015
1071
|
#
|
|
1016
1072
|
# @!attribute [rw] destination_configuration
|
|
1017
|
-
# Configuration for
|
|
1018
|
-
#
|
|
1019
|
-
# S3 buckets or EventBridge event buses.
|
|
1073
|
+
# Configuration for where to deliver query results. Currently supports
|
|
1074
|
+
# Amazon S3 destinations for storing query output.
|
|
1020
1075
|
# @return [Types::DestinationConfiguration]
|
|
1021
1076
|
#
|
|
1022
1077
|
# @!attribute [rw] schedule_start_time
|
|
1023
|
-
# The start time for the query
|
|
1024
|
-
#
|
|
1025
|
-
# starts immediately.
|
|
1078
|
+
# The start time for the scheduled query in Unix epoch format. The
|
|
1079
|
+
# query will not execute before this time.
|
|
1026
1080
|
# @return [Integer]
|
|
1027
1081
|
#
|
|
1028
1082
|
# @!attribute [rw] schedule_end_time
|
|
1029
|
-
# The end time for the query
|
|
1030
|
-
#
|
|
1031
|
-
# runs indefinitely.
|
|
1083
|
+
# The end time for the scheduled query in Unix epoch format. The query
|
|
1084
|
+
# will stop executing after this time.
|
|
1032
1085
|
# @return [Integer]
|
|
1033
1086
|
#
|
|
1034
1087
|
# @!attribute [rw] execution_role_arn
|
|
1035
|
-
# The
|
|
1036
|
-
#
|
|
1037
|
-
# the specified
|
|
1088
|
+
# The ARN of the IAM role that grants permissions to execute the query
|
|
1089
|
+
# and deliver results to the specified destination. The role must have
|
|
1090
|
+
# permissions to read from the specified log groups and write to the
|
|
1091
|
+
# destination.
|
|
1038
1092
|
# @return [String]
|
|
1039
1093
|
#
|
|
1040
1094
|
# @!attribute [rw] state
|
|
1041
|
-
# The initial state of the scheduled query. Valid values are ENABLED
|
|
1042
|
-
#
|
|
1043
|
-
# query is paused and will not run). If not provided, defaults to
|
|
1044
|
-
# ENABLED.
|
|
1095
|
+
# The initial state of the scheduled query. Valid values are `ENABLED`
|
|
1096
|
+
# and `DISABLED`. Default is `ENABLED`.
|
|
1045
1097
|
# @return [String]
|
|
1046
1098
|
#
|
|
1047
1099
|
# @!attribute [rw] tags
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1050
|
-
# For more information about tagging, see [Tagging Amazon Web Services
|
|
1051
|
-
# resources][1]
|
|
1052
|
-
#
|
|
1053
|
-
#
|
|
1054
|
-
#
|
|
1055
|
-
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
1100
|
+
# Key-value pairs to associate with the scheduled query for resource
|
|
1101
|
+
# management and cost allocation.
|
|
1056
1102
|
# @return [Hash<String,String>]
|
|
1057
1103
|
#
|
|
1058
1104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateScheduledQueryRequest AWS API Documentation
|
|
@@ -1077,11 +1123,11 @@ module Aws::CloudWatchLogs
|
|
|
1077
1123
|
end
|
|
1078
1124
|
|
|
1079
1125
|
# @!attribute [rw] scheduled_query_arn
|
|
1080
|
-
# The
|
|
1126
|
+
# The ARN of the created scheduled query.
|
|
1081
1127
|
# @return [String]
|
|
1082
1128
|
#
|
|
1083
1129
|
# @!attribute [rw] state
|
|
1084
|
-
# The current state of the scheduled query
|
|
1130
|
+
# The current state of the scheduled query.
|
|
1085
1131
|
# @return [String]
|
|
1086
1132
|
#
|
|
1087
1133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateScheduledQueryResponse AWS API Documentation
|
|
@@ -1110,6 +1156,47 @@ module Aws::CloudWatchLogs
|
|
|
1110
1156
|
include Aws::Structure
|
|
1111
1157
|
end
|
|
1112
1158
|
|
|
1159
|
+
# Represents a data source that categorizes logs by originating service
|
|
1160
|
+
# and log type, providing service-based organization complementing
|
|
1161
|
+
# traditional log groups.
|
|
1162
|
+
#
|
|
1163
|
+
# @!attribute [rw] name
|
|
1164
|
+
# The name of the data source.
|
|
1165
|
+
# @return [String]
|
|
1166
|
+
#
|
|
1167
|
+
# @!attribute [rw] type
|
|
1168
|
+
# The type of the data source.
|
|
1169
|
+
# @return [String]
|
|
1170
|
+
#
|
|
1171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DataSource AWS API Documentation
|
|
1172
|
+
#
|
|
1173
|
+
class DataSource < Struct.new(
|
|
1174
|
+
:name,
|
|
1175
|
+
:type)
|
|
1176
|
+
SENSITIVE = []
|
|
1177
|
+
include Aws::Structure
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
# Filter criteria for data sources, used to specify which data sources
|
|
1181
|
+
# to include in operations based on name and type.
|
|
1182
|
+
#
|
|
1183
|
+
# @!attribute [rw] name
|
|
1184
|
+
# The name pattern to filter data sources by.
|
|
1185
|
+
# @return [String]
|
|
1186
|
+
#
|
|
1187
|
+
# @!attribute [rw] type
|
|
1188
|
+
# The type pattern to filter data sources by.
|
|
1189
|
+
# @return [String]
|
|
1190
|
+
#
|
|
1191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DataSourceFilter AWS API Documentation
|
|
1192
|
+
#
|
|
1193
|
+
class DataSourceFilter < Struct.new(
|
|
1194
|
+
:name,
|
|
1195
|
+
:type)
|
|
1196
|
+
SENSITIVE = []
|
|
1197
|
+
include Aws::Structure
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1113
1200
|
# This processor converts a datetime string into a format that you
|
|
1114
1201
|
# specify.
|
|
1115
1202
|
#
|
|
@@ -1472,7 +1559,7 @@ module Aws::CloudWatchLogs
|
|
|
1472
1559
|
end
|
|
1473
1560
|
|
|
1474
1561
|
# @!attribute [rw] identifier
|
|
1475
|
-
# The
|
|
1562
|
+
# The ARN or name of the scheduled query to delete.
|
|
1476
1563
|
# @return [String]
|
|
1477
1564
|
#
|
|
1478
1565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteScheduledQueryRequest AWS API Documentation
|
|
@@ -2703,11 +2790,11 @@ module Aws::CloudWatchLogs
|
|
|
2703
2790
|
include Aws::Structure
|
|
2704
2791
|
end
|
|
2705
2792
|
|
|
2706
|
-
# Configuration for
|
|
2707
|
-
#
|
|
2793
|
+
# Configuration for where to deliver scheduled query results. Specifies
|
|
2794
|
+
# the destination type and associated settings for result delivery.
|
|
2708
2795
|
#
|
|
2709
2796
|
# @!attribute [rw] s3_configuration
|
|
2710
|
-
# Configuration for delivering query results to
|
|
2797
|
+
# Configuration for delivering query results to Amazon S3.
|
|
2711
2798
|
# @return [Types::S3Configuration]
|
|
2712
2799
|
#
|
|
2713
2800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DestinationConfiguration AWS API Documentation
|
|
@@ -2764,6 +2851,31 @@ module Aws::CloudWatchLogs
|
|
|
2764
2851
|
include Aws::Structure
|
|
2765
2852
|
end
|
|
2766
2853
|
|
|
2854
|
+
# @!attribute [rw] identifier
|
|
2855
|
+
# The unique identifier of the association to remove between the data
|
|
2856
|
+
# source and S3 Table Integration.
|
|
2857
|
+
# @return [String]
|
|
2858
|
+
#
|
|
2859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateSourceFromS3TableIntegrationRequest AWS API Documentation
|
|
2860
|
+
#
|
|
2861
|
+
class DisassociateSourceFromS3TableIntegrationRequest < Struct.new(
|
|
2862
|
+
:identifier)
|
|
2863
|
+
SENSITIVE = []
|
|
2864
|
+
include Aws::Structure
|
|
2865
|
+
end
|
|
2866
|
+
|
|
2867
|
+
# @!attribute [rw] identifier
|
|
2868
|
+
# The unique identifier of the association that was removed.
|
|
2869
|
+
# @return [String]
|
|
2870
|
+
#
|
|
2871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateSourceFromS3TableIntegrationResponse AWS API Documentation
|
|
2872
|
+
#
|
|
2873
|
+
class DisassociateSourceFromS3TableIntegrationResponse < Struct.new(
|
|
2874
|
+
:identifier)
|
|
2875
|
+
SENSITIVE = []
|
|
2876
|
+
include Aws::Structure
|
|
2877
|
+
end
|
|
2878
|
+
|
|
2767
2879
|
# The entity associated with the log events in a `PutLogEvents` call.
|
|
2768
2880
|
#
|
|
2769
2881
|
# @!attribute [rw] key_attributes
|
|
@@ -2930,6 +3042,12 @@ module Aws::CloudWatchLogs
|
|
|
2930
3042
|
# field index.
|
|
2931
3043
|
# @return [Integer]
|
|
2932
3044
|
#
|
|
3045
|
+
# @!attribute [rw] type
|
|
3046
|
+
# The type of index. Specify `FACET` for facet-based indexing or
|
|
3047
|
+
# `FIELD_INDEX` for field-based indexing. This determines how the
|
|
3048
|
+
# field is indexed and can be queried.
|
|
3049
|
+
# @return [String]
|
|
3050
|
+
#
|
|
2933
3051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FieldIndex AWS API Documentation
|
|
2934
3052
|
#
|
|
2935
3053
|
class FieldIndex < Struct.new(
|
|
@@ -2937,7 +3055,8 @@ module Aws::CloudWatchLogs
|
|
|
2937
3055
|
:field_index_name,
|
|
2938
3056
|
:last_scan_time,
|
|
2939
3057
|
:first_event_time,
|
|
2940
|
-
:last_event_time
|
|
3058
|
+
:last_event_time,
|
|
3059
|
+
:type)
|
|
2941
3060
|
SENSITIVE = []
|
|
2942
3061
|
include Aws::Structure
|
|
2943
3062
|
end
|
|
@@ -3511,6 +3630,36 @@ module Aws::CloudWatchLogs
|
|
|
3511
3630
|
include Aws::Structure
|
|
3512
3631
|
end
|
|
3513
3632
|
|
|
3633
|
+
# @!attribute [rw] data_source_name
|
|
3634
|
+
# The name of the data source to retrieve log fields for.
|
|
3635
|
+
# @return [String]
|
|
3636
|
+
#
|
|
3637
|
+
# @!attribute [rw] data_source_type
|
|
3638
|
+
# The type of the data source to retrieve log fields for.
|
|
3639
|
+
# @return [String]
|
|
3640
|
+
#
|
|
3641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogFieldsRequest AWS API Documentation
|
|
3642
|
+
#
|
|
3643
|
+
class GetLogFieldsRequest < Struct.new(
|
|
3644
|
+
:data_source_name,
|
|
3645
|
+
:data_source_type)
|
|
3646
|
+
SENSITIVE = []
|
|
3647
|
+
include Aws::Structure
|
|
3648
|
+
end
|
|
3649
|
+
|
|
3650
|
+
# @!attribute [rw] log_fields
|
|
3651
|
+
# The list of log fields for the specified data source, including
|
|
3652
|
+
# field names and their data types.
|
|
3653
|
+
# @return [Array<Types::LogFieldsListItem>]
|
|
3654
|
+
#
|
|
3655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogFieldsResponse AWS API Documentation
|
|
3656
|
+
#
|
|
3657
|
+
class GetLogFieldsResponse < Struct.new(
|
|
3658
|
+
:log_fields)
|
|
3659
|
+
SENSITIVE = []
|
|
3660
|
+
include Aws::Structure
|
|
3661
|
+
end
|
|
3662
|
+
|
|
3514
3663
|
# @!attribute [rw] log_group_name
|
|
3515
3664
|
# The name of the log group to search.
|
|
3516
3665
|
#
|
|
@@ -3714,24 +3863,25 @@ module Aws::CloudWatchLogs
|
|
|
3714
3863
|
end
|
|
3715
3864
|
|
|
3716
3865
|
# @!attribute [rw] identifier
|
|
3717
|
-
# The
|
|
3866
|
+
# The ARN or name of the scheduled query to retrieve history for.
|
|
3718
3867
|
# @return [String]
|
|
3719
3868
|
#
|
|
3720
3869
|
# @!attribute [rw] start_time
|
|
3721
|
-
# The start time for the history
|
|
3870
|
+
# The start time for the history query in Unix epoch format.
|
|
3722
3871
|
# @return [Integer]
|
|
3723
3872
|
#
|
|
3724
3873
|
# @!attribute [rw] end_time
|
|
3725
|
-
# The end time for the history
|
|
3874
|
+
# The end time for the history query in Unix epoch format.
|
|
3726
3875
|
# @return [Integer]
|
|
3727
3876
|
#
|
|
3728
3877
|
# @!attribute [rw] execution_statuses
|
|
3729
|
-
#
|
|
3730
|
-
#
|
|
3878
|
+
# An array of execution statuses to filter the history results. Only
|
|
3879
|
+
# executions with the specified statuses are returned.
|
|
3731
3880
|
# @return [Array<String>]
|
|
3732
3881
|
#
|
|
3733
3882
|
# @!attribute [rw] max_results
|
|
3734
|
-
# The maximum number of history records to return
|
|
3883
|
+
# The maximum number of history records to return. Valid range is 1 to
|
|
3884
|
+
# 1000.
|
|
3735
3885
|
# @return [Integer]
|
|
3736
3886
|
#
|
|
3737
3887
|
# @!attribute [rw] next_token
|
|
@@ -3761,7 +3911,7 @@ module Aws::CloudWatchLogs
|
|
|
3761
3911
|
# @return [String]
|
|
3762
3912
|
#
|
|
3763
3913
|
# @!attribute [rw] trigger_history
|
|
3764
|
-
#
|
|
3914
|
+
# An array of execution history records for the scheduled query.
|
|
3765
3915
|
# @return [Array<Types::TriggerHistoryRecord>]
|
|
3766
3916
|
#
|
|
3767
3917
|
# @!attribute [rw] next_token
|
|
@@ -3781,7 +3931,7 @@ module Aws::CloudWatchLogs
|
|
|
3781
3931
|
end
|
|
3782
3932
|
|
|
3783
3933
|
# @!attribute [rw] identifier
|
|
3784
|
-
# The
|
|
3934
|
+
# The ARN or name of the scheduled query to retrieve.
|
|
3785
3935
|
# @return [String]
|
|
3786
3936
|
#
|
|
3787
3937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetScheduledQueryRequest AWS API Documentation
|
|
@@ -3793,7 +3943,7 @@ module Aws::CloudWatchLogs
|
|
|
3793
3943
|
end
|
|
3794
3944
|
|
|
3795
3945
|
# @!attribute [rw] scheduled_query_arn
|
|
3796
|
-
# The
|
|
3946
|
+
# The ARN of the scheduled query.
|
|
3797
3947
|
# @return [String]
|
|
3798
3948
|
#
|
|
3799
3949
|
# @!attribute [rw] name
|
|
@@ -3805,16 +3955,15 @@ module Aws::CloudWatchLogs
|
|
|
3805
3955
|
# @return [String]
|
|
3806
3956
|
#
|
|
3807
3957
|
# @!attribute [rw] query_language
|
|
3808
|
-
# The query language used by the scheduled query
|
|
3809
|
-
# SQL).
|
|
3958
|
+
# The query language used by the scheduled query.
|
|
3810
3959
|
# @return [String]
|
|
3811
3960
|
#
|
|
3812
3961
|
# @!attribute [rw] query_string
|
|
3813
|
-
# The
|
|
3962
|
+
# The query string executed by the scheduled query.
|
|
3814
3963
|
# @return [String]
|
|
3815
3964
|
#
|
|
3816
3965
|
# @!attribute [rw] log_group_identifiers
|
|
3817
|
-
# The log
|
|
3966
|
+
# The log groups queried by the scheduled query.
|
|
3818
3967
|
# @return [Array<String>]
|
|
3819
3968
|
#
|
|
3820
3969
|
# @!attribute [rw] schedule_expression
|
|
@@ -3822,52 +3971,49 @@ module Aws::CloudWatchLogs
|
|
|
3822
3971
|
# @return [String]
|
|
3823
3972
|
#
|
|
3824
3973
|
# @!attribute [rw] timezone
|
|
3825
|
-
# The timezone
|
|
3974
|
+
# The timezone used for evaluating the schedule expression.
|
|
3826
3975
|
# @return [String]
|
|
3827
3976
|
#
|
|
3828
3977
|
# @!attribute [rw] start_time_offset
|
|
3829
|
-
#
|
|
3830
|
-
# query
|
|
3978
|
+
# The time offset in seconds that defines the lookback period for the
|
|
3979
|
+
# query.
|
|
3831
3980
|
# @return [Integer]
|
|
3832
3981
|
#
|
|
3833
3982
|
# @!attribute [rw] destination_configuration
|
|
3834
|
-
# Configuration for
|
|
3835
|
-
# delivered.
|
|
3983
|
+
# Configuration for where query results are delivered.
|
|
3836
3984
|
# @return [Types::DestinationConfiguration]
|
|
3837
3985
|
#
|
|
3838
3986
|
# @!attribute [rw] state
|
|
3839
|
-
# The current state of the scheduled query
|
|
3987
|
+
# The current state of the scheduled query.
|
|
3840
3988
|
# @return [String]
|
|
3841
3989
|
#
|
|
3842
3990
|
# @!attribute [rw] last_triggered_time
|
|
3843
|
-
# The
|
|
3844
|
-
# time.
|
|
3991
|
+
# The timestamp when the scheduled query was last executed.
|
|
3845
3992
|
# @return [Integer]
|
|
3846
3993
|
#
|
|
3847
3994
|
# @!attribute [rw] last_execution_status
|
|
3848
|
-
# The status of the
|
|
3849
|
-
# Timeout, or InvalidQuery).
|
|
3995
|
+
# The status of the most recent execution of the scheduled query.
|
|
3850
3996
|
# @return [String]
|
|
3851
3997
|
#
|
|
3852
3998
|
# @!attribute [rw] schedule_start_time
|
|
3853
|
-
# The start time for the query
|
|
3999
|
+
# The start time for the scheduled query in Unix epoch format.
|
|
3854
4000
|
# @return [Integer]
|
|
3855
4001
|
#
|
|
3856
4002
|
# @!attribute [rw] schedule_end_time
|
|
3857
|
-
# The end time for the query
|
|
4003
|
+
# The end time for the scheduled query in Unix epoch format.
|
|
3858
4004
|
# @return [Integer]
|
|
3859
4005
|
#
|
|
3860
4006
|
# @!attribute [rw] execution_role_arn
|
|
3861
|
-
# The ARN of the IAM role used to execute the
|
|
4007
|
+
# The ARN of the IAM role used to execute the query and deliver
|
|
4008
|
+
# results.
|
|
3862
4009
|
# @return [String]
|
|
3863
4010
|
#
|
|
3864
4011
|
# @!attribute [rw] creation_time
|
|
3865
|
-
# The
|
|
4012
|
+
# The timestamp when the scheduled query was created.
|
|
3866
4013
|
# @return [Integer]
|
|
3867
4014
|
#
|
|
3868
4015
|
# @!attribute [rw] last_updated_time
|
|
3869
|
-
# The
|
|
3870
|
-
# time.
|
|
4016
|
+
# The timestamp when the scheduled query was last updated.
|
|
3871
4017
|
# @return [Integer]
|
|
3872
4018
|
#
|
|
3873
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetScheduledQueryResponse AWS API Documentation
|
|
@@ -3975,6 +4121,29 @@ module Aws::CloudWatchLogs
|
|
|
3975
4121
|
include Aws::Structure
|
|
3976
4122
|
end
|
|
3977
4123
|
|
|
4124
|
+
# A key-value pair that identifies how log groups are grouped in
|
|
4125
|
+
# aggregate summaries.
|
|
4126
|
+
#
|
|
4127
|
+
# @!attribute [rw] key
|
|
4128
|
+
# The key that identifies the grouping characteristic. The format of
|
|
4129
|
+
# the key uses dot notation. Examples are, `dataSource.Name`,
|
|
4130
|
+
# `dataSource.Type`, and `dataSource.Format`.
|
|
4131
|
+
# @return [String]
|
|
4132
|
+
#
|
|
4133
|
+
# @!attribute [rw] value
|
|
4134
|
+
# The value associated with the grouping characteristic. Examples are
|
|
4135
|
+
# `amazon_vpc`, `flow`, and `OCSF`.
|
|
4136
|
+
# @return [String]
|
|
4137
|
+
#
|
|
4138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GroupingIdentifier AWS API Documentation
|
|
4139
|
+
#
|
|
4140
|
+
class GroupingIdentifier < Struct.new(
|
|
4141
|
+
:key,
|
|
4142
|
+
:value)
|
|
4143
|
+
SENSITIVE = []
|
|
4144
|
+
include Aws::Structure
|
|
4145
|
+
end
|
|
4146
|
+
|
|
3978
4147
|
# This structure contains information about one field index policy in
|
|
3979
4148
|
# this account.
|
|
3980
4149
|
#
|
|
@@ -4097,7 +4266,8 @@ module Aws::CloudWatchLogs
|
|
|
4097
4266
|
end
|
|
4098
4267
|
|
|
4099
4268
|
# An internal server error occurred while processing the request. This
|
|
4100
|
-
# is
|
|
4269
|
+
# exception is returned when the service encounters an unexpected
|
|
4270
|
+
# condition that prevents it from fulfilling the request.
|
|
4101
4271
|
#
|
|
4102
4272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InternalServerException AWS API Documentation
|
|
4103
4273
|
#
|
|
@@ -4156,6 +4326,104 @@ module Aws::CloudWatchLogs
|
|
|
4156
4326
|
#
|
|
4157
4327
|
class LimitExceededException < Aws::EmptyStructure; end
|
|
4158
4328
|
|
|
4329
|
+
# @!attribute [rw] account_identifiers
|
|
4330
|
+
# When `includeLinkedAccounts` is set to `true`, use this parameter to
|
|
4331
|
+
# specify the list of accounts to search. You can specify as many as
|
|
4332
|
+
# 20 account IDs in the array.
|
|
4333
|
+
# @return [Array<String>]
|
|
4334
|
+
#
|
|
4335
|
+
# @!attribute [rw] include_linked_accounts
|
|
4336
|
+
# If you are using a monitoring account, set this to `true` to have
|
|
4337
|
+
# the operation return log groups in the accounts listed in
|
|
4338
|
+
# `accountIdentifiers`.
|
|
4339
|
+
#
|
|
4340
|
+
# If this parameter is set to `true` and `accountIdentifiers` contains
|
|
4341
|
+
# a null value, the operation returns all log groups in the monitoring
|
|
4342
|
+
# account and all log groups in all source accounts that are linked to
|
|
4343
|
+
# the monitoring account.
|
|
4344
|
+
#
|
|
4345
|
+
# The default for this parameter is `false`.
|
|
4346
|
+
# @return [Boolean]
|
|
4347
|
+
#
|
|
4348
|
+
# @!attribute [rw] log_group_class
|
|
4349
|
+
# Filters the results by log group class to include only log groups of
|
|
4350
|
+
# the specified class.
|
|
4351
|
+
# @return [String]
|
|
4352
|
+
#
|
|
4353
|
+
# @!attribute [rw] log_group_name_pattern
|
|
4354
|
+
# Use this parameter to limit the returned log groups to only those
|
|
4355
|
+
# with names that match the pattern that you specify. This parameter
|
|
4356
|
+
# is a regular expression that can match prefixes and substrings, and
|
|
4357
|
+
# supports wildcard matching and matching multiple patterns, as in the
|
|
4358
|
+
# following examples.
|
|
4359
|
+
#
|
|
4360
|
+
# * Use `^` to match log group names by prefix.
|
|
4361
|
+
#
|
|
4362
|
+
# * For a substring match, specify the string to match. All matches
|
|
4363
|
+
# are case sensitive
|
|
4364
|
+
#
|
|
4365
|
+
# * To match multiple patterns, separate them with a `|` as in the
|
|
4366
|
+
# example `^/aws/lambda|discovery`
|
|
4367
|
+
#
|
|
4368
|
+
# You can specify as many as five different regular expression
|
|
4369
|
+
# patterns in this field, each of which must be between 3 and 24
|
|
4370
|
+
# characters. You can include the `^` symbol as many as five times,
|
|
4371
|
+
# and include the `|` symbol as many as four times.
|
|
4372
|
+
# @return [String]
|
|
4373
|
+
#
|
|
4374
|
+
# @!attribute [rw] data_sources
|
|
4375
|
+
# Filters the results by data source characteristics to include only
|
|
4376
|
+
# log groups associated with the specified data sources.
|
|
4377
|
+
# @return [Array<Types::DataSourceFilter>]
|
|
4378
|
+
#
|
|
4379
|
+
# @!attribute [rw] group_by
|
|
4380
|
+
# Specifies how to group the log groups in the summary.
|
|
4381
|
+
# @return [String]
|
|
4382
|
+
#
|
|
4383
|
+
# @!attribute [rw] next_token
|
|
4384
|
+
# The token for the next set of items to return. The token expires
|
|
4385
|
+
# after 24 hours.
|
|
4386
|
+
# @return [String]
|
|
4387
|
+
#
|
|
4388
|
+
# @!attribute [rw] limit
|
|
4389
|
+
# The maximum number of aggregated summaries to return. If you omit
|
|
4390
|
+
# this parameter, the default is up to 50 aggregated summaries.
|
|
4391
|
+
# @return [Integer]
|
|
4392
|
+
#
|
|
4393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListAggregateLogGroupSummariesRequest AWS API Documentation
|
|
4394
|
+
#
|
|
4395
|
+
class ListAggregateLogGroupSummariesRequest < Struct.new(
|
|
4396
|
+
:account_identifiers,
|
|
4397
|
+
:include_linked_accounts,
|
|
4398
|
+
:log_group_class,
|
|
4399
|
+
:log_group_name_pattern,
|
|
4400
|
+
:data_sources,
|
|
4401
|
+
:group_by,
|
|
4402
|
+
:next_token,
|
|
4403
|
+
:limit)
|
|
4404
|
+
SENSITIVE = []
|
|
4405
|
+
include Aws::Structure
|
|
4406
|
+
end
|
|
4407
|
+
|
|
4408
|
+
# @!attribute [rw] aggregate_log_group_summaries
|
|
4409
|
+
# The list of aggregate log group summaries grouped by the specified
|
|
4410
|
+
# data source characteristics.
|
|
4411
|
+
# @return [Array<Types::AggregateLogGroupSummary>]
|
|
4412
|
+
#
|
|
4413
|
+
# @!attribute [rw] next_token
|
|
4414
|
+
# The token for the next set of items to return. The token expires
|
|
4415
|
+
# after 24 hours.
|
|
4416
|
+
# @return [String]
|
|
4417
|
+
#
|
|
4418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListAggregateLogGroupSummariesResponse AWS API Documentation
|
|
4419
|
+
#
|
|
4420
|
+
class ListAggregateLogGroupSummariesResponse < Struct.new(
|
|
4421
|
+
:aggregate_log_group_summaries,
|
|
4422
|
+
:next_token)
|
|
4423
|
+
SENSITIVE = []
|
|
4424
|
+
include Aws::Structure
|
|
4425
|
+
end
|
|
4426
|
+
|
|
4159
4427
|
# @!attribute [rw] anomaly_detector_arn
|
|
4160
4428
|
# Use this to optionally limit the results to only the anomalies found
|
|
4161
4429
|
# by a certain anomaly detector.
|
|
@@ -4392,6 +4660,21 @@ module Aws::CloudWatchLogs
|
|
|
4392
4660
|
# parameter, the default is up to 50 log groups.
|
|
4393
4661
|
# @return [Integer]
|
|
4394
4662
|
#
|
|
4663
|
+
# @!attribute [rw] data_sources
|
|
4664
|
+
# An array of data source filters to filter log groups by their
|
|
4665
|
+
# associated data sources. You can filter by data source name, type,
|
|
4666
|
+
# or both. Multiple filters within the same dimension are combined
|
|
4667
|
+
# with OR logic, while filters across different dimensions are
|
|
4668
|
+
# combined with AND logic.
|
|
4669
|
+
# @return [Array<Types::DataSourceFilter>]
|
|
4670
|
+
#
|
|
4671
|
+
# @!attribute [rw] field_index_names
|
|
4672
|
+
# An array of field index names to filter log groups that have
|
|
4673
|
+
# specific field indexes. Only log groups containing all specified
|
|
4674
|
+
# field indexes are returned. You can specify 1 to 20 field index
|
|
4675
|
+
# names, each with 1 to 512 characters.
|
|
4676
|
+
# @return [Array<String>]
|
|
4677
|
+
#
|
|
4395
4678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListLogGroupsRequest AWS API Documentation
|
|
4396
4679
|
#
|
|
4397
4680
|
class ListLogGroupsRequest < Struct.new(
|
|
@@ -4400,7 +4683,9 @@ module Aws::CloudWatchLogs
|
|
|
4400
4683
|
:include_linked_accounts,
|
|
4401
4684
|
:account_identifiers,
|
|
4402
4685
|
:next_token,
|
|
4403
|
-
:limit
|
|
4686
|
+
:limit,
|
|
4687
|
+
:data_sources,
|
|
4688
|
+
:field_index_names)
|
|
4404
4689
|
SENSITIVE = []
|
|
4405
4690
|
include Aws::Structure
|
|
4406
4691
|
end
|
|
@@ -4425,7 +4710,8 @@ module Aws::CloudWatchLogs
|
|
|
4425
4710
|
end
|
|
4426
4711
|
|
|
4427
4712
|
# @!attribute [rw] max_results
|
|
4428
|
-
# The maximum number of scheduled queries to return
|
|
4713
|
+
# The maximum number of scheduled queries to return. Valid range is 1
|
|
4714
|
+
# to 1000.
|
|
4429
4715
|
# @return [Integer]
|
|
4430
4716
|
#
|
|
4431
4717
|
# @!attribute [rw] next_token
|
|
@@ -4434,8 +4720,8 @@ module Aws::CloudWatchLogs
|
|
|
4434
4720
|
# @return [String]
|
|
4435
4721
|
#
|
|
4436
4722
|
# @!attribute [rw] state
|
|
4437
|
-
# Filter
|
|
4438
|
-
# DISABLED
|
|
4723
|
+
# Filter scheduled queries by state. Valid values are `ENABLED` and
|
|
4724
|
+
# `DISABLED`. If not specified, all scheduled queries are returned.
|
|
4439
4725
|
# @return [String]
|
|
4440
4726
|
#
|
|
4441
4727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListScheduledQueriesRequest AWS API Documentation
|
|
@@ -4454,7 +4740,7 @@ module Aws::CloudWatchLogs
|
|
|
4454
4740
|
# @return [String]
|
|
4455
4741
|
#
|
|
4456
4742
|
# @!attribute [rw] scheduled_queries
|
|
4457
|
-
#
|
|
4743
|
+
# An array of scheduled query summary information.
|
|
4458
4744
|
# @return [Array<Types::ScheduledQuerySummary>]
|
|
4459
4745
|
#
|
|
4460
4746
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListScheduledQueriesResponse AWS API Documentation
|
|
@@ -4466,6 +4752,50 @@ module Aws::CloudWatchLogs
|
|
|
4466
4752
|
include Aws::Structure
|
|
4467
4753
|
end
|
|
4468
4754
|
|
|
4755
|
+
# @!attribute [rw] integration_arn
|
|
4756
|
+
# The Amazon Resource Name (ARN) of the S3 Table Integration to list
|
|
4757
|
+
# associations for.
|
|
4758
|
+
# @return [String]
|
|
4759
|
+
#
|
|
4760
|
+
# @!attribute [rw] max_results
|
|
4761
|
+
# The maximum number of associations to return in a single call. Valid
|
|
4762
|
+
# range is 1 to 100.
|
|
4763
|
+
# @return [Integer]
|
|
4764
|
+
#
|
|
4765
|
+
# @!attribute [rw] next_token
|
|
4766
|
+
# The token for the next set of items to return. The token expires
|
|
4767
|
+
# after 24 hours.
|
|
4768
|
+
# @return [String]
|
|
4769
|
+
#
|
|
4770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSourcesForS3TableIntegrationRequest AWS API Documentation
|
|
4771
|
+
#
|
|
4772
|
+
class ListSourcesForS3TableIntegrationRequest < Struct.new(
|
|
4773
|
+
:integration_arn,
|
|
4774
|
+
:max_results,
|
|
4775
|
+
:next_token)
|
|
4776
|
+
SENSITIVE = []
|
|
4777
|
+
include Aws::Structure
|
|
4778
|
+
end
|
|
4779
|
+
|
|
4780
|
+
# @!attribute [rw] sources
|
|
4781
|
+
# The list of data source associations for the specified S3 Table
|
|
4782
|
+
# Integration.
|
|
4783
|
+
# @return [Array<Types::S3TableIntegrationSource>]
|
|
4784
|
+
#
|
|
4785
|
+
# @!attribute [rw] next_token
|
|
4786
|
+
# The token for the next set of items to return. The token expires
|
|
4787
|
+
# after 24 hours.
|
|
4788
|
+
# @return [String]
|
|
4789
|
+
#
|
|
4790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListSourcesForS3TableIntegrationResponse AWS API Documentation
|
|
4791
|
+
#
|
|
4792
|
+
class ListSourcesForS3TableIntegrationResponse < Struct.new(
|
|
4793
|
+
:sources,
|
|
4794
|
+
:next_token)
|
|
4795
|
+
SENSITIVE = []
|
|
4796
|
+
include Aws::Structure
|
|
4797
|
+
end
|
|
4798
|
+
|
|
4469
4799
|
# @!attribute [rw] resource_arn
|
|
4470
4800
|
# The ARN of the resource that you want to view tags for.
|
|
4471
4801
|
#
|
|
@@ -4749,6 +5079,52 @@ module Aws::CloudWatchLogs
|
|
|
4749
5079
|
include Aws::Structure
|
|
4750
5080
|
end
|
|
4751
5081
|
|
|
5082
|
+
# Defines the data type structure for a log field, including the type,
|
|
5083
|
+
# element information, and nested fields for complex types.
|
|
5084
|
+
#
|
|
5085
|
+
# @!attribute [rw] type
|
|
5086
|
+
# The data type of the log field.
|
|
5087
|
+
# @return [String]
|
|
5088
|
+
#
|
|
5089
|
+
# @!attribute [rw] element
|
|
5090
|
+
# For array or collection types, specifies the element type
|
|
5091
|
+
# information.
|
|
5092
|
+
# @return [Types::LogFieldType]
|
|
5093
|
+
#
|
|
5094
|
+
# @!attribute [rw] fields
|
|
5095
|
+
# For complex types, contains the nested field definitions.
|
|
5096
|
+
# @return [Array<Types::LogFieldsListItem>]
|
|
5097
|
+
#
|
|
5098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogFieldType AWS API Documentation
|
|
5099
|
+
#
|
|
5100
|
+
class LogFieldType < Struct.new(
|
|
5101
|
+
:type,
|
|
5102
|
+
:element,
|
|
5103
|
+
:fields)
|
|
5104
|
+
SENSITIVE = []
|
|
5105
|
+
include Aws::Structure
|
|
5106
|
+
end
|
|
5107
|
+
|
|
5108
|
+
# Represents a log field with its name and data type information for a
|
|
5109
|
+
# specific data source.
|
|
5110
|
+
#
|
|
5111
|
+
# @!attribute [rw] log_field_name
|
|
5112
|
+
# The name of the log field.
|
|
5113
|
+
# @return [String]
|
|
5114
|
+
#
|
|
5115
|
+
# @!attribute [rw] log_field_type
|
|
5116
|
+
# The data type information for the log field.
|
|
5117
|
+
# @return [Types::LogFieldType]
|
|
5118
|
+
#
|
|
5119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogFieldsListItem AWS API Documentation
|
|
5120
|
+
#
|
|
5121
|
+
class LogFieldsListItem < Struct.new(
|
|
5122
|
+
:log_field_name,
|
|
5123
|
+
:log_field_type)
|
|
5124
|
+
SENSITIVE = []
|
|
5125
|
+
include Aws::Structure
|
|
5126
|
+
end
|
|
5127
|
+
|
|
4752
5128
|
# Represents a log group.
|
|
4753
5129
|
#
|
|
4754
5130
|
# @!attribute [rw] log_group_name
|
|
@@ -5966,10 +6342,7 @@ module Aws::CloudWatchLogs
|
|
|
5966
6342
|
# @return [String]
|
|
5967
6343
|
#
|
|
5968
6344
|
# @!attribute [rw] mapping_version
|
|
5969
|
-
#
|
|
5970
|
-
# Framework (OCSF) transformer being used to parse OCSF data. Defaults
|
|
5971
|
-
# to the latest version if not specified. Does not automatically
|
|
5972
|
-
# update.
|
|
6345
|
+
# The version of the OCSF mapping to use for parsing log data.
|
|
5973
6346
|
# @return [String]
|
|
5974
6347
|
#
|
|
5975
6348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ParseToOCSF AWS API Documentation
|
|
@@ -7933,17 +8306,17 @@ module Aws::CloudWatchLogs
|
|
|
7933
8306
|
include Aws::Structure
|
|
7934
8307
|
end
|
|
7935
8308
|
|
|
7936
|
-
# Configuration
|
|
7937
|
-
#
|
|
8309
|
+
# Configuration for Amazon S3 destination where scheduled query results
|
|
8310
|
+
# are delivered.
|
|
7938
8311
|
#
|
|
7939
8312
|
# @!attribute [rw] destination_identifier
|
|
7940
|
-
# The S3 URI where query results
|
|
7941
|
-
#
|
|
8313
|
+
# The Amazon S3 URI where query results are delivered. Must be a valid
|
|
8314
|
+
# S3 URI format.
|
|
7942
8315
|
# @return [String]
|
|
7943
8316
|
#
|
|
7944
8317
|
# @!attribute [rw] role_arn
|
|
7945
|
-
# The ARN of the IAM role that
|
|
7946
|
-
# results to the S3
|
|
8318
|
+
# The ARN of the IAM role that grants permissions to write query
|
|
8319
|
+
# results to the specified Amazon S3 destination.
|
|
7947
8320
|
# @return [String]
|
|
7948
8321
|
#
|
|
7949
8322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3Configuration AWS API Documentation
|
|
@@ -7985,28 +8358,63 @@ module Aws::CloudWatchLogs
|
|
|
7985
8358
|
include Aws::Structure
|
|
7986
8359
|
end
|
|
7987
8360
|
|
|
8361
|
+
# Represents a data source association with an S3 Table Integration,
|
|
8362
|
+
# including its status and metadata.
|
|
8363
|
+
#
|
|
8364
|
+
# @!attribute [rw] identifier
|
|
8365
|
+
# The unique identifier for this data source association.
|
|
8366
|
+
# @return [String]
|
|
8367
|
+
#
|
|
8368
|
+
# @!attribute [rw] data_source
|
|
8369
|
+
# The data source associated with the S3 Table Integration.
|
|
8370
|
+
# @return [Types::DataSource]
|
|
8371
|
+
#
|
|
8372
|
+
# @!attribute [rw] status
|
|
8373
|
+
# The current status of the data source association.
|
|
8374
|
+
# @return [String]
|
|
8375
|
+
#
|
|
8376
|
+
# @!attribute [rw] status_reason
|
|
8377
|
+
# Additional information about the status of the data source
|
|
8378
|
+
# association.
|
|
8379
|
+
# @return [String]
|
|
8380
|
+
#
|
|
8381
|
+
# @!attribute [rw] created_time_stamp
|
|
8382
|
+
# The timestamp when the data source association was created.
|
|
8383
|
+
# @return [Integer]
|
|
8384
|
+
#
|
|
8385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3TableIntegrationSource AWS API Documentation
|
|
8386
|
+
#
|
|
8387
|
+
class S3TableIntegrationSource < Struct.new(
|
|
8388
|
+
:identifier,
|
|
8389
|
+
:data_source,
|
|
8390
|
+
:status,
|
|
8391
|
+
:status_reason,
|
|
8392
|
+
:created_time_stamp)
|
|
8393
|
+
SENSITIVE = []
|
|
8394
|
+
include Aws::Structure
|
|
8395
|
+
end
|
|
8396
|
+
|
|
7988
8397
|
# Information about a destination where scheduled query results are
|
|
7989
|
-
# processed and
|
|
8398
|
+
# processed, including processing status and any error messages.
|
|
7990
8399
|
#
|
|
7991
8400
|
# @!attribute [rw] destination_type
|
|
7992
|
-
# The type of destination
|
|
8401
|
+
# The type of destination for query results.
|
|
7993
8402
|
# @return [String]
|
|
7994
8403
|
#
|
|
7995
8404
|
# @!attribute [rw] destination_identifier
|
|
7996
|
-
# The destination
|
|
8405
|
+
# The identifier for the destination where results are delivered.
|
|
7997
8406
|
# @return [String]
|
|
7998
8407
|
#
|
|
7999
8408
|
# @!attribute [rw] status
|
|
8000
|
-
# The processing status
|
|
8001
|
-
# FAILED, or COMPLETE).
|
|
8409
|
+
# The processing status of the destination delivery.
|
|
8002
8410
|
# @return [String]
|
|
8003
8411
|
#
|
|
8004
8412
|
# @!attribute [rw] processed_identifier
|
|
8005
|
-
# The processed
|
|
8413
|
+
# The identifier of the processed result at the destination.
|
|
8006
8414
|
# @return [String]
|
|
8007
8415
|
#
|
|
8008
8416
|
# @!attribute [rw] error_message
|
|
8009
|
-
# Error message if
|
|
8417
|
+
# Error message if destination processing failed.
|
|
8010
8418
|
# @return [String]
|
|
8011
8419
|
#
|
|
8012
8420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ScheduledQueryDestination AWS API Documentation
|
|
@@ -8021,7 +8429,8 @@ module Aws::CloudWatchLogs
|
|
|
8021
8429
|
include Aws::Structure
|
|
8022
8430
|
end
|
|
8023
8431
|
|
|
8024
|
-
# Summary information about a scheduled query,
|
|
8432
|
+
# Summary information about a scheduled query, including basic
|
|
8433
|
+
# configuration and execution status.
|
|
8025
8434
|
#
|
|
8026
8435
|
# @!attribute [rw] scheduled_query_arn
|
|
8027
8436
|
# The ARN of the scheduled query.
|
|
@@ -8032,16 +8441,15 @@ module Aws::CloudWatchLogs
|
|
|
8032
8441
|
# @return [String]
|
|
8033
8442
|
#
|
|
8034
8443
|
# @!attribute [rw] state
|
|
8035
|
-
# The current state of the scheduled query
|
|
8444
|
+
# The current state of the scheduled query.
|
|
8036
8445
|
# @return [String]
|
|
8037
8446
|
#
|
|
8038
8447
|
# @!attribute [rw] last_triggered_time
|
|
8039
|
-
# The
|
|
8448
|
+
# The timestamp when the scheduled query was last executed.
|
|
8040
8449
|
# @return [Integer]
|
|
8041
8450
|
#
|
|
8042
8451
|
# @!attribute [rw] last_execution_status
|
|
8043
|
-
# The status of the
|
|
8044
|
-
# Timeout, or InvalidQuery).
|
|
8452
|
+
# The status of the most recent execution.
|
|
8045
8453
|
# @return [String]
|
|
8046
8454
|
#
|
|
8047
8455
|
# @!attribute [rw] schedule_expression
|
|
@@ -8049,20 +8457,19 @@ module Aws::CloudWatchLogs
|
|
|
8049
8457
|
# @return [String]
|
|
8050
8458
|
#
|
|
8051
8459
|
# @!attribute [rw] timezone
|
|
8052
|
-
# The timezone
|
|
8460
|
+
# The timezone used for evaluating the schedule expression.
|
|
8053
8461
|
# @return [String]
|
|
8054
8462
|
#
|
|
8055
8463
|
# @!attribute [rw] destination_configuration
|
|
8056
|
-
# Configuration for
|
|
8057
|
-
# delivered.
|
|
8464
|
+
# Configuration for where query results are delivered.
|
|
8058
8465
|
# @return [Types::DestinationConfiguration]
|
|
8059
8466
|
#
|
|
8060
8467
|
# @!attribute [rw] creation_time
|
|
8061
|
-
# The
|
|
8468
|
+
# The timestamp when the scheduled query was created.
|
|
8062
8469
|
# @return [Integer]
|
|
8063
8470
|
#
|
|
8064
8471
|
# @!attribute [rw] last_updated_time
|
|
8065
|
-
# The
|
|
8472
|
+
# The timestamp when the scheduled query was last updated.
|
|
8066
8473
|
# @return [Integer]
|
|
8067
8474
|
#
|
|
8068
8475
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ScheduledQuerySummary AWS API Documentation
|
|
@@ -8728,32 +9135,27 @@ module Aws::CloudWatchLogs
|
|
|
8728
9135
|
include Aws::Structure
|
|
8729
9136
|
end
|
|
8730
9137
|
|
|
8731
|
-
# A record of a scheduled query execution, including
|
|
8732
|
-
# destination processing
|
|
9138
|
+
# A record of a scheduled query execution, including execution status,
|
|
9139
|
+
# timestamp, and destination processing results.
|
|
8733
9140
|
#
|
|
8734
9141
|
# @!attribute [rw] query_id
|
|
8735
|
-
# The unique identifier for
|
|
9142
|
+
# The unique identifier for this query execution.
|
|
8736
9143
|
# @return [String]
|
|
8737
9144
|
#
|
|
8738
9145
|
# @!attribute [rw] execution_status
|
|
8739
|
-
# The status of the query
|
|
8740
|
-
# Timeout, or InvalidQuery).
|
|
9146
|
+
# The execution status of the scheduled query run.
|
|
8741
9147
|
# @return [String]
|
|
8742
9148
|
#
|
|
8743
9149
|
# @!attribute [rw] triggered_timestamp
|
|
8744
|
-
# The
|
|
9150
|
+
# The timestamp when the scheduled query execution was triggered.
|
|
8745
9151
|
# @return [Integer]
|
|
8746
9152
|
#
|
|
8747
9153
|
# @!attribute [rw] error_message
|
|
8748
|
-
#
|
|
8749
|
-
# field is only populated when the execution status indicates a
|
|
8750
|
-
# failure.
|
|
9154
|
+
# Error message if the query execution failed.
|
|
8751
9155
|
# @return [String]
|
|
8752
9156
|
#
|
|
8753
9157
|
# @!attribute [rw] destinations
|
|
8754
|
-
#
|
|
8755
|
-
# delivered for this execution. This includes S3 buckets configured
|
|
8756
|
-
# for the scheduled query.
|
|
9158
|
+
# Information about destination processing for this query execution.
|
|
8757
9159
|
# @return [Array<Types::ScheduledQueryDestination>]
|
|
8758
9160
|
#
|
|
8759
9161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TriggerHistoryRecord AWS API Documentation
|
|
@@ -9034,58 +9436,58 @@ module Aws::CloudWatchLogs
|
|
|
9034
9436
|
end
|
|
9035
9437
|
|
|
9036
9438
|
# @!attribute [rw] identifier
|
|
9037
|
-
# The
|
|
9439
|
+
# The ARN or name of the scheduled query to update.
|
|
9038
9440
|
# @return [String]
|
|
9039
9441
|
#
|
|
9040
9442
|
# @!attribute [rw] description
|
|
9041
|
-
#
|
|
9443
|
+
# An updated description for the scheduled query.
|
|
9042
9444
|
# @return [String]
|
|
9043
9445
|
#
|
|
9044
9446
|
# @!attribute [rw] query_language
|
|
9045
|
-
#
|
|
9447
|
+
# The updated query language for the scheduled query.
|
|
9046
9448
|
# @return [String]
|
|
9047
9449
|
#
|
|
9048
9450
|
# @!attribute [rw] query_string
|
|
9049
|
-
#
|
|
9451
|
+
# The updated query string to execute.
|
|
9050
9452
|
# @return [String]
|
|
9051
9453
|
#
|
|
9052
9454
|
# @!attribute [rw] log_group_identifiers
|
|
9053
|
-
#
|
|
9455
|
+
# The updated array of log group names or ARNs to query.
|
|
9054
9456
|
# @return [Array<String>]
|
|
9055
9457
|
#
|
|
9056
9458
|
# @!attribute [rw] schedule_expression
|
|
9057
|
-
#
|
|
9459
|
+
# The updated cron expression that defines when the scheduled query
|
|
9460
|
+
# runs.
|
|
9058
9461
|
# @return [String]
|
|
9059
9462
|
#
|
|
9060
9463
|
# @!attribute [rw] timezone
|
|
9061
|
-
#
|
|
9464
|
+
# The updated timezone for evaluating the schedule expression.
|
|
9062
9465
|
# @return [String]
|
|
9063
9466
|
#
|
|
9064
9467
|
# @!attribute [rw] start_time_offset
|
|
9065
|
-
#
|
|
9066
|
-
#
|
|
9468
|
+
# The updated time offset in seconds that defines the lookback period
|
|
9469
|
+
# for the query.
|
|
9067
9470
|
# @return [Integer]
|
|
9068
9471
|
#
|
|
9069
9472
|
# @!attribute [rw] destination_configuration
|
|
9070
|
-
#
|
|
9071
|
-
# be delivered.
|
|
9473
|
+
# The updated configuration for where to deliver query results.
|
|
9072
9474
|
# @return [Types::DestinationConfiguration]
|
|
9073
9475
|
#
|
|
9074
9476
|
# @!attribute [rw] schedule_start_time
|
|
9075
|
-
#
|
|
9477
|
+
# The updated start time for the scheduled query in Unix epoch format.
|
|
9076
9478
|
# @return [Integer]
|
|
9077
9479
|
#
|
|
9078
9480
|
# @!attribute [rw] schedule_end_time
|
|
9079
|
-
#
|
|
9481
|
+
# The updated end time for the scheduled query in Unix epoch format.
|
|
9080
9482
|
# @return [Integer]
|
|
9081
9483
|
#
|
|
9082
9484
|
# @!attribute [rw] execution_role_arn
|
|
9083
|
-
#
|
|
9084
|
-
#
|
|
9485
|
+
# The updated ARN of the IAM role that grants permissions to execute
|
|
9486
|
+
# the query and deliver results.
|
|
9085
9487
|
# @return [String]
|
|
9086
9488
|
#
|
|
9087
9489
|
# @!attribute [rw] state
|
|
9088
|
-
#
|
|
9490
|
+
# The updated state of the scheduled query.
|
|
9089
9491
|
# @return [String]
|
|
9090
9492
|
#
|
|
9091
9493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateScheduledQueryRequest AWS API Documentation
|
|
@@ -9121,7 +9523,7 @@ module Aws::CloudWatchLogs
|
|
|
9121
9523
|
# @return [String]
|
|
9122
9524
|
#
|
|
9123
9525
|
# @!attribute [rw] query_language
|
|
9124
|
-
# The query language
|
|
9526
|
+
# The query language of the updated scheduled query.
|
|
9125
9527
|
# @return [String]
|
|
9126
9528
|
#
|
|
9127
9529
|
# @!attribute [rw] query_string
|
|
@@ -9129,11 +9531,11 @@ module Aws::CloudWatchLogs
|
|
|
9129
9531
|
# @return [String]
|
|
9130
9532
|
#
|
|
9131
9533
|
# @!attribute [rw] log_group_identifiers
|
|
9132
|
-
# The log
|
|
9534
|
+
# The log groups queried by the updated scheduled query.
|
|
9133
9535
|
# @return [Array<String>]
|
|
9134
9536
|
#
|
|
9135
9537
|
# @!attribute [rw] schedule_expression
|
|
9136
|
-
# The
|
|
9538
|
+
# The cron expression of the updated scheduled query.
|
|
9137
9539
|
# @return [String]
|
|
9138
9540
|
#
|
|
9139
9541
|
# @!attribute [rw] timezone
|
|
@@ -9141,7 +9543,7 @@ module Aws::CloudWatchLogs
|
|
|
9141
9543
|
# @return [String]
|
|
9142
9544
|
#
|
|
9143
9545
|
# @!attribute [rw] start_time_offset
|
|
9144
|
-
# The
|
|
9546
|
+
# The time offset of the updated scheduled query.
|
|
9145
9547
|
# @return [Integer]
|
|
9146
9548
|
#
|
|
9147
9549
|
# @!attribute [rw] destination_configuration
|
|
@@ -9153,20 +9555,20 @@ module Aws::CloudWatchLogs
|
|
|
9153
9555
|
# @return [String]
|
|
9154
9556
|
#
|
|
9155
9557
|
# @!attribute [rw] last_triggered_time
|
|
9156
|
-
# The
|
|
9558
|
+
# The timestamp when the updated scheduled query was last executed.
|
|
9157
9559
|
# @return [Integer]
|
|
9158
9560
|
#
|
|
9159
9561
|
# @!attribute [rw] last_execution_status
|
|
9160
|
-
# The status of the
|
|
9161
|
-
#
|
|
9562
|
+
# The status of the most recent execution of the updated scheduled
|
|
9563
|
+
# query.
|
|
9162
9564
|
# @return [String]
|
|
9163
9565
|
#
|
|
9164
9566
|
# @!attribute [rw] schedule_start_time
|
|
9165
|
-
# The
|
|
9567
|
+
# The start time of the updated scheduled query.
|
|
9166
9568
|
# @return [Integer]
|
|
9167
9569
|
#
|
|
9168
9570
|
# @!attribute [rw] schedule_end_time
|
|
9169
|
-
# The
|
|
9571
|
+
# The end time of the updated scheduled query.
|
|
9170
9572
|
# @return [Integer]
|
|
9171
9573
|
#
|
|
9172
9574
|
# @!attribute [rw] execution_role_arn
|
|
@@ -9174,11 +9576,11 @@ module Aws::CloudWatchLogs
|
|
|
9174
9576
|
# @return [String]
|
|
9175
9577
|
#
|
|
9176
9578
|
# @!attribute [rw] creation_time
|
|
9177
|
-
# The
|
|
9579
|
+
# The timestamp when the scheduled query was originally created.
|
|
9178
9580
|
# @return [Integer]
|
|
9179
9581
|
#
|
|
9180
9582
|
# @!attribute [rw] last_updated_time
|
|
9181
|
-
# The
|
|
9583
|
+
# The timestamp when the scheduled query was last updated.
|
|
9182
9584
|
# @return [Integer]
|
|
9183
9585
|
#
|
|
9184
9586
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateScheduledQueryResponse AWS API Documentation
|