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.
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.132.0'
58
+ GEM_VERSION = '1.134.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -90,6 +90,20 @@ module Aws
90
90
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
91
91
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
92
92
 
93
+ interface _AssociateSourceToS3TableIntegrationResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSourceToS3TableIntegrationResponse]
95
+ def identifier: () -> ::String
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#associate_source_to_s3_table_integration-instance_method
98
+ def associate_source_to_s3_table_integration: (
99
+ integration_arn: ::String,
100
+ data_source: {
101
+ name: ::String,
102
+ type: ::String?
103
+ }
104
+ ) -> _AssociateSourceToS3TableIntegrationResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSourceToS3TableIntegrationResponseSuccess
106
+
93
107
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#cancel_export_task-instance_method
94
108
  def cancel_export_task: (
95
109
  task_id: ::String
@@ -151,7 +165,8 @@ module Aws
151
165
  log_group_name: ::String,
152
166
  ?kms_key_id: ::String,
153
167
  ?tags: Hash[::String, ::String],
154
- ?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
168
+ ?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
169
+ ?deletion_protection_enabled: bool
155
170
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
156
171
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
157
172
 
@@ -557,6 +572,16 @@ module Aws
557
572
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
558
573
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
559
574
 
575
+ interface _DisassociateSourceFromS3TableIntegrationResponseSuccess
576
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSourceFromS3TableIntegrationResponse]
577
+ def identifier: () -> ::String
578
+ end
579
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#disassociate_source_from_s3_table_integration-instance_method
580
+ def disassociate_source_from_s3_table_integration: (
581
+ identifier: ::String
582
+ ) -> _DisassociateSourceFromS3TableIntegrationResponseSuccess
583
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSourceFromS3TableIntegrationResponseSuccess
584
+
560
585
  interface _FilterLogEventsResponseSuccess
561
586
  include ::Seahorse::Client::_ResponseSuccess[Types::FilterLogEventsResponse]
562
587
  def events: () -> ::Array[Types::FilteredLogEvent]
@@ -682,6 +707,17 @@ module Aws
682
707
  ) -> _GetLogEventsResponseSuccess
683
708
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogEventsResponseSuccess
684
709
 
710
+ interface _GetLogFieldsResponseSuccess
711
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLogFieldsResponse]
712
+ def log_fields: () -> ::Array[Types::LogFieldsListItem]
713
+ end
714
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_fields-instance_method
715
+ def get_log_fields: (
716
+ data_source_name: ::String,
717
+ data_source_type: ::String
718
+ ) -> _GetLogFieldsResponseSuccess
719
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogFieldsResponseSuccess
720
+
685
721
  interface _GetLogGroupFieldsResponseSuccess
686
722
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLogGroupFieldsResponse]
687
723
  def log_group_fields: () -> ::Array[Types::LogGroupField]
@@ -788,6 +824,29 @@ module Aws
788
824
  ) -> _GetTransformerResponseSuccess
789
825
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransformerResponseSuccess
790
826
 
827
+ interface _ListAggregateLogGroupSummariesResponseSuccess
828
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAggregateLogGroupSummariesResponse]
829
+ def aggregate_log_group_summaries: () -> ::Array[Types::AggregateLogGroupSummary]
830
+ def next_token: () -> ::String
831
+ end
832
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_aggregate_log_group_summaries-instance_method
833
+ def list_aggregate_log_group_summaries: (
834
+ ?account_identifiers: Array[::String],
835
+ ?include_linked_accounts: bool,
836
+ ?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
837
+ ?log_group_name_pattern: ::String,
838
+ ?data_sources: Array[
839
+ {
840
+ name: ::String,
841
+ type: ::String?
842
+ },
843
+ ],
844
+ group_by: ("DATA_SOURCE_NAME_TYPE_AND_FORMAT" | "DATA_SOURCE_NAME_AND_TYPE"),
845
+ ?next_token: ::String,
846
+ ?limit: ::Integer
847
+ ) -> _ListAggregateLogGroupSummariesResponseSuccess
848
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAggregateLogGroupSummariesResponseSuccess
849
+
791
850
  interface _ListAnomaliesResponseSuccess
792
851
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomaliesResponse]
793
852
  def anomalies: () -> ::Array[Types::Anomaly]
@@ -839,7 +898,14 @@ module Aws
839
898
  ?include_linked_accounts: bool,
840
899
  ?account_identifiers: Array[::String],
841
900
  ?next_token: ::String,
842
- ?limit: ::Integer
901
+ ?limit: ::Integer,
902
+ ?data_sources: Array[
903
+ {
904
+ name: ::String,
905
+ type: ::String?
906
+ },
907
+ ],
908
+ ?field_index_names: Array[::String]
843
909
  ) -> _ListLogGroupsResponseSuccess
844
910
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsResponseSuccess
845
911
 
@@ -869,6 +935,19 @@ module Aws
869
935
  ) -> _ListScheduledQueriesResponseSuccess
870
936
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledQueriesResponseSuccess
871
937
 
938
+ interface _ListSourcesForS3TableIntegrationResponseSuccess
939
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSourcesForS3TableIntegrationResponse]
940
+ def sources: () -> ::Array[Types::S3TableIntegrationSource]
941
+ def next_token: () -> ::String
942
+ end
943
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_sources_for_s3_table_integration-instance_method
944
+ def list_sources_for_s3_table_integration: (
945
+ integration_arn: ::String,
946
+ ?max_results: ::Integer,
947
+ ?next_token: ::String
948
+ ) -> _ListSourcesForS3TableIntegrationResponseSuccess
949
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourcesForS3TableIntegrationResponseSuccess
950
+
872
951
  interface _ListTagsForResourceResponseSuccess
873
952
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
874
953
  def tags: () -> ::Hash[::String, ::String]
@@ -1033,6 +1112,13 @@ module Aws
1033
1112
  ) -> _PutLogEventsResponseSuccess
1034
1113
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
1035
1114
 
1115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_group_deletion_protection-instance_method
1116
+ def put_log_group_deletion_protection: (
1117
+ log_group_identifier: ::String,
1118
+ deletion_protection_enabled: bool
1119
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1121
+
1036
1122
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_metric_filter-instance_method
1037
1123
  def put_metric_filter: (
1038
1124
  log_group_name: ::String,
data/sig/types.rbs CHANGED
@@ -34,6 +34,12 @@ module Aws::CloudWatchLogs
34
34
  SENSITIVE: []
35
35
  end
36
36
 
37
+ class AggregateLogGroupSummary
38
+ attr_accessor log_group_count: ::Integer
39
+ attr_accessor grouping_identifiers: ::Array[Types::GroupingIdentifier]
40
+ SENSITIVE: []
41
+ end
42
+
37
43
  class Anomaly
38
44
  attr_accessor anomaly_id: ::String
39
45
  attr_accessor pattern_id: ::String
@@ -78,6 +84,17 @@ module Aws::CloudWatchLogs
78
84
  SENSITIVE: []
79
85
  end
80
86
 
87
+ class AssociateSourceToS3TableIntegrationRequest
88
+ attr_accessor integration_arn: ::String
89
+ attr_accessor data_source: Types::DataSource
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class AssociateSourceToS3TableIntegrationResponse
94
+ attr_accessor identifier: ::String
95
+ SENSITIVE: []
96
+ end
97
+
81
98
  class CSV
82
99
  attr_accessor quote_character: ::String
83
100
  attr_accessor delimiter: ::String
@@ -179,6 +196,7 @@ module Aws::CloudWatchLogs
179
196
  attr_accessor kms_key_id: ::String
180
197
  attr_accessor tags: ::Hash[::String, ::String]
181
198
  attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
199
+ attr_accessor deletion_protection_enabled: bool
182
200
  SENSITIVE: []
183
201
  end
184
202
 
@@ -217,6 +235,18 @@ module Aws::CloudWatchLogs
217
235
  SENSITIVE: []
218
236
  end
219
237
 
238
+ class DataSource
239
+ attr_accessor name: ::String
240
+ attr_accessor type: ::String
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class DataSourceFilter
245
+ attr_accessor name: ::String
246
+ attr_accessor type: ::String
247
+ SENSITIVE: []
248
+ end
249
+
220
250
  class DateTimeConverter
221
251
  attr_accessor source: ::String
222
252
  attr_accessor target: ::String
@@ -633,6 +663,16 @@ module Aws::CloudWatchLogs
633
663
  SENSITIVE: []
634
664
  end
635
665
 
666
+ class DisassociateSourceFromS3TableIntegrationRequest
667
+ attr_accessor identifier: ::String
668
+ SENSITIVE: []
669
+ end
670
+
671
+ class DisassociateSourceFromS3TableIntegrationResponse
672
+ attr_accessor identifier: ::String
673
+ SENSITIVE: []
674
+ end
675
+
636
676
  class Entity
637
677
  attr_accessor key_attributes: ::Hash[::String, ::String]
638
678
  attr_accessor attributes: ::Hash[::String, ::String]
@@ -670,6 +710,7 @@ module Aws::CloudWatchLogs
670
710
  attr_accessor last_scan_time: ::Integer
671
711
  attr_accessor first_event_time: ::Integer
672
712
  attr_accessor last_event_time: ::Integer
713
+ attr_accessor type: ("FACET" | "FIELD_INDEX")
673
714
  SENSITIVE: []
674
715
  end
675
716
 
@@ -813,6 +854,17 @@ module Aws::CloudWatchLogs
813
854
  SENSITIVE: []
814
855
  end
815
856
 
857
+ class GetLogFieldsRequest
858
+ attr_accessor data_source_name: ::String
859
+ attr_accessor data_source_type: ::String
860
+ SENSITIVE: []
861
+ end
862
+
863
+ class GetLogFieldsResponse
864
+ attr_accessor log_fields: ::Array[Types::LogFieldsListItem]
865
+ SENSITIVE: []
866
+ end
867
+
816
868
  class GetLogGroupFieldsRequest
817
869
  attr_accessor log_group_name: ::String
818
870
  attr_accessor time: ::Integer
@@ -925,6 +977,12 @@ module Aws::CloudWatchLogs
925
977
  SENSITIVE: []
926
978
  end
927
979
 
980
+ class GroupingIdentifier
981
+ attr_accessor key: ::String
982
+ attr_accessor value: ::String
983
+ SENSITIVE: []
984
+ end
985
+
928
986
  class IndexPolicy
929
987
  attr_accessor log_group_identifier: ::String
930
988
  attr_accessor last_update_time: ::Integer
@@ -981,6 +1039,24 @@ module Aws::CloudWatchLogs
981
1039
  class LimitExceededException < Aws::EmptyStructure
982
1040
  end
983
1041
 
1042
+ class ListAggregateLogGroupSummariesRequest
1043
+ attr_accessor account_identifiers: ::Array[::String]
1044
+ attr_accessor include_linked_accounts: bool
1045
+ attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
1046
+ attr_accessor log_group_name_pattern: ::String
1047
+ attr_accessor data_sources: ::Array[Types::DataSourceFilter]
1048
+ attr_accessor group_by: ("DATA_SOURCE_NAME_TYPE_AND_FORMAT" | "DATA_SOURCE_NAME_AND_TYPE")
1049
+ attr_accessor next_token: ::String
1050
+ attr_accessor limit: ::Integer
1051
+ SENSITIVE: []
1052
+ end
1053
+
1054
+ class ListAggregateLogGroupSummariesResponse
1055
+ attr_accessor aggregate_log_group_summaries: ::Array[Types::AggregateLogGroupSummary]
1056
+ attr_accessor next_token: ::String
1057
+ SENSITIVE: []
1058
+ end
1059
+
984
1060
  class ListAnomaliesRequest
985
1061
  attr_accessor anomaly_detector_arn: ::String
986
1062
  attr_accessor suppression_state: ("SUPPRESSED" | "UNSUPPRESSED")
@@ -1040,6 +1116,8 @@ module Aws::CloudWatchLogs
1040
1116
  attr_accessor account_identifiers: ::Array[::String]
1041
1117
  attr_accessor next_token: ::String
1042
1118
  attr_accessor limit: ::Integer
1119
+ attr_accessor data_sources: ::Array[Types::DataSourceFilter]
1120
+ attr_accessor field_index_names: ::Array[::String]
1043
1121
  SENSITIVE: []
1044
1122
  end
1045
1123
 
@@ -1062,6 +1140,19 @@ module Aws::CloudWatchLogs
1062
1140
  SENSITIVE: []
1063
1141
  end
1064
1142
 
1143
+ class ListSourcesForS3TableIntegrationRequest
1144
+ attr_accessor integration_arn: ::String
1145
+ attr_accessor max_results: ::Integer
1146
+ attr_accessor next_token: ::String
1147
+ SENSITIVE: []
1148
+ end
1149
+
1150
+ class ListSourcesForS3TableIntegrationResponse
1151
+ attr_accessor sources: ::Array[Types::S3TableIntegrationSource]
1152
+ attr_accessor next_token: ::String
1153
+ SENSITIVE: []
1154
+ end
1155
+
1065
1156
  class ListTagsForResourceRequest
1066
1157
  attr_accessor resource_arn: ::String
1067
1158
  SENSITIVE: []
@@ -1130,6 +1221,19 @@ module Aws::CloudWatchLogs
1130
1221
  SENSITIVE: []
1131
1222
  end
1132
1223
 
1224
+ class LogFieldType
1225
+ attr_accessor type: ::String
1226
+ attr_accessor element: Types::LogFieldType
1227
+ attr_accessor fields: ::Array[Types::LogFieldsListItem]
1228
+ SENSITIVE: []
1229
+ end
1230
+
1231
+ class LogFieldsListItem
1232
+ attr_accessor log_field_name: ::String
1233
+ attr_accessor log_field_type: Types::LogFieldType
1234
+ SENSITIVE: []
1235
+ end
1236
+
1133
1237
  class LogGroup
1134
1238
  attr_accessor log_group_name: ::String
1135
1239
  attr_accessor creation_time: ::Integer
@@ -1142,6 +1246,7 @@ module Aws::CloudWatchLogs
1142
1246
  attr_accessor inherited_properties: ::Array[("ACCOUNT_DATA_PROTECTION")]
1143
1247
  attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
1144
1248
  attr_accessor log_group_arn: ::String
1249
+ attr_accessor deletion_protection_enabled: bool
1145
1250
  SENSITIVE: []
1146
1251
  end
1147
1252
 
@@ -1525,6 +1630,12 @@ module Aws::CloudWatchLogs
1525
1630
  SENSITIVE: []
1526
1631
  end
1527
1632
 
1633
+ class PutLogGroupDeletionProtectionRequest
1634
+ attr_accessor log_group_identifier: ::String
1635
+ attr_accessor deletion_protection_enabled: bool
1636
+ SENSITIVE: []
1637
+ end
1638
+
1528
1639
  class PutMetricFilterRequest
1529
1640
  attr_accessor log_group_name: ::String
1530
1641
  attr_accessor filter_name: ::String
@@ -1707,6 +1818,15 @@ module Aws::CloudWatchLogs
1707
1818
  SENSITIVE: []
1708
1819
  end
1709
1820
 
1821
+ class S3TableIntegrationSource
1822
+ attr_accessor identifier: ::String
1823
+ attr_accessor data_source: Types::DataSource
1824
+ attr_accessor status: ("ACTIVE" | "UNHEALTHY" | "FAILED" | "DATA_SOURCE_DELETE_IN_PROGRESS")
1825
+ attr_accessor status_reason: ::String
1826
+ attr_accessor created_time_stamp: ::Integer
1827
+ SENSITIVE: []
1828
+ end
1829
+
1710
1830
  class ScheduledQueryDestination
1711
1831
  attr_accessor destination_type: ("S3")
1712
1832
  attr_accessor destination_identifier: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.132.0
4
+ version: 1.134.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services