aws-sdk-cloudwatchlogs 1.102.0 → 1.104.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,28 @@ 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 DeleteIntegrationRequest
252
+ attr_accessor integration_name: ::String
253
+ attr_accessor force: bool
254
+ SENSITIVE: []
255
+ end
256
+
257
+ class DeleteIntegrationResponse < Aws::EmptyStructure
258
+ end
259
+
260
+ class DeleteKeys
261
+ attr_accessor with_keys: ::Array[::String]
262
+ SENSITIVE: []
263
+ end
264
+
200
265
  class DeleteLogAnomalyDetectorRequest
201
266
  attr_accessor anomaly_detector_arn: ::String
202
267
  SENSITIVE: []
@@ -245,6 +310,11 @@ module Aws::CloudWatchLogs
245
310
  SENSITIVE: []
246
311
  end
247
312
 
313
+ class DeleteTransformerRequest
314
+ attr_accessor log_group_identifier: ::String
315
+ SENSITIVE: []
316
+ end
317
+
248
318
  class Delivery
249
319
  attr_accessor id: ::String
250
320
  attr_accessor arn: ::String
@@ -284,14 +354,16 @@ module Aws::CloudWatchLogs
284
354
  end
285
355
 
286
356
  class DescribeAccountPoliciesRequest
287
- attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
357
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
288
358
  attr_accessor policy_name: ::String
289
359
  attr_accessor account_identifiers: ::Array[::String]
360
+ attr_accessor next_token: ::String
290
361
  SENSITIVE: []
291
362
  end
292
363
 
293
364
  class DescribeAccountPoliciesResponse
294
365
  attr_accessor account_policies: ::Array[Types::AccountPolicy]
366
+ attr_accessor next_token: ::String
295
367
  SENSITIVE: []
296
368
  end
297
369
 
@@ -374,6 +446,30 @@ module Aws::CloudWatchLogs
374
446
  SENSITIVE: []
375
447
  end
376
448
 
449
+ class DescribeFieldIndexesRequest
450
+ attr_accessor log_group_identifiers: ::Array[::String]
451
+ attr_accessor next_token: ::String
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class DescribeFieldIndexesResponse
456
+ attr_accessor field_indexes: ::Array[Types::FieldIndex]
457
+ attr_accessor next_token: ::String
458
+ SENSITIVE: []
459
+ end
460
+
461
+ class DescribeIndexPoliciesRequest
462
+ attr_accessor log_group_identifiers: ::Array[::String]
463
+ attr_accessor next_token: ::String
464
+ SENSITIVE: []
465
+ end
466
+
467
+ class DescribeIndexPoliciesResponse
468
+ attr_accessor index_policies: ::Array[Types::IndexPolicy]
469
+ attr_accessor next_token: ::String
470
+ SENSITIVE: []
471
+ end
472
+
377
473
  class DescribeLogGroupsRequest
378
474
  attr_accessor account_identifiers: ::Array[::String]
379
475
  attr_accessor log_group_name_prefix: ::String
@@ -429,6 +525,7 @@ module Aws::CloudWatchLogs
429
525
  attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
430
526
  attr_accessor max_results: ::Integer
431
527
  attr_accessor next_token: ::String
528
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
432
529
  SENSITIVE: []
433
530
  end
434
531
 
@@ -439,6 +536,7 @@ module Aws::CloudWatchLogs
439
536
  end
440
537
 
441
538
  class DescribeQueryDefinitionsRequest
539
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
442
540
  attr_accessor query_definition_name_prefix: ::String
443
541
  attr_accessor max_results: ::Integer
444
542
  attr_accessor next_token: ::String
@@ -524,6 +622,15 @@ module Aws::CloudWatchLogs
524
622
  SENSITIVE: []
525
623
  end
526
624
 
625
+ class FieldIndex
626
+ attr_accessor log_group_identifier: ::String
627
+ attr_accessor field_index_name: ::String
628
+ attr_accessor last_scan_time: ::Integer
629
+ attr_accessor first_event_time: ::Integer
630
+ attr_accessor last_event_time: ::Integer
631
+ SENSITIVE: []
632
+ end
633
+
527
634
  class FilterLogEventsRequest
528
635
  attr_accessor log_group_name: ::String
529
636
  attr_accessor log_group_identifier: ::String
@@ -607,6 +714,19 @@ module Aws::CloudWatchLogs
607
714
  SENSITIVE: []
608
715
  end
609
716
 
717
+ class GetIntegrationRequest
718
+ attr_accessor integration_name: ::String
719
+ SENSITIVE: []
720
+ end
721
+
722
+ class GetIntegrationResponse
723
+ attr_accessor integration_name: ::String
724
+ attr_accessor integration_type: ("OPENSEARCH")
725
+ attr_accessor integration_status: ("PROVISIONING" | "ACTIVE" | "FAILED")
726
+ attr_accessor integration_details: Types::IntegrationDetails
727
+ SENSITIVE: []
728
+ end
729
+
610
730
  class GetLogAnomalyDetectorRequest
611
731
  attr_accessor anomaly_detector_arn: ::String
612
732
  SENSITIVE: []
@@ -674,6 +794,7 @@ module Aws::CloudWatchLogs
674
794
  end
675
795
 
676
796
  class GetQueryResultsResponse
797
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
677
798
  attr_accessor results: ::Array[::Array[Types::ResultField]]
678
799
  attr_accessor statistics: Types::QueryStatistics
679
800
  attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
@@ -681,12 +802,58 @@ module Aws::CloudWatchLogs
681
802
  SENSITIVE: []
682
803
  end
683
804
 
805
+ class GetTransformerRequest
806
+ attr_accessor log_group_identifier: ::String
807
+ SENSITIVE: []
808
+ end
809
+
810
+ class GetTransformerResponse
811
+ attr_accessor log_group_identifier: ::String
812
+ attr_accessor creation_time: ::Integer
813
+ attr_accessor last_modified_time: ::Integer
814
+ attr_accessor transformer_config: ::Array[Types::Processor]
815
+ SENSITIVE: []
816
+ end
817
+
818
+ class Grok
819
+ attr_accessor source: ::String
820
+ attr_accessor match: ::String
821
+ SENSITIVE: []
822
+ end
823
+
824
+ class IndexPolicy
825
+ attr_accessor log_group_identifier: ::String
826
+ attr_accessor last_update_time: ::Integer
827
+ attr_accessor policy_document: ::String
828
+ attr_accessor policy_name: ::String
829
+ attr_accessor source: ("ACCOUNT" | "LOG_GROUP")
830
+ SENSITIVE: []
831
+ end
832
+
684
833
  class InputLogEvent
685
834
  attr_accessor timestamp: ::Integer
686
835
  attr_accessor message: ::String
687
836
  SENSITIVE: []
688
837
  end
689
838
 
839
+ class IntegrationDetails
840
+ attr_accessor open_search_integration_details: Types::OpenSearchIntegrationDetails
841
+ attr_accessor unknown: untyped
842
+ SENSITIVE: []
843
+
844
+ class OpenSearchIntegrationDetails < IntegrationDetails
845
+ end
846
+ class Unknown < IntegrationDetails
847
+ end
848
+ end
849
+
850
+ class IntegrationSummary
851
+ attr_accessor integration_name: ::String
852
+ attr_accessor integration_type: ("OPENSEARCH")
853
+ attr_accessor integration_status: ("PROVISIONING" | "ACTIVE" | "FAILED")
854
+ SENSITIVE: []
855
+ end
856
+
690
857
  class InvalidOperationException < Aws::EmptyStructure
691
858
  end
692
859
 
@@ -715,6 +882,18 @@ module Aws::CloudWatchLogs
715
882
  SENSITIVE: []
716
883
  end
717
884
 
885
+ class ListIntegrationsRequest
886
+ attr_accessor integration_name_prefix: ::String
887
+ attr_accessor integration_type: ("OPENSEARCH")
888
+ attr_accessor integration_status: ("PROVISIONING" | "ACTIVE" | "FAILED")
889
+ SENSITIVE: []
890
+ end
891
+
892
+ class ListIntegrationsResponse
893
+ attr_accessor integration_summaries: ::Array[Types::IntegrationSummary]
894
+ SENSITIVE: []
895
+ end
896
+
718
897
  class ListLogAnomalyDetectorsRequest
719
898
  attr_accessor filter_log_group_arn: ::String
720
899
  attr_accessor limit: ::Integer
@@ -728,6 +907,19 @@ module Aws::CloudWatchLogs
728
907
  SENSITIVE: []
729
908
  end
730
909
 
910
+ class ListLogGroupsForQueryRequest
911
+ attr_accessor query_id: ::String
912
+ attr_accessor next_token: ::String
913
+ attr_accessor max_results: ::Integer
914
+ SENSITIVE: []
915
+ end
916
+
917
+ class ListLogGroupsForQueryResponse
918
+ attr_accessor log_group_identifiers: ::Array[::String]
919
+ attr_accessor next_token: ::String
920
+ SENSITIVE: []
921
+ end
922
+
731
923
  class ListTagsForResourceRequest
732
924
  attr_accessor resource_arn: ::String
733
925
  SENSITIVE: []
@@ -748,6 +940,16 @@ module Aws::CloudWatchLogs
748
940
  SENSITIVE: []
749
941
  end
750
942
 
943
+ class ListToMap
944
+ attr_accessor source: ::String
945
+ attr_accessor key: ::String
946
+ attr_accessor value_key: ::String
947
+ attr_accessor target: ::String
948
+ attr_accessor flatten: bool
949
+ attr_accessor flattened_element: ("first" | "last")
950
+ SENSITIVE: []
951
+ end
952
+
751
953
  class LiveTailSessionLogEvent
752
954
  attr_accessor log_stream_name: ::String
753
955
  attr_accessor log_group_identifier: ::String
@@ -819,6 +1021,11 @@ module Aws::CloudWatchLogs
819
1021
  SENSITIVE: []
820
1022
  end
821
1023
 
1024
+ class LowerCaseString
1025
+ attr_accessor with_keys: ::Array[::String]
1026
+ SENSITIVE: []
1027
+ end
1028
+
822
1029
  class MalformedQueryException
823
1030
  attr_accessor query_compile_error: Types::QueryCompileError
824
1031
  SENSITIVE: []
@@ -830,6 +1037,7 @@ module Aws::CloudWatchLogs
830
1037
  attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
831
1038
  attr_accessor creation_time: ::Integer
832
1039
  attr_accessor log_group_name: ::String
1040
+ attr_accessor apply_on_transformed_logs: bool
833
1041
  SENSITIVE: []
834
1042
  end
835
1043
 
@@ -850,6 +1058,96 @@ module Aws::CloudWatchLogs
850
1058
  SENSITIVE: []
851
1059
  end
852
1060
 
1061
+ class MoveKeyEntry
1062
+ attr_accessor source: ::String
1063
+ attr_accessor target: ::String
1064
+ attr_accessor overwrite_if_exists: bool
1065
+ SENSITIVE: []
1066
+ end
1067
+
1068
+ class MoveKeys
1069
+ attr_accessor entries: ::Array[Types::MoveKeyEntry]
1070
+ SENSITIVE: []
1071
+ end
1072
+
1073
+ class OpenSearchApplication
1074
+ attr_accessor application_endpoint: ::String
1075
+ attr_accessor application_arn: ::String
1076
+ attr_accessor application_id: ::String
1077
+ attr_accessor status: Types::OpenSearchResourceStatus
1078
+ SENSITIVE: []
1079
+ end
1080
+
1081
+ class OpenSearchCollection
1082
+ attr_accessor collection_endpoint: ::String
1083
+ attr_accessor collection_arn: ::String
1084
+ attr_accessor status: Types::OpenSearchResourceStatus
1085
+ SENSITIVE: []
1086
+ end
1087
+
1088
+ class OpenSearchDataAccessPolicy
1089
+ attr_accessor policy_name: ::String
1090
+ attr_accessor status: Types::OpenSearchResourceStatus
1091
+ SENSITIVE: []
1092
+ end
1093
+
1094
+ class OpenSearchDataSource
1095
+ attr_accessor data_source_name: ::String
1096
+ attr_accessor status: Types::OpenSearchResourceStatus
1097
+ SENSITIVE: []
1098
+ end
1099
+
1100
+ class OpenSearchEncryptionPolicy
1101
+ attr_accessor policy_name: ::String
1102
+ attr_accessor status: Types::OpenSearchResourceStatus
1103
+ SENSITIVE: []
1104
+ end
1105
+
1106
+ class OpenSearchIntegrationDetails
1107
+ attr_accessor data_source: Types::OpenSearchDataSource
1108
+ attr_accessor application: Types::OpenSearchApplication
1109
+ attr_accessor collection: Types::OpenSearchCollection
1110
+ attr_accessor workspace: Types::OpenSearchWorkspace
1111
+ attr_accessor encryption_policy: Types::OpenSearchEncryptionPolicy
1112
+ attr_accessor network_policy: Types::OpenSearchNetworkPolicy
1113
+ attr_accessor access_policy: Types::OpenSearchDataAccessPolicy
1114
+ attr_accessor lifecycle_policy: Types::OpenSearchLifecyclePolicy
1115
+ SENSITIVE: []
1116
+ end
1117
+
1118
+ class OpenSearchLifecyclePolicy
1119
+ attr_accessor policy_name: ::String
1120
+ attr_accessor status: Types::OpenSearchResourceStatus
1121
+ SENSITIVE: []
1122
+ end
1123
+
1124
+ class OpenSearchNetworkPolicy
1125
+ attr_accessor policy_name: ::String
1126
+ attr_accessor status: Types::OpenSearchResourceStatus
1127
+ SENSITIVE: []
1128
+ end
1129
+
1130
+ class OpenSearchResourceConfig
1131
+ attr_accessor kms_key_arn: ::String
1132
+ attr_accessor data_source_role_arn: ::String
1133
+ attr_accessor dashboard_viewer_principals: ::Array[::String]
1134
+ attr_accessor application_arn: ::String
1135
+ attr_accessor retention_days: ::Integer
1136
+ SENSITIVE: []
1137
+ end
1138
+
1139
+ class OpenSearchResourceStatus
1140
+ attr_accessor status: ("ACTIVE" | "NOT_FOUND" | "ERROR")
1141
+ attr_accessor status_message: ::String
1142
+ SENSITIVE: []
1143
+ end
1144
+
1145
+ class OpenSearchWorkspace
1146
+ attr_accessor workspace_id: ::String
1147
+ attr_accessor status: Types::OpenSearchResourceStatus
1148
+ SENSITIVE: []
1149
+ end
1150
+
853
1151
  class OperationAbortedException < Aws::EmptyStructure
854
1152
  end
855
1153
 
@@ -860,6 +1158,48 @@ module Aws::CloudWatchLogs
860
1158
  SENSITIVE: []
861
1159
  end
862
1160
 
1161
+ class ParseCloudfront
1162
+ attr_accessor source: ::String
1163
+ SENSITIVE: []
1164
+ end
1165
+
1166
+ class ParseJSON
1167
+ attr_accessor source: ::String
1168
+ attr_accessor destination: ::String
1169
+ SENSITIVE: []
1170
+ end
1171
+
1172
+ class ParseKeyValue
1173
+ attr_accessor source: ::String
1174
+ attr_accessor destination: ::String
1175
+ attr_accessor field_delimiter: ::String
1176
+ attr_accessor key_value_delimiter: ::String
1177
+ attr_accessor key_prefix: ::String
1178
+ attr_accessor non_match_value: ::String
1179
+ attr_accessor overwrite_if_exists: bool
1180
+ SENSITIVE: []
1181
+ end
1182
+
1183
+ class ParsePostgres
1184
+ attr_accessor source: ::String
1185
+ SENSITIVE: []
1186
+ end
1187
+
1188
+ class ParseRoute53
1189
+ attr_accessor source: ::String
1190
+ SENSITIVE: []
1191
+ end
1192
+
1193
+ class ParseVPC
1194
+ attr_accessor source: ::String
1195
+ SENSITIVE: []
1196
+ end
1197
+
1198
+ class ParseWAF
1199
+ attr_accessor source: ::String
1200
+ SENSITIVE: []
1201
+ end
1202
+
863
1203
  class PatternToken
864
1204
  attr_accessor dynamic_token_position: ::Integer
865
1205
  attr_accessor is_dynamic: bool
@@ -874,10 +1214,36 @@ module Aws::CloudWatchLogs
874
1214
  SENSITIVE: []
875
1215
  end
876
1216
 
1217
+ class Processor
1218
+ attr_accessor add_keys: Types::AddKeys
1219
+ attr_accessor copy_value: Types::CopyValue
1220
+ attr_accessor csv: Types::CSV
1221
+ attr_accessor date_time_converter: Types::DateTimeConverter
1222
+ attr_accessor delete_keys: Types::DeleteKeys
1223
+ attr_accessor grok: Types::Grok
1224
+ attr_accessor list_to_map: Types::ListToMap
1225
+ attr_accessor lower_case_string: Types::LowerCaseString
1226
+ attr_accessor move_keys: Types::MoveKeys
1227
+ attr_accessor parse_cloudfront: Types::ParseCloudfront
1228
+ attr_accessor parse_json: Types::ParseJSON
1229
+ attr_accessor parse_key_value: Types::ParseKeyValue
1230
+ attr_accessor parse_route_53: Types::ParseRoute53
1231
+ attr_accessor parse_postgres: Types::ParsePostgres
1232
+ attr_accessor parse_vpc: Types::ParseVPC
1233
+ attr_accessor parse_waf: Types::ParseWAF
1234
+ attr_accessor rename_keys: Types::RenameKeys
1235
+ attr_accessor split_string: Types::SplitString
1236
+ attr_accessor substitute_string: Types::SubstituteString
1237
+ attr_accessor trim_string: Types::TrimString
1238
+ attr_accessor type_converter: Types::TypeConverter
1239
+ attr_accessor upper_case_string: Types::UpperCaseString
1240
+ SENSITIVE: []
1241
+ end
1242
+
877
1243
  class PutAccountPolicyRequest
878
1244
  attr_accessor policy_name: ::String
879
1245
  attr_accessor policy_document: ::String
880
- attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
1246
+ attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
881
1247
  attr_accessor scope: ("ALL")
882
1248
  attr_accessor selection_criteria: ::String
883
1249
  SENSITIVE: []
@@ -958,6 +1324,30 @@ module Aws::CloudWatchLogs
958
1324
  SENSITIVE: []
959
1325
  end
960
1326
 
1327
+ class PutIndexPolicyRequest
1328
+ attr_accessor log_group_identifier: ::String
1329
+ attr_accessor policy_document: ::String
1330
+ SENSITIVE: []
1331
+ end
1332
+
1333
+ class PutIndexPolicyResponse
1334
+ attr_accessor index_policy: Types::IndexPolicy
1335
+ SENSITIVE: []
1336
+ end
1337
+
1338
+ class PutIntegrationRequest
1339
+ attr_accessor integration_name: ::String
1340
+ attr_accessor resource_config: Types::ResourceConfig
1341
+ attr_accessor integration_type: ("OPENSEARCH")
1342
+ SENSITIVE: []
1343
+ end
1344
+
1345
+ class PutIntegrationResponse
1346
+ attr_accessor integration_name: ::String
1347
+ attr_accessor integration_status: ("PROVISIONING" | "ACTIVE" | "FAILED")
1348
+ SENSITIVE: []
1349
+ end
1350
+
961
1351
  class PutLogEventsRequest
962
1352
  attr_accessor log_group_name: ::String
963
1353
  attr_accessor log_stream_name: ::String
@@ -979,10 +1369,12 @@ module Aws::CloudWatchLogs
979
1369
  attr_accessor filter_name: ::String
980
1370
  attr_accessor filter_pattern: ::String
981
1371
  attr_accessor metric_transformations: ::Array[Types::MetricTransformation]
1372
+ attr_accessor apply_on_transformed_logs: bool
982
1373
  SENSITIVE: []
983
1374
  end
984
1375
 
985
1376
  class PutQueryDefinitionRequest
1377
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
986
1378
  attr_accessor name: ::String
987
1379
  attr_accessor query_definition_id: ::String
988
1380
  attr_accessor log_group_names: ::Array[::String]
@@ -1020,6 +1412,13 @@ module Aws::CloudWatchLogs
1020
1412
  attr_accessor destination_arn: ::String
1021
1413
  attr_accessor role_arn: ::String
1022
1414
  attr_accessor distribution: ("Random" | "ByLogStream")
1415
+ attr_accessor apply_on_transformed_logs: bool
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class PutTransformerRequest
1420
+ attr_accessor log_group_identifier: ::String
1421
+ attr_accessor transformer_config: ::Array[Types::Processor]
1023
1422
  SENSITIVE: []
1024
1423
  end
1025
1424
 
@@ -1036,6 +1435,7 @@ module Aws::CloudWatchLogs
1036
1435
  end
1037
1436
 
1038
1437
  class QueryDefinition
1438
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
1039
1439
  attr_accessor query_definition_id: ::String
1040
1440
  attr_accessor name: ::String
1041
1441
  attr_accessor query_string: ::String
@@ -1045,6 +1445,7 @@ module Aws::CloudWatchLogs
1045
1445
  end
1046
1446
 
1047
1447
  class QueryInfo
1448
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
1048
1449
  attr_accessor query_id: ::String
1049
1450
  attr_accessor query_string: ::String
1050
1451
  attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
@@ -1056,7 +1457,10 @@ module Aws::CloudWatchLogs
1056
1457
  class QueryStatistics
1057
1458
  attr_accessor records_matched: ::Float
1058
1459
  attr_accessor records_scanned: ::Float
1460
+ attr_accessor estimated_records_skipped: ::Float
1059
1461
  attr_accessor bytes_scanned: ::Float
1462
+ attr_accessor estimated_bytes_skipped: ::Float
1463
+ attr_accessor log_groups_scanned: ::Float
1060
1464
  SENSITIVE: []
1061
1465
  end
1062
1466
 
@@ -1078,9 +1482,32 @@ module Aws::CloudWatchLogs
1078
1482
  SENSITIVE: []
1079
1483
  end
1080
1484
 
1485
+ class RenameKeyEntry
1486
+ attr_accessor key: ::String
1487
+ attr_accessor rename_to: ::String
1488
+ attr_accessor overwrite_if_exists: bool
1489
+ SENSITIVE: []
1490
+ end
1491
+
1492
+ class RenameKeys
1493
+ attr_accessor entries: ::Array[Types::RenameKeyEntry]
1494
+ SENSITIVE: []
1495
+ end
1496
+
1081
1497
  class ResourceAlreadyExistsException < Aws::EmptyStructure
1082
1498
  end
1083
1499
 
1500
+ class ResourceConfig
1501
+ attr_accessor open_search_resource_config: Types::OpenSearchResourceConfig
1502
+ attr_accessor unknown: untyped
1503
+ SENSITIVE: []
1504
+
1505
+ class OpenSearchResourceConfig < ResourceConfig
1506
+ end
1507
+ class Unknown < ResourceConfig
1508
+ end
1509
+ end
1510
+
1084
1511
  class ResourceNotFoundException < Aws::EmptyStructure
1085
1512
  end
1086
1513
 
@@ -1127,6 +1554,17 @@ module Aws::CloudWatchLogs
1127
1554
  SENSITIVE: []
1128
1555
  end
1129
1556
 
1557
+ class SplitString
1558
+ attr_accessor entries: ::Array[Types::SplitStringEntry]
1559
+ SENSITIVE: []
1560
+ end
1561
+
1562
+ class SplitStringEntry
1563
+ attr_accessor source: ::String
1564
+ attr_accessor delimiter: ::String
1565
+ SENSITIVE: []
1566
+ end
1567
+
1130
1568
  class StartLiveTailRequest
1131
1569
  attr_accessor log_group_identifiers: ::Array[::String]
1132
1570
  attr_accessor log_stream_names: ::Array[::String]
@@ -1141,6 +1579,7 @@ module Aws::CloudWatchLogs
1141
1579
  end
1142
1580
 
1143
1581
  class StartQueryRequest
1582
+ attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
1144
1583
  attr_accessor log_group_name: ::String
1145
1584
  attr_accessor log_group_names: ::Array[::String]
1146
1585
  attr_accessor log_group_identifiers: ::Array[::String]
@@ -1173,10 +1612,23 @@ module Aws::CloudWatchLogs
1173
1612
  attr_accessor destination_arn: ::String
1174
1613
  attr_accessor role_arn: ::String
1175
1614
  attr_accessor distribution: ("Random" | "ByLogStream")
1615
+ attr_accessor apply_on_transformed_logs: bool
1176
1616
  attr_accessor creation_time: ::Integer
1177
1617
  SENSITIVE: []
1178
1618
  end
1179
1619
 
1620
+ class SubstituteString
1621
+ attr_accessor entries: ::Array[Types::SubstituteStringEntry]
1622
+ SENSITIVE: []
1623
+ end
1624
+
1625
+ class SubstituteStringEntry
1626
+ attr_accessor source: ::String
1627
+ attr_accessor from: ::String
1628
+ attr_accessor to: ::String
1629
+ SENSITIVE: []
1630
+ end
1631
+
1180
1632
  class SuppressionPeriod
1181
1633
  attr_accessor value: ::Integer
1182
1634
  attr_accessor suppression_unit: ("SECONDS" | "MINUTES" | "HOURS")
@@ -1206,6 +1658,17 @@ module Aws::CloudWatchLogs
1206
1658
  SENSITIVE: []
1207
1659
  end
1208
1660
 
1661
+ class TestTransformerRequest
1662
+ attr_accessor transformer_config: ::Array[Types::Processor]
1663
+ attr_accessor log_event_messages: ::Array[::String]
1664
+ SENSITIVE: []
1665
+ end
1666
+
1667
+ class TestTransformerResponse
1668
+ attr_accessor transformed_logs: ::Array[Types::TransformedLogRecord]
1669
+ SENSITIVE: []
1670
+ end
1671
+
1209
1672
  class ThrottlingException < Aws::EmptyStructure
1210
1673
  end
1211
1674
 
@@ -1215,6 +1678,29 @@ module Aws::CloudWatchLogs
1215
1678
  SENSITIVE: []
1216
1679
  end
1217
1680
 
1681
+ class TransformedLogRecord
1682
+ attr_accessor event_number: ::Integer
1683
+ attr_accessor event_message: ::String
1684
+ attr_accessor transformed_event_message: ::String
1685
+ SENSITIVE: []
1686
+ end
1687
+
1688
+ class TrimString
1689
+ attr_accessor with_keys: ::Array[::String]
1690
+ SENSITIVE: []
1691
+ end
1692
+
1693
+ class TypeConverter
1694
+ attr_accessor entries: ::Array[Types::TypeConverterEntry]
1695
+ SENSITIVE: []
1696
+ end
1697
+
1698
+ class TypeConverterEntry
1699
+ attr_accessor key: ::String
1700
+ attr_accessor type: ("boolean" | "integer" | "double" | "string")
1701
+ SENSITIVE: []
1702
+ end
1703
+
1218
1704
  class UnrecognizedClientException < Aws::EmptyStructure
1219
1705
  end
1220
1706
 
@@ -1260,6 +1746,11 @@ module Aws::CloudWatchLogs
1260
1746
  SENSITIVE: []
1261
1747
  end
1262
1748
 
1749
+ class UpperCaseString
1750
+ attr_accessor with_keys: ::Array[::String]
1751
+ SENSITIVE: []
1752
+ end
1753
+
1263
1754
  class ValidationException < Aws::EmptyStructure
1264
1755
  end
1265
1756