aws-sdk-cloudwatchlogs 1.102.0 → 1.103.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs CHANGED
@@ -15,13 +15,25 @@ module Aws::CloudWatchLogs
15
15
  attr_accessor policy_name: ::String
16
16
  attr_accessor policy_document: ::String
17
17
  attr_accessor last_updated_time: ::Integer
18
- attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
18
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
19
19
  attr_accessor scope: ("ALL")
20
20
  attr_accessor selection_criteria: ::String
21
21
  attr_accessor account_id: ::String
22
22
  SENSITIVE: []
23
23
  end
24
24
 
25
+ class AddKeyEntry
26
+ attr_accessor key: ::String
27
+ attr_accessor value: ::String
28
+ attr_accessor overwrite_if_exists: bool
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class AddKeys
33
+ attr_accessor entries: ::Array[Types::AddKeyEntry]
34
+ SENSITIVE: []
35
+ end
36
+
25
37
  class Anomaly
26
38
  attr_accessor anomaly_id: ::String
27
39
  attr_accessor pattern_id: ::String
@@ -66,6 +78,14 @@ module Aws::CloudWatchLogs
66
78
  SENSITIVE: []
67
79
  end
68
80
 
81
+ class CSV
82
+ attr_accessor quote_character: ::String
83
+ attr_accessor delimiter: ::String
84
+ attr_accessor columns: ::Array[::String]
85
+ attr_accessor source: ::String
86
+ SENSITIVE: []
87
+ end
88
+
69
89
  class CancelExportTaskRequest
70
90
  attr_accessor task_id: ::String
71
91
  SENSITIVE: []
@@ -95,6 +115,18 @@ module Aws::CloudWatchLogs
95
115
  class ConflictException < Aws::EmptyStructure
96
116
  end
97
117
 
118
+ class CopyValue
119
+ attr_accessor entries: ::Array[Types::CopyValueEntry]
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class CopyValueEntry
124
+ attr_accessor source: ::String
125
+ attr_accessor target: ::String
126
+ attr_accessor overwrite_if_exists: bool
127
+ SENSITIVE: []
128
+ end
129
+
98
130
  class CreateDeliveryRequest
99
131
  attr_accessor delivery_source_name: ::String
100
132
  attr_accessor delivery_destination_arn: ::String
@@ -161,9 +193,20 @@ module Aws::CloudWatchLogs
161
193
  SENSITIVE: []
162
194
  end
163
195
 
196
+ class DateTimeConverter
197
+ attr_accessor source: ::String
198
+ attr_accessor target: ::String
199
+ attr_accessor target_format: ::String
200
+ attr_accessor match_patterns: ::Array[::String]
201
+ attr_accessor source_timezone: ::String
202
+ attr_accessor target_timezone: ::String
203
+ attr_accessor locale: ::String
204
+ SENSITIVE: []
205
+ end
206
+
164
207
  class DeleteAccountPolicyRequest
165
208
  attr_accessor policy_name: ::String
166
- attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
209
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
167
210
  SENSITIVE: []
168
211
  end
169
212
 
@@ -197,6 +240,19 @@ module Aws::CloudWatchLogs
197
240
  SENSITIVE: []
198
241
  end
199
242
 
243
+ class DeleteIndexPolicyRequest
244
+ attr_accessor log_group_identifier: ::String
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class DeleteIndexPolicyResponse < Aws::EmptyStructure
249
+ end
250
+
251
+ class DeleteKeys
252
+ attr_accessor with_keys: ::Array[::String]
253
+ SENSITIVE: []
254
+ end
255
+
200
256
  class DeleteLogAnomalyDetectorRequest
201
257
  attr_accessor anomaly_detector_arn: ::String
202
258
  SENSITIVE: []
@@ -245,6 +301,11 @@ module Aws::CloudWatchLogs
245
301
  SENSITIVE: []
246
302
  end
247
303
 
304
+ class DeleteTransformerRequest
305
+ attr_accessor log_group_identifier: ::String
306
+ SENSITIVE: []
307
+ end
308
+
248
309
  class Delivery
249
310
  attr_accessor id: ::String
250
311
  attr_accessor arn: ::String
@@ -284,14 +345,16 @@ module Aws::CloudWatchLogs
284
345
  end
285
346
 
286
347
  class DescribeAccountPoliciesRequest
287
- attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
348
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
288
349
  attr_accessor policy_name: ::String
289
350
  attr_accessor account_identifiers: ::Array[::String]
351
+ attr_accessor next_token: ::String
290
352
  SENSITIVE: []
291
353
  end
292
354
 
293
355
  class DescribeAccountPoliciesResponse
294
356
  attr_accessor account_policies: ::Array[Types::AccountPolicy]
357
+ attr_accessor next_token: ::String
295
358
  SENSITIVE: []
296
359
  end
297
360
 
@@ -374,6 +437,30 @@ module Aws::CloudWatchLogs
374
437
  SENSITIVE: []
375
438
  end
376
439
 
440
+ class DescribeFieldIndexesRequest
441
+ attr_accessor log_group_identifiers: ::Array[::String]
442
+ attr_accessor next_token: ::String
443
+ SENSITIVE: []
444
+ end
445
+
446
+ class DescribeFieldIndexesResponse
447
+ attr_accessor field_indexes: ::Array[Types::FieldIndex]
448
+ attr_accessor next_token: ::String
449
+ SENSITIVE: []
450
+ end
451
+
452
+ class DescribeIndexPoliciesRequest
453
+ attr_accessor log_group_identifiers: ::Array[::String]
454
+ attr_accessor next_token: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class DescribeIndexPoliciesResponse
459
+ attr_accessor index_policies: ::Array[Types::IndexPolicy]
460
+ attr_accessor next_token: ::String
461
+ SENSITIVE: []
462
+ end
463
+
377
464
  class DescribeLogGroupsRequest
378
465
  attr_accessor account_identifiers: ::Array[::String]
379
466
  attr_accessor log_group_name_prefix: ::String
@@ -524,6 +611,15 @@ module Aws::CloudWatchLogs
524
611
  SENSITIVE: []
525
612
  end
526
613
 
614
+ class FieldIndex
615
+ attr_accessor log_group_identifier: ::String
616
+ attr_accessor field_index_name: ::String
617
+ attr_accessor last_scan_time: ::Integer
618
+ attr_accessor first_event_time: ::Integer
619
+ attr_accessor last_event_time: ::Integer
620
+ SENSITIVE: []
621
+ end
622
+
527
623
  class FilterLogEventsRequest
528
624
  attr_accessor log_group_name: ::String
529
625
  attr_accessor log_group_identifier: ::String
@@ -681,6 +777,34 @@ module Aws::CloudWatchLogs
681
777
  SENSITIVE: []
682
778
  end
683
779
 
780
+ class GetTransformerRequest
781
+ attr_accessor log_group_identifier: ::String
782
+ SENSITIVE: []
783
+ end
784
+
785
+ class GetTransformerResponse
786
+ attr_accessor log_group_identifier: ::String
787
+ attr_accessor creation_time: ::Integer
788
+ attr_accessor last_modified_time: ::Integer
789
+ attr_accessor transformer_config: ::Array[Types::Processor]
790
+ SENSITIVE: []
791
+ end
792
+
793
+ class Grok
794
+ attr_accessor source: ::String
795
+ attr_accessor match: ::String
796
+ SENSITIVE: []
797
+ end
798
+
799
+ class IndexPolicy
800
+ attr_accessor log_group_identifier: ::String
801
+ attr_accessor last_update_time: ::Integer
802
+ attr_accessor policy_document: ::String
803
+ attr_accessor policy_name: ::String
804
+ attr_accessor source: ("ACCOUNT" | "LOG_GROUP")
805
+ SENSITIVE: []
806
+ end
807
+
684
808
  class InputLogEvent
685
809
  attr_accessor timestamp: ::Integer
686
810
  attr_accessor message: ::String
@@ -728,6 +852,19 @@ module Aws::CloudWatchLogs
728
852
  SENSITIVE: []
729
853
  end
730
854
 
855
+ class ListLogGroupsForQueryRequest
856
+ attr_accessor query_id: ::String
857
+ attr_accessor next_token: ::String
858
+ attr_accessor max_results: ::Integer
859
+ SENSITIVE: []
860
+ end
861
+
862
+ class ListLogGroupsForQueryResponse
863
+ attr_accessor log_group_identifiers: ::Array[::String]
864
+ attr_accessor next_token: ::String
865
+ SENSITIVE: []
866
+ end
867
+
731
868
  class ListTagsForResourceRequest
732
869
  attr_accessor resource_arn: ::String
733
870
  SENSITIVE: []
@@ -748,6 +885,16 @@ module Aws::CloudWatchLogs
748
885
  SENSITIVE: []
749
886
  end
750
887
 
888
+ class ListToMap
889
+ attr_accessor source: ::String
890
+ attr_accessor key: ::String
891
+ attr_accessor value_key: ::String
892
+ attr_accessor target: ::String
893
+ attr_accessor flatten: bool
894
+ attr_accessor flattened_element: ("first" | "last")
895
+ SENSITIVE: []
896
+ end
897
+
751
898
  class LiveTailSessionLogEvent
752
899
  attr_accessor log_stream_name: ::String
753
900
  attr_accessor log_group_identifier: ::String
@@ -819,6 +966,11 @@ module Aws::CloudWatchLogs
819
966
  SENSITIVE: []
820
967
  end
821
968
 
969
+ class LowerCaseString
970
+ attr_accessor with_keys: ::Array[::String]
971
+ SENSITIVE: []
972
+ end
973
+
822
974
  class MalformedQueryException
823
975
  attr_accessor query_compile_error: Types::QueryCompileError
824
976
  SENSITIVE: []
@@ -830,6 +982,7 @@ module Aws::CloudWatchLogs
830
982
  attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
831
983
  attr_accessor creation_time: ::Integer
832
984
  attr_accessor log_group_name: ::String
985
+ attr_accessor apply_on_transformed_logs: bool
833
986
  SENSITIVE: []
834
987
  end
835
988
 
@@ -850,6 +1003,18 @@ module Aws::CloudWatchLogs
850
1003
  SENSITIVE: []
851
1004
  end
852
1005
 
1006
+ class MoveKeyEntry
1007
+ attr_accessor source: ::String
1008
+ attr_accessor target: ::String
1009
+ attr_accessor overwrite_if_exists: bool
1010
+ SENSITIVE: []
1011
+ end
1012
+
1013
+ class MoveKeys
1014
+ attr_accessor entries: ::Array[Types::MoveKeyEntry]
1015
+ SENSITIVE: []
1016
+ end
1017
+
853
1018
  class OperationAbortedException < Aws::EmptyStructure
854
1019
  end
855
1020
 
@@ -860,6 +1025,48 @@ module Aws::CloudWatchLogs
860
1025
  SENSITIVE: []
861
1026
  end
862
1027
 
1028
+ class ParseCloudfront
1029
+ attr_accessor source: ::String
1030
+ SENSITIVE: []
1031
+ end
1032
+
1033
+ class ParseJSON
1034
+ attr_accessor source: ::String
1035
+ attr_accessor destination: ::String
1036
+ SENSITIVE: []
1037
+ end
1038
+
1039
+ class ParseKeyValue
1040
+ attr_accessor source: ::String
1041
+ attr_accessor destination: ::String
1042
+ attr_accessor field_delimiter: ::String
1043
+ attr_accessor key_value_delimiter: ::String
1044
+ attr_accessor key_prefix: ::String
1045
+ attr_accessor non_match_value: ::String
1046
+ attr_accessor overwrite_if_exists: bool
1047
+ SENSITIVE: []
1048
+ end
1049
+
1050
+ class ParsePostgres
1051
+ attr_accessor source: ::String
1052
+ SENSITIVE: []
1053
+ end
1054
+
1055
+ class ParseRoute53
1056
+ attr_accessor source: ::String
1057
+ SENSITIVE: []
1058
+ end
1059
+
1060
+ class ParseVPC
1061
+ attr_accessor source: ::String
1062
+ SENSITIVE: []
1063
+ end
1064
+
1065
+ class ParseWAF
1066
+ attr_accessor source: ::String
1067
+ SENSITIVE: []
1068
+ end
1069
+
863
1070
  class PatternToken
864
1071
  attr_accessor dynamic_token_position: ::Integer
865
1072
  attr_accessor is_dynamic: bool
@@ -874,10 +1081,36 @@ module Aws::CloudWatchLogs
874
1081
  SENSITIVE: []
875
1082
  end
876
1083
 
1084
+ class Processor
1085
+ attr_accessor add_keys: Types::AddKeys
1086
+ attr_accessor copy_value: Types::CopyValue
1087
+ attr_accessor csv: Types::CSV
1088
+ attr_accessor date_time_converter: Types::DateTimeConverter
1089
+ attr_accessor delete_keys: Types::DeleteKeys
1090
+ attr_accessor grok: Types::Grok
1091
+ attr_accessor list_to_map: Types::ListToMap
1092
+ attr_accessor lower_case_string: Types::LowerCaseString
1093
+ attr_accessor move_keys: Types::MoveKeys
1094
+ attr_accessor parse_cloudfront: Types::ParseCloudfront
1095
+ attr_accessor parse_json: Types::ParseJSON
1096
+ attr_accessor parse_key_value: Types::ParseKeyValue
1097
+ attr_accessor parse_route_53: Types::ParseRoute53
1098
+ attr_accessor parse_postgres: Types::ParsePostgres
1099
+ attr_accessor parse_vpc: Types::ParseVPC
1100
+ attr_accessor parse_waf: Types::ParseWAF
1101
+ attr_accessor rename_keys: Types::RenameKeys
1102
+ attr_accessor split_string: Types::SplitString
1103
+ attr_accessor substitute_string: Types::SubstituteString
1104
+ attr_accessor trim_string: Types::TrimString
1105
+ attr_accessor type_converter: Types::TypeConverter
1106
+ attr_accessor upper_case_string: Types::UpperCaseString
1107
+ SENSITIVE: []
1108
+ end
1109
+
877
1110
  class PutAccountPolicyRequest
878
1111
  attr_accessor policy_name: ::String
879
1112
  attr_accessor policy_document: ::String
880
- attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
1113
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
881
1114
  attr_accessor scope: ("ALL")
882
1115
  attr_accessor selection_criteria: ::String
883
1116
  SENSITIVE: []
@@ -958,6 +1191,17 @@ module Aws::CloudWatchLogs
958
1191
  SENSITIVE: []
959
1192
  end
960
1193
 
1194
+ class PutIndexPolicyRequest
1195
+ attr_accessor log_group_identifier: ::String
1196
+ attr_accessor policy_document: ::String
1197
+ SENSITIVE: []
1198
+ end
1199
+
1200
+ class PutIndexPolicyResponse
1201
+ attr_accessor index_policy: Types::IndexPolicy
1202
+ SENSITIVE: []
1203
+ end
1204
+
961
1205
  class PutLogEventsRequest
962
1206
  attr_accessor log_group_name: ::String
963
1207
  attr_accessor log_stream_name: ::String
@@ -979,6 +1223,7 @@ module Aws::CloudWatchLogs
979
1223
  attr_accessor filter_name: ::String
980
1224
  attr_accessor filter_pattern: ::String
981
1225
  attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
1226
+ attr_accessor apply_on_transformed_logs: bool
982
1227
  SENSITIVE: []
983
1228
  end
984
1229
 
@@ -1020,6 +1265,13 @@ module Aws::CloudWatchLogs
1020
1265
  attr_accessor destination_arn: ::String
1021
1266
  attr_accessor role_arn: ::String
1022
1267
  attr_accessor distribution: ("Random" | "ByLogStream")
1268
+ attr_accessor apply_on_transformed_logs: bool
1269
+ SENSITIVE: []
1270
+ end
1271
+
1272
+ class PutTransformerRequest
1273
+ attr_accessor log_group_identifier: ::String
1274
+ attr_accessor transformer_config: ::Array[Types::Processor]
1023
1275
  SENSITIVE: []
1024
1276
  end
1025
1277
 
@@ -1056,7 +1308,10 @@ module Aws::CloudWatchLogs
1056
1308
  class QueryStatistics
1057
1309
  attr_accessor records_matched: ::Float
1058
1310
  attr_accessor records_scanned: ::Float
1311
+ attr_accessor estimated_records_skipped: ::Float
1059
1312
  attr_accessor bytes_scanned: ::Float
1313
+ attr_accessor estimated_bytes_skipped: ::Float
1314
+ attr_accessor log_groups_scanned: ::Float
1060
1315
  SENSITIVE: []
1061
1316
  end
1062
1317
 
@@ -1078,6 +1333,18 @@ module Aws::CloudWatchLogs
1078
1333
  SENSITIVE: []
1079
1334
  end
1080
1335
 
1336
+ class RenameKeyEntry
1337
+ attr_accessor key: ::String
1338
+ attr_accessor rename_to: ::String
1339
+ attr_accessor overwrite_if_exists: bool
1340
+ SENSITIVE: []
1341
+ end
1342
+
1343
+ class RenameKeys
1344
+ attr_accessor entries: ::Array[Types::RenameKeyEntry]
1345
+ SENSITIVE: []
1346
+ end
1347
+
1081
1348
  class ResourceAlreadyExistsException < Aws::EmptyStructure
1082
1349
  end
1083
1350
 
@@ -1127,6 +1394,17 @@ module Aws::CloudWatchLogs
1127
1394
  SENSITIVE: []
1128
1395
  end
1129
1396
 
1397
+ class SplitString
1398
+ attr_accessor entries: ::Array[Types::SplitStringEntry]
1399
+ SENSITIVE: []
1400
+ end
1401
+
1402
+ class SplitStringEntry
1403
+ attr_accessor source: ::String
1404
+ attr_accessor delimiter: ::String
1405
+ SENSITIVE: []
1406
+ end
1407
+
1130
1408
  class StartLiveTailRequest
1131
1409
  attr_accessor log_group_identifiers: ::Array[::String]
1132
1410
  attr_accessor log_stream_names: ::Array[::String]
@@ -1173,10 +1451,23 @@ module Aws::CloudWatchLogs
1173
1451
  attr_accessor destination_arn: ::String
1174
1452
  attr_accessor role_arn: ::String
1175
1453
  attr_accessor distribution: ("Random" | "ByLogStream")
1454
+ attr_accessor apply_on_transformed_logs: bool
1176
1455
  attr_accessor creation_time: ::Integer
1177
1456
  SENSITIVE: []
1178
1457
  end
1179
1458
 
1459
+ class SubstituteString
1460
+ attr_accessor entries: ::Array[Types::SubstituteStringEntry]
1461
+ SENSITIVE: []
1462
+ end
1463
+
1464
+ class SubstituteStringEntry
1465
+ attr_accessor source: ::String
1466
+ attr_accessor from: ::String
1467
+ attr_accessor to: ::String
1468
+ SENSITIVE: []
1469
+ end
1470
+
1180
1471
  class SuppressionPeriod
1181
1472
  attr_accessor value: ::Integer
1182
1473
  attr_accessor suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")
@@ -1206,6 +1497,17 @@ module Aws::CloudWatchLogs
1206
1497
  SENSITIVE: []
1207
1498
  end
1208
1499
 
1500
+ class TestTransformerRequest
1501
+ attr_accessor transformer_config: ::Array[Types::Processor]
1502
+ attr_accessor log_event_messages: ::Array[::String]
1503
+ SENSITIVE: []
1504
+ end
1505
+
1506
+ class TestTransformerResponse
1507
+ attr_accessor transformed_logs: ::Array[Types::TransformedLogRecord]
1508
+ SENSITIVE: []
1509
+ end
1510
+
1209
1511
  class ThrottlingException < Aws::EmptyStructure
1210
1512
  end
1211
1513
 
@@ -1215,6 +1517,29 @@ module Aws::CloudWatchLogs
1215
1517
  SENSITIVE: []
1216
1518
  end
1217
1519
 
1520
+ class TransformedLogRecord
1521
+ attr_accessor event_number: ::Integer
1522
+ attr_accessor event_message: ::String
1523
+ attr_accessor transformed_event_message: ::String
1524
+ SENSITIVE: []
1525
+ end
1526
+
1527
+ class TrimString
1528
+ attr_accessor with_keys: ::Array[::String]
1529
+ SENSITIVE: []
1530
+ end
1531
+
1532
+ class TypeConverter
1533
+ attr_accessor entries: ::Array[Types::TypeConverterEntry]
1534
+ SENSITIVE: []
1535
+ end
1536
+
1537
+ class TypeConverterEntry
1538
+ attr_accessor key: ::String
1539
+ attr_accessor type: ("boolean" | "integer" | "double" | "string")
1540
+ SENSITIVE: []
1541
+ end
1542
+
1218
1543
  class UnrecognizedClientException < Aws::EmptyStructure
1219
1544
  end
1220
1545
 
@@ -1260,6 +1585,11 @@ module Aws::CloudWatchLogs
1260
1585
  SENSITIVE: []
1261
1586
  end
1262
1587
 
1588
+ class UpperCaseString
1589
+ attr_accessor with_keys: ::Array[::String]
1590
+ SENSITIVE: []
1591
+ end
1592
+
1263
1593
  class ValidationException < Aws::EmptyStructure
1264
1594
  end
1265
1595
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.102.0
4
+ version: 1.103.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core