aws-sdk-cloudwatchlogs 1.132.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.
@@ -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
  #
@@ -930,13 +987,21 @@ module Aws::CloudWatchLogs
930
987
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html
931
988
  # @return [String]
932
989
  #
990
+ # @!attribute [rw] deletion_protection_enabled
991
+ # Use this parameter to enable deletion protection for the new log
992
+ # group. When enabled on a log group, deletion protection blocks all
993
+ # deletion operations until it is explicitly disabled. By default log
994
+ # groups are created without deletion protection enabled.
995
+ # @return [Boolean]
996
+ #
933
997
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest AWS API Documentation
934
998
  #
935
999
  class CreateLogGroupRequest < Struct.new(
936
1000
  :log_group_name,
937
1001
  :kms_key_id,
938
1002
  :tags,
939
- :log_group_class)
1003
+ :log_group_class,
1004
+ :deletion_protection_enabled)
940
1005
  SENSITIVE = []
941
1006
  include Aws::Structure
942
1007
  end
@@ -959,92 +1024,81 @@ module Aws::CloudWatchLogs
959
1024
  end
960
1025
 
961
1026
  # @!attribute [rw] name
962
- # A unique name for the scheduled query within the region for an AWS
963
- # account. The name can contain letters, numbers, underscores,
964
- # hyphens, forward slashes, periods, and hash symbols.
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.
965
1031
  # @return [String]
966
1032
  #
967
1033
  # @!attribute [rw] description
968
1034
  # An optional description for the scheduled query to help identify its
969
- # purpose.
1035
+ # purpose and functionality.
970
1036
  # @return [String]
971
1037
  #
972
1038
  # @!attribute [rw] query_language
973
1039
  # The query language to use for the scheduled query. Valid values are
974
- # LogsQL (CloudWatch Logs Insights query language), PPL (OpenSearch
975
- # Service Piped Processing Language), and SQL (OpenSearch Service
976
- # Structured Query Language).
1040
+ # `LogsQL`, `PPL`, and `SQL`.
977
1041
  # @return [String]
978
1042
  #
979
1043
  # @!attribute [rw] query_string
980
- # The CloudWatch Logs Insights query string to execute. This is the
981
- # actual query that will be run against your log data on the specified
982
- # 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.
983
1046
  # @return [String]
984
1047
  #
985
1048
  # @!attribute [rw] log_group_identifiers
986
- # The log group identifiers to query. You can specify log group names
987
- # or log group ARNs. If querying log groups in a source account from a
988
- # monitoring account, you must specify the ARN of the log group.
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.
989
1052
  # @return [Array<String>]
990
1053
  #
991
1054
  # @!attribute [rw] schedule_expression
992
1055
  # A cron expression that defines when the scheduled query runs. The
993
- # format is cron(fields) where fields consist of six space-separated
994
- # values: minutes, hours, day\_of\_month, month, day\_of\_week, year.
1056
+ # expression uses standard cron syntax and supports minute-level
1057
+ # precision. Maximum length is 256 characters.
995
1058
  # @return [String]
996
1059
  #
997
1060
  # @!attribute [rw] timezone
998
- # The timezone in which the schedule expression is evaluated. If not
999
- # provided, defaults to UTC.
1061
+ # The timezone for evaluating the schedule expression. This determines
1062
+ # when the scheduled query executes relative to the specified
1063
+ # timezone.
1000
1064
  # @return [String]
1001
1065
  #
1002
1066
  # @!attribute [rw] start_time_offset
1003
- # Time offset in seconds from the execution time for the start of the
1004
- # query time range. This defines the lookback period for the query
1005
- # (for example, 3600 for the last hour).
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.
1006
1070
  # @return [Integer]
1007
1071
  #
1008
1072
  # @!attribute [rw] destination_configuration
1009
- # Configuration for destinations where the query results will be
1010
- # delivered after successful execution. You can configure delivery to
1011
- # S3 buckets or EventBridge event buses.
1073
+ # Configuration for where to deliver query results. Currently supports
1074
+ # Amazon S3 destinations for storing query output.
1012
1075
  # @return [Types::DestinationConfiguration]
1013
1076
  #
1014
1077
  # @!attribute [rw] schedule_start_time
1015
- # The start time for the query schedule in Unix epoch time (seconds
1016
- # since January 1, 1970, 00:00:00 UTC). If not specified, the schedule
1017
- # starts immediately.
1078
+ # The start time for the scheduled query in Unix epoch format. The
1079
+ # query will not execute before this time.
1018
1080
  # @return [Integer]
1019
1081
  #
1020
1082
  # @!attribute [rw] schedule_end_time
1021
- # The end time for the query schedule in Unix epoch time (seconds
1022
- # since January 1, 1970, 00:00:00 UTC). If not specified, the schedule
1023
- # runs indefinitely.
1083
+ # The end time for the scheduled query in Unix epoch format. The query
1084
+ # will stop executing after this time.
1024
1085
  # @return [Integer]
1025
1086
  #
1026
1087
  # @!attribute [rw] execution_role_arn
1027
- # The Amazon Resource Name (ARN) of the IAM role that CloudWatch Logs
1028
- # will assume to execute the scheduled query and deliver results to
1029
- # the specified destinations.
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.
1030
1092
  # @return [String]
1031
1093
  #
1032
1094
  # @!attribute [rw] state
1033
- # The initial state of the scheduled query. Valid values are ENABLED
1034
- # (the query will run according to its schedule) and DISABLED (the
1035
- # query is paused and will not run). If not provided, defaults to
1036
- # ENABLED.
1095
+ # The initial state of the scheduled query. Valid values are `ENABLED`
1096
+ # and `DISABLED`. Default is `ENABLED`.
1037
1097
  # @return [String]
1038
1098
  #
1039
1099
  # @!attribute [rw] tags
1040
- # An optional list of key-value pairs to associate with the resource.
1041
- #
1042
- # For more information about tagging, see [Tagging Amazon Web Services
1043
- # resources][1]
1044
- #
1045
- #
1046
- #
1047
- # [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.
1048
1102
  # @return [Hash<String,String>]
1049
1103
  #
1050
1104
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateScheduledQueryRequest AWS API Documentation
@@ -1069,11 +1123,11 @@ module Aws::CloudWatchLogs
1069
1123
  end
1070
1124
 
1071
1125
  # @!attribute [rw] scheduled_query_arn
1072
- # The Amazon Resource Name (ARN) of the created scheduled query.
1126
+ # The ARN of the created scheduled query.
1073
1127
  # @return [String]
1074
1128
  #
1075
1129
  # @!attribute [rw] state
1076
- # The current state of the scheduled query (ENABLED or DISABLED).
1130
+ # The current state of the scheduled query.
1077
1131
  # @return [String]
1078
1132
  #
1079
1133
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateScheduledQueryResponse AWS API Documentation
@@ -1102,6 +1156,47 @@ module Aws::CloudWatchLogs
1102
1156
  include Aws::Structure
1103
1157
  end
1104
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
+
1105
1200
  # This processor converts a datetime string into a format that you
1106
1201
  # specify.
1107
1202
  #
@@ -1464,7 +1559,7 @@ module Aws::CloudWatchLogs
1464
1559
  end
1465
1560
 
1466
1561
  # @!attribute [rw] identifier
1467
- # The name or ARN of the scheduled query to delete.
1562
+ # The ARN or name of the scheduled query to delete.
1468
1563
  # @return [String]
1469
1564
  #
1470
1565
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteScheduledQueryRequest AWS API Documentation
@@ -2695,11 +2790,11 @@ module Aws::CloudWatchLogs
2695
2790
  include Aws::Structure
2696
2791
  end
2697
2792
 
2698
- # Configuration for destinations where scheduled query results are
2699
- # delivered, such as S3 buckets or EventBridge event buses.
2793
+ # Configuration for where to deliver scheduled query results. Specifies
2794
+ # the destination type and associated settings for result delivery.
2700
2795
  #
2701
2796
  # @!attribute [rw] s3_configuration
2702
- # Configuration for delivering query results to an Amazon S3 bucket.
2797
+ # Configuration for delivering query results to Amazon S3.
2703
2798
  # @return [Types::S3Configuration]
2704
2799
  #
2705
2800
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DestinationConfiguration AWS API Documentation
@@ -2756,6 +2851,31 @@ module Aws::CloudWatchLogs
2756
2851
  include Aws::Structure
2757
2852
  end
2758
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
+
2759
2879
  # The entity associated with the log events in a `PutLogEvents` call.
2760
2880
  #
2761
2881
  # @!attribute [rw] key_attributes
@@ -2922,6 +3042,12 @@ module Aws::CloudWatchLogs
2922
3042
  # field index.
2923
3043
  # @return [Integer]
2924
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
+ #
2925
3051
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FieldIndex AWS API Documentation
2926
3052
  #
2927
3053
  class FieldIndex < Struct.new(
@@ -2929,7 +3055,8 @@ module Aws::CloudWatchLogs
2929
3055
  :field_index_name,
2930
3056
  :last_scan_time,
2931
3057
  :first_event_time,
2932
- :last_event_time)
3058
+ :last_event_time,
3059
+ :type)
2933
3060
  SENSITIVE = []
2934
3061
  include Aws::Structure
2935
3062
  end
@@ -3503,6 +3630,36 @@ module Aws::CloudWatchLogs
3503
3630
  include Aws::Structure
3504
3631
  end
3505
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
+
3506
3663
  # @!attribute [rw] log_group_name
3507
3664
  # The name of the log group to search.
3508
3665
  #
@@ -3706,24 +3863,25 @@ module Aws::CloudWatchLogs
3706
3863
  end
3707
3864
 
3708
3865
  # @!attribute [rw] identifier
3709
- # The name or ARN of the scheduled query to retrieve history for.
3866
+ # The ARN or name of the scheduled query to retrieve history for.
3710
3867
  # @return [String]
3711
3868
  #
3712
3869
  # @!attribute [rw] start_time
3713
- # The start time for the history retrieval window in Unix epoch time.
3870
+ # The start time for the history query in Unix epoch format.
3714
3871
  # @return [Integer]
3715
3872
  #
3716
3873
  # @!attribute [rw] end_time
3717
- # The end time for the history retrieval window in Unix epoch time.
3874
+ # The end time for the history query in Unix epoch format.
3718
3875
  # @return [Integer]
3719
3876
  #
3720
3877
  # @!attribute [rw] execution_statuses
3721
- # Filter results by execution status (Running, Complete, Failed,
3722
- # Timeout, or InvalidQuery).
3878
+ # An array of execution statuses to filter the history results. Only
3879
+ # executions with the specified statuses are returned.
3723
3880
  # @return [Array<String>]
3724
3881
  #
3725
3882
  # @!attribute [rw] max_results
3726
- # The maximum number of history records to return in a single call.
3883
+ # The maximum number of history records to return. Valid range is 1 to
3884
+ # 1000.
3727
3885
  # @return [Integer]
3728
3886
  #
3729
3887
  # @!attribute [rw] next_token
@@ -3753,7 +3911,7 @@ module Aws::CloudWatchLogs
3753
3911
  # @return [String]
3754
3912
  #
3755
3913
  # @!attribute [rw] trigger_history
3756
- # The list of execution history records for the scheduled query.
3914
+ # An array of execution history records for the scheduled query.
3757
3915
  # @return [Array<Types::TriggerHistoryRecord>]
3758
3916
  #
3759
3917
  # @!attribute [rw] next_token
@@ -3773,7 +3931,7 @@ module Aws::CloudWatchLogs
3773
3931
  end
3774
3932
 
3775
3933
  # @!attribute [rw] identifier
3776
- # The name or ARN of the scheduled query to retrieve.
3934
+ # The ARN or name of the scheduled query to retrieve.
3777
3935
  # @return [String]
3778
3936
  #
3779
3937
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetScheduledQueryRequest AWS API Documentation
@@ -3785,7 +3943,7 @@ module Aws::CloudWatchLogs
3785
3943
  end
3786
3944
 
3787
3945
  # @!attribute [rw] scheduled_query_arn
3788
- # The Amazon Resource Name (ARN) of the scheduled query.
3946
+ # The ARN of the scheduled query.
3789
3947
  # @return [String]
3790
3948
  #
3791
3949
  # @!attribute [rw] name
@@ -3797,16 +3955,15 @@ module Aws::CloudWatchLogs
3797
3955
  # @return [String]
3798
3956
  #
3799
3957
  # @!attribute [rw] query_language
3800
- # The query language used by the scheduled query (LogsQL, PPL, or
3801
- # SQL).
3958
+ # The query language used by the scheduled query.
3802
3959
  # @return [String]
3803
3960
  #
3804
3961
  # @!attribute [rw] query_string
3805
- # The CloudWatch Logs Insights query string being executed.
3962
+ # The query string executed by the scheduled query.
3806
3963
  # @return [String]
3807
3964
  #
3808
3965
  # @!attribute [rw] log_group_identifiers
3809
- # The log group identifiers being queried by the scheduled query.
3966
+ # The log groups queried by the scheduled query.
3810
3967
  # @return [Array<String>]
3811
3968
  #
3812
3969
  # @!attribute [rw] schedule_expression
@@ -3814,52 +3971,49 @@ module Aws::CloudWatchLogs
3814
3971
  # @return [String]
3815
3972
  #
3816
3973
  # @!attribute [rw] timezone
3817
- # The timezone in which the schedule expression is evaluated.
3974
+ # The timezone used for evaluating the schedule expression.
3818
3975
  # @return [String]
3819
3976
  #
3820
3977
  # @!attribute [rw] start_time_offset
3821
- # Time offset in seconds from the execution time for the start of the
3822
- # query time range.
3978
+ # The time offset in seconds that defines the lookback period for the
3979
+ # query.
3823
3980
  # @return [Integer]
3824
3981
  #
3825
3982
  # @!attribute [rw] destination_configuration
3826
- # Configuration for destinations where the query results are
3827
- # delivered.
3983
+ # Configuration for where query results are delivered.
3828
3984
  # @return [Types::DestinationConfiguration]
3829
3985
  #
3830
3986
  # @!attribute [rw] state
3831
- # The current state of the scheduled query (ENABLED or DISABLED).
3987
+ # The current state of the scheduled query.
3832
3988
  # @return [String]
3833
3989
  #
3834
3990
  # @!attribute [rw] last_triggered_time
3835
- # The time when the scheduled query was last executed, in Unix epoch
3836
- # time.
3991
+ # The timestamp when the scheduled query was last executed.
3837
3992
  # @return [Integer]
3838
3993
  #
3839
3994
  # @!attribute [rw] last_execution_status
3840
- # The status of the last executed query (Running, Complete, Failed,
3841
- # Timeout, or InvalidQuery).
3995
+ # The status of the most recent execution of the scheduled query.
3842
3996
  # @return [String]
3843
3997
  #
3844
3998
  # @!attribute [rw] schedule_start_time
3845
- # The start time for the query schedule in Unix epoch time.
3999
+ # The start time for the scheduled query in Unix epoch format.
3846
4000
  # @return [Integer]
3847
4001
  #
3848
4002
  # @!attribute [rw] schedule_end_time
3849
- # The end time for the query schedule in Unix epoch time.
4003
+ # The end time for the scheduled query in Unix epoch format.
3850
4004
  # @return [Integer]
3851
4005
  #
3852
4006
  # @!attribute [rw] execution_role_arn
3853
- # The ARN of the IAM role used to execute the scheduled query.
4007
+ # The ARN of the IAM role used to execute the query and deliver
4008
+ # results.
3854
4009
  # @return [String]
3855
4010
  #
3856
4011
  # @!attribute [rw] creation_time
3857
- # The time when the scheduled query was created, in Unix epoch time.
4012
+ # The timestamp when the scheduled query was created.
3858
4013
  # @return [Integer]
3859
4014
  #
3860
4015
  # @!attribute [rw] last_updated_time
3861
- # The time when the scheduled query was last updated, in Unix epoch
3862
- # time.
4016
+ # The timestamp when the scheduled query was last updated.
3863
4017
  # @return [Integer]
3864
4018
  #
3865
4019
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetScheduledQueryResponse AWS API Documentation
@@ -3967,6 +4121,29 @@ module Aws::CloudWatchLogs
3967
4121
  include Aws::Structure
3968
4122
  end
3969
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
+
3970
4147
  # This structure contains information about one field index policy in
3971
4148
  # this account.
3972
4149
  #
@@ -4089,7 +4266,8 @@ module Aws::CloudWatchLogs
4089
4266
  end
4090
4267
 
4091
4268
  # An internal server error occurred while processing the request. This
4092
- # is typically a temporary issue and the request can be retried.
4269
+ # exception is returned when the service encounters an unexpected
4270
+ # condition that prevents it from fulfilling the request.
4093
4271
  #
4094
4272
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InternalServerException AWS API Documentation
4095
4273
  #
@@ -4148,6 +4326,104 @@ module Aws::CloudWatchLogs
4148
4326
  #
4149
4327
  class LimitExceededException < Aws::EmptyStructure; end
4150
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
+
4151
4427
  # @!attribute [rw] anomaly_detector_arn
4152
4428
  # Use this to optionally limit the results to only the anomalies found
4153
4429
  # by a certain anomaly detector.
@@ -4384,6 +4660,21 @@ module Aws::CloudWatchLogs
4384
4660
  # parameter, the default is up to 50 log groups.
4385
4661
  # @return [Integer]
4386
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
+ #
4387
4678
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListLogGroupsRequest AWS API Documentation
4388
4679
  #
4389
4680
  class ListLogGroupsRequest < Struct.new(
@@ -4392,7 +4683,9 @@ module Aws::CloudWatchLogs
4392
4683
  :include_linked_accounts,
4393
4684
  :account_identifiers,
4394
4685
  :next_token,
4395
- :limit)
4686
+ :limit,
4687
+ :data_sources,
4688
+ :field_index_names)
4396
4689
  SENSITIVE = []
4397
4690
  include Aws::Structure
4398
4691
  end
@@ -4417,7 +4710,8 @@ module Aws::CloudWatchLogs
4417
4710
  end
4418
4711
 
4419
4712
  # @!attribute [rw] max_results
4420
- # The maximum number of scheduled queries to return in a single call.
4713
+ # The maximum number of scheduled queries to return. Valid range is 1
4714
+ # to 1000.
4421
4715
  # @return [Integer]
4422
4716
  #
4423
4717
  # @!attribute [rw] next_token
@@ -4426,8 +4720,8 @@ module Aws::CloudWatchLogs
4426
4720
  # @return [String]
4427
4721
  #
4428
4722
  # @!attribute [rw] state
4429
- # Filter results by the state of scheduled queries (ENABLED or
4430
- # DISABLED).
4723
+ # Filter scheduled queries by state. Valid values are `ENABLED` and
4724
+ # `DISABLED`. If not specified, all scheduled queries are returned.
4431
4725
  # @return [String]
4432
4726
  #
4433
4727
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListScheduledQueriesRequest AWS API Documentation
@@ -4446,7 +4740,7 @@ module Aws::CloudWatchLogs
4446
4740
  # @return [String]
4447
4741
  #
4448
4742
  # @!attribute [rw] scheduled_queries
4449
- # The list of scheduled queries with summary information.
4743
+ # An array of scheduled query summary information.
4450
4744
  # @return [Array<Types::ScheduledQuerySummary>]
4451
4745
  #
4452
4746
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListScheduledQueriesResponse AWS API Documentation
@@ -4458,6 +4752,50 @@ module Aws::CloudWatchLogs
4458
4752
  include Aws::Structure
4459
4753
  end
4460
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
+
4461
4799
  # @!attribute [rw] resource_arn
4462
4800
  # The ARN of the resource that you want to view tags for.
4463
4801
  #
@@ -4741,6 +5079,52 @@ module Aws::CloudWatchLogs
4741
5079
  include Aws::Structure
4742
5080
  end
4743
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
+
4744
5128
  # Represents a log group.
4745
5129
  #
4746
5130
  # @!attribute [rw] log_group_name
@@ -4855,6 +5239,12 @@ module Aws::CloudWatchLogs
4855
5239
  # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html
4856
5240
  # @return [String]
4857
5241
  #
5242
+ # @!attribute [rw] deletion_protection_enabled
5243
+ # Indicates whether deletion protection is enabled for this log group.
5244
+ # When enabled, deletion protection blocks all deletion operations
5245
+ # until it is explicitly disabled.
5246
+ # @return [Boolean]
5247
+ #
4858
5248
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup AWS API Documentation
4859
5249
  #
4860
5250
  class LogGroup < Struct.new(
@@ -4868,7 +5258,8 @@ module Aws::CloudWatchLogs
4868
5258
  :data_protection_status,
4869
5259
  :inherited_properties,
4870
5260
  :log_group_class,
4871
- :log_group_arn)
5261
+ :log_group_arn,
5262
+ :deletion_protection_enabled)
4872
5263
  SENSITIVE = []
4873
5264
  include Aws::Structure
4874
5265
  end
@@ -5951,10 +6342,7 @@ module Aws::CloudWatchLogs
5951
6342
  # @return [String]
5952
6343
  #
5953
6344
  # @!attribute [rw] mapping_version
5954
- # Identifies the specific release of the Open Cybersecurity Schema
5955
- # Framework (OCSF) transformer being used to parse OCSF data. Defaults
5956
- # to the latest version if not specified. Does not automatically
5957
- # update.
6345
+ # The version of the OCSF mapping to use for parsing log data.
5958
6346
  # @return [String]
5959
6347
  #
5960
6348
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ParseToOCSF AWS API Documentation
@@ -7063,6 +7451,35 @@ module Aws::CloudWatchLogs
7063
7451
  include Aws::Structure
7064
7452
  end
7065
7453
 
7454
+ # @!attribute [rw] log_group_identifier
7455
+ # The name or ARN of the log group.
7456
+ #
7457
+ # Type: String
7458
+ #
7459
+ # Length Constraints: Minimum length of 1. Maximum length of 512.
7460
+ #
7461
+ # Pattern: `[\.\-_/#A-Za-z0-9]+`
7462
+ #
7463
+ # Required: Yes
7464
+ # @return [String]
7465
+ #
7466
+ # @!attribute [rw] deletion_protection_enabled
7467
+ # Whether to enable deletion protection.
7468
+ #
7469
+ # Type: Boolean
7470
+ #
7471
+ # Required: Yes
7472
+ # @return [Boolean]
7473
+ #
7474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogGroupDeletionProtectionRequest AWS API Documentation
7475
+ #
7476
+ class PutLogGroupDeletionProtectionRequest < Struct.new(
7477
+ :log_group_identifier,
7478
+ :deletion_protection_enabled)
7479
+ SENSITIVE = []
7480
+ include Aws::Structure
7481
+ end
7482
+
7066
7483
  # @!attribute [rw] log_group_name
7067
7484
  # The name of the log group.
7068
7485
  # @return [String]
@@ -7889,17 +8306,17 @@ module Aws::CloudWatchLogs
7889
8306
  include Aws::Structure
7890
8307
  end
7891
8308
 
7892
- # Configuration details for delivering scheduled query results to an
7893
- # Amazon S3 bucket.
8309
+ # Configuration for Amazon S3 destination where scheduled query results
8310
+ # are delivered.
7894
8311
  #
7895
8312
  # @!attribute [rw] destination_identifier
7896
- # The S3 URI where query results will be stored (e.g.,
7897
- # s3://bucket-name/prefix/).
8313
+ # The Amazon S3 URI where query results are delivered. Must be a valid
8314
+ # S3 URI format.
7898
8315
  # @return [String]
7899
8316
  #
7900
8317
  # @!attribute [rw] role_arn
7901
- # The ARN of the IAM role that CloudWatch Logs will assume to write
7902
- # results to the S3 bucket.
8318
+ # The ARN of the IAM role that grants permissions to write query
8319
+ # results to the specified Amazon S3 destination.
7903
8320
  # @return [String]
7904
8321
  #
7905
8322
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/S3Configuration AWS API Documentation
@@ -7941,28 +8358,63 @@ module Aws::CloudWatchLogs
7941
8358
  include Aws::Structure
7942
8359
  end
7943
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
+
7944
8397
  # Information about a destination where scheduled query results are
7945
- # processed and delivered.
8398
+ # processed, including processing status and any error messages.
7946
8399
  #
7947
8400
  # @!attribute [rw] destination_type
7948
- # The type of destination (S3).
8401
+ # The type of destination for query results.
7949
8402
  # @return [String]
7950
8403
  #
7951
8404
  # @!attribute [rw] destination_identifier
7952
- # The destination identifier (S3 URI).
8405
+ # The identifier for the destination where results are delivered.
7953
8406
  # @return [String]
7954
8407
  #
7955
8408
  # @!attribute [rw] status
7956
- # The processing status for this destination (IN\_PROGRESS, ERROR,
7957
- # FAILED, or COMPLETE).
8409
+ # The processing status of the destination delivery.
7958
8410
  # @return [String]
7959
8411
  #
7960
8412
  # @!attribute [rw] processed_identifier
7961
- # The processed identifier returned for the destination (S3 key).
8413
+ # The identifier of the processed result at the destination.
7962
8414
  # @return [String]
7963
8415
  #
7964
8416
  # @!attribute [rw] error_message
7965
- # Error message if the destination processing failed.
8417
+ # Error message if destination processing failed.
7966
8418
  # @return [String]
7967
8419
  #
7968
8420
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ScheduledQueryDestination AWS API Documentation
@@ -7977,7 +8429,8 @@ module Aws::CloudWatchLogs
7977
8429
  include Aws::Structure
7978
8430
  end
7979
8431
 
7980
- # Summary information about a scheduled query, used in list operations.
8432
+ # Summary information about a scheduled query, including basic
8433
+ # configuration and execution status.
7981
8434
  #
7982
8435
  # @!attribute [rw] scheduled_query_arn
7983
8436
  # The ARN of the scheduled query.
@@ -7988,16 +8441,15 @@ module Aws::CloudWatchLogs
7988
8441
  # @return [String]
7989
8442
  #
7990
8443
  # @!attribute [rw] state
7991
- # The current state of the scheduled query (ENABLED or DISABLED).
8444
+ # The current state of the scheduled query.
7992
8445
  # @return [String]
7993
8446
  #
7994
8447
  # @!attribute [rw] last_triggered_time
7995
- # The time when the scheduled query was last executed.
8448
+ # The timestamp when the scheduled query was last executed.
7996
8449
  # @return [Integer]
7997
8450
  #
7998
8451
  # @!attribute [rw] last_execution_status
7999
- # The status of the last execution (Running, Complete, Failed,
8000
- # Timeout, or InvalidQuery).
8452
+ # The status of the most recent execution.
8001
8453
  # @return [String]
8002
8454
  #
8003
8455
  # @!attribute [rw] schedule_expression
@@ -8005,20 +8457,19 @@ module Aws::CloudWatchLogs
8005
8457
  # @return [String]
8006
8458
  #
8007
8459
  # @!attribute [rw] timezone
8008
- # The timezone in which the schedule expression is evaluated.
8460
+ # The timezone used for evaluating the schedule expression.
8009
8461
  # @return [String]
8010
8462
  #
8011
8463
  # @!attribute [rw] destination_configuration
8012
- # Configuration for destinations where the query results are
8013
- # delivered.
8464
+ # Configuration for where query results are delivered.
8014
8465
  # @return [Types::DestinationConfiguration]
8015
8466
  #
8016
8467
  # @!attribute [rw] creation_time
8017
- # The time when the scheduled query was created.
8468
+ # The timestamp when the scheduled query was created.
8018
8469
  # @return [Integer]
8019
8470
  #
8020
8471
  # @!attribute [rw] last_updated_time
8021
- # The time when the scheduled query was last updated.
8472
+ # The timestamp when the scheduled query was last updated.
8022
8473
  # @return [Integer]
8023
8474
  #
8024
8475
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ScheduledQuerySummary AWS API Documentation
@@ -8684,32 +9135,27 @@ module Aws::CloudWatchLogs
8684
9135
  include Aws::Structure
8685
9136
  end
8686
9137
 
8687
- # A record of a scheduled query execution, including its status and
8688
- # destination processing information.
9138
+ # A record of a scheduled query execution, including execution status,
9139
+ # timestamp, and destination processing results.
8689
9140
  #
8690
9141
  # @!attribute [rw] query_id
8691
- # The unique identifier for the query execution.
9142
+ # The unique identifier for this query execution.
8692
9143
  # @return [String]
8693
9144
  #
8694
9145
  # @!attribute [rw] execution_status
8695
- # The status of the query execution (Running, Complete, Failed,
8696
- # Timeout, or InvalidQuery).
9146
+ # The execution status of the scheduled query run.
8697
9147
  # @return [String]
8698
9148
  #
8699
9149
  # @!attribute [rw] triggered_timestamp
8700
- # The time when the scheduled query was triggered, in Unix epoch time.
9150
+ # The timestamp when the scheduled query execution was triggered.
8701
9151
  # @return [Integer]
8702
9152
  #
8703
9153
  # @!attribute [rw] error_message
8704
- # The error message if the scheduled query execution failed. This
8705
- # field is only populated when the execution status indicates a
8706
- # failure.
9154
+ # Error message if the query execution failed.
8707
9155
  # @return [String]
8708
9156
  #
8709
9157
  # @!attribute [rw] destinations
8710
- # The list of destinations where the scheduled query results were
8711
- # delivered for this execution. This includes S3 buckets configured
8712
- # for the scheduled query.
9158
+ # Information about destination processing for this query execution.
8713
9159
  # @return [Array<Types::ScheduledQueryDestination>]
8714
9160
  #
8715
9161
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TriggerHistoryRecord AWS API Documentation
@@ -8990,58 +9436,58 @@ module Aws::CloudWatchLogs
8990
9436
  end
8991
9437
 
8992
9438
  # @!attribute [rw] identifier
8993
- # The name or ARN of the scheduled query to update.
9439
+ # The ARN or name of the scheduled query to update.
8994
9440
  # @return [String]
8995
9441
  #
8996
9442
  # @!attribute [rw] description
8997
- # Updated description for the scheduled query.
9443
+ # An updated description for the scheduled query.
8998
9444
  # @return [String]
8999
9445
  #
9000
9446
  # @!attribute [rw] query_language
9001
- # Updated query language to use (LogsQL, PPL, or SQL).
9447
+ # The updated query language for the scheduled query.
9002
9448
  # @return [String]
9003
9449
  #
9004
9450
  # @!attribute [rw] query_string
9005
- # Updated CloudWatch Logs Insights query string to execute.
9451
+ # The updated query string to execute.
9006
9452
  # @return [String]
9007
9453
  #
9008
9454
  # @!attribute [rw] log_group_identifiers
9009
- # Updated log group identifiers to query.
9455
+ # The updated array of log group names or ARNs to query.
9010
9456
  # @return [Array<String>]
9011
9457
  #
9012
9458
  # @!attribute [rw] schedule_expression
9013
- # Updated cron expression that defines when the scheduled query runs.
9459
+ # The updated cron expression that defines when the scheduled query
9460
+ # runs.
9014
9461
  # @return [String]
9015
9462
  #
9016
9463
  # @!attribute [rw] timezone
9017
- # Updated timezone in which the schedule expression is evaluated.
9464
+ # The updated timezone for evaluating the schedule expression.
9018
9465
  # @return [String]
9019
9466
  #
9020
9467
  # @!attribute [rw] start_time_offset
9021
- # Updated time offset in seconds from the execution time for the start
9022
- # of the query time range.
9468
+ # The updated time offset in seconds that defines the lookback period
9469
+ # for the query.
9023
9470
  # @return [Integer]
9024
9471
  #
9025
9472
  # @!attribute [rw] destination_configuration
9026
- # Updated configuration for destinations where the query results will
9027
- # be delivered.
9473
+ # The updated configuration for where to deliver query results.
9028
9474
  # @return [Types::DestinationConfiguration]
9029
9475
  #
9030
9476
  # @!attribute [rw] schedule_start_time
9031
- # Updated start time for the query schedule in Unix epoch time.
9477
+ # The updated start time for the scheduled query in Unix epoch format.
9032
9478
  # @return [Integer]
9033
9479
  #
9034
9480
  # @!attribute [rw] schedule_end_time
9035
- # Updated end time for the query schedule in Unix epoch time.
9481
+ # The updated end time for the scheduled query in Unix epoch format.
9036
9482
  # @return [Integer]
9037
9483
  #
9038
9484
  # @!attribute [rw] execution_role_arn
9039
- # Updated ARN of the IAM role that CloudWatch Logs will assume to
9040
- # execute the scheduled query.
9485
+ # The updated ARN of the IAM role that grants permissions to execute
9486
+ # the query and deliver results.
9041
9487
  # @return [String]
9042
9488
  #
9043
9489
  # @!attribute [rw] state
9044
- # Updated state of the scheduled query (ENABLED or DISABLED).
9490
+ # The updated state of the scheduled query.
9045
9491
  # @return [String]
9046
9492
  #
9047
9493
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateScheduledQueryRequest AWS API Documentation
@@ -9077,7 +9523,7 @@ module Aws::CloudWatchLogs
9077
9523
  # @return [String]
9078
9524
  #
9079
9525
  # @!attribute [rw] query_language
9080
- # The query language used by the updated scheduled query.
9526
+ # The query language of the updated scheduled query.
9081
9527
  # @return [String]
9082
9528
  #
9083
9529
  # @!attribute [rw] query_string
@@ -9085,11 +9531,11 @@ module Aws::CloudWatchLogs
9085
9531
  # @return [String]
9086
9532
  #
9087
9533
  # @!attribute [rw] log_group_identifiers
9088
- # The log group identifiers of the updated scheduled query.
9534
+ # The log groups queried by the updated scheduled query.
9089
9535
  # @return [Array<String>]
9090
9536
  #
9091
9537
  # @!attribute [rw] schedule_expression
9092
- # The schedule expression of the updated scheduled query.
9538
+ # The cron expression of the updated scheduled query.
9093
9539
  # @return [String]
9094
9540
  #
9095
9541
  # @!attribute [rw] timezone
@@ -9097,7 +9543,7 @@ module Aws::CloudWatchLogs
9097
9543
  # @return [String]
9098
9544
  #
9099
9545
  # @!attribute [rw] start_time_offset
9100
- # The start time offset of the updated scheduled query.
9546
+ # The time offset of the updated scheduled query.
9101
9547
  # @return [Integer]
9102
9548
  #
9103
9549
  # @!attribute [rw] destination_configuration
@@ -9109,20 +9555,20 @@ module Aws::CloudWatchLogs
9109
9555
  # @return [String]
9110
9556
  #
9111
9557
  # @!attribute [rw] last_triggered_time
9112
- # The time when the updated scheduled query was last executed.
9558
+ # The timestamp when the updated scheduled query was last executed.
9113
9559
  # @return [Integer]
9114
9560
  #
9115
9561
  # @!attribute [rw] last_execution_status
9116
- # The status of the last execution of the updated scheduled query
9117
- # (Running, Complete, Failed, Timeout, or InvalidQuery).
9562
+ # The status of the most recent execution of the updated scheduled
9563
+ # query.
9118
9564
  # @return [String]
9119
9565
  #
9120
9566
  # @!attribute [rw] schedule_start_time
9121
- # The schedule start time of the updated scheduled query.
9567
+ # The start time of the updated scheduled query.
9122
9568
  # @return [Integer]
9123
9569
  #
9124
9570
  # @!attribute [rw] schedule_end_time
9125
- # The schedule end time of the updated scheduled query.
9571
+ # The end time of the updated scheduled query.
9126
9572
  # @return [Integer]
9127
9573
  #
9128
9574
  # @!attribute [rw] execution_role_arn
@@ -9130,11 +9576,11 @@ module Aws::CloudWatchLogs
9130
9576
  # @return [String]
9131
9577
  #
9132
9578
  # @!attribute [rw] creation_time
9133
- # The creation time of the updated scheduled query.
9579
+ # The timestamp when the scheduled query was originally created.
9134
9580
  # @return [Integer]
9135
9581
  #
9136
9582
  # @!attribute [rw] last_updated_time
9137
- # The last updated time of the scheduled query.
9583
+ # The timestamp when the scheduled query was last updated.
9138
9584
  # @return [Integer]
9139
9585
  #
9140
9586
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UpdateScheduledQueryResponse AWS API Documentation