aws-sdk-cloudwatchlogs 1.102.0 → 1.104.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.102.0'
58
+ GEM_VERSION = '1.104.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -162,7 +162,7 @@ module Aws
162
162
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_account_policy-instance_method
163
163
  def delete_account_policy: (
164
164
  policy_name: ::String,
165
- policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY")
165
+ policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
166
166
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
167
167
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
168
168
 
@@ -202,6 +202,25 @@ module Aws
202
202
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
203
203
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
204
204
 
205
+ interface _DeleteIndexPolicyResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIndexPolicyResponse]
207
+ end
208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_index_policy-instance_method
209
+ def delete_index_policy: (
210
+ log_group_identifier: ::String
211
+ ) -> _DeleteIndexPolicyResponseSuccess
212
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIndexPolicyResponseSuccess
213
+
214
+ interface _DeleteIntegrationResponseSuccess
215
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIntegrationResponse]
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_integration-instance_method
218
+ def delete_integration: (
219
+ integration_name: ::String,
220
+ ?force: bool
221
+ ) -> _DeleteIntegrationResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIntegrationResponseSuccess
223
+
205
224
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_log_anomaly_detector-instance_method
206
225
  def delete_log_anomaly_detector: (
207
226
  anomaly_detector_arn: ::String
@@ -257,15 +276,23 @@ module Aws
257
276
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
258
277
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
259
278
 
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_transformer-instance_method
280
+ def delete_transformer: (
281
+ log_group_identifier: ::String
282
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
283
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
284
+
260
285
  interface _DescribeAccountPoliciesResponseSuccess
261
286
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountPoliciesResponse]
262
287
  def account_policies: () -> ::Array[Types::AccountPolicy]
288
+ def next_token: () -> ::String
263
289
  end
264
290
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_account_policies-instance_method
265
291
  def describe_account_policies: (
266
- policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY"),
292
+ policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY"),
267
293
  ?policy_name: ::String,
268
- ?account_identifiers: Array[::String]
294
+ ?account_identifiers: Array[::String],
295
+ ?next_token: ::String
269
296
  ) -> _DescribeAccountPoliciesResponseSuccess
270
297
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountPoliciesResponseSuccess
271
298
 
@@ -348,6 +375,30 @@ module Aws
348
375
  ) -> _DescribeExportTasksResponseSuccess
349
376
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExportTasksResponseSuccess
350
377
 
378
+ interface _DescribeFieldIndexesResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFieldIndexesResponse]
380
+ def field_indexes: () -> ::Array[Types::FieldIndex]
381
+ def next_token: () -> ::String
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_field_indexes-instance_method
384
+ def describe_field_indexes: (
385
+ log_group_identifiers: Array[::String],
386
+ ?next_token: ::String
387
+ ) -> _DescribeFieldIndexesResponseSuccess
388
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFieldIndexesResponseSuccess
389
+
390
+ interface _DescribeIndexPoliciesResponseSuccess
391
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIndexPoliciesResponse]
392
+ def index_policies: () -> ::Array[Types::IndexPolicy]
393
+ def next_token: () -> ::String
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_index_policies-instance_method
396
+ def describe_index_policies: (
397
+ log_group_identifiers: Array[::String],
398
+ ?next_token: ::String
399
+ ) -> _DescribeIndexPoliciesResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIndexPoliciesResponseSuccess
401
+
351
402
  interface _DescribeLogGroupsResponseSuccess
352
403
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLogGroupsResponse]
353
404
  def log_groups: () -> ::Array[Types::LogGroup]
@@ -408,7 +459,8 @@ module Aws
408
459
  ?log_group_name: ::String,
409
460
  ?status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown"),
410
461
  ?max_results: ::Integer,
411
- ?next_token: ::String
462
+ ?next_token: ::String,
463
+ ?query_language: ("CWLI" | "SQL" | "PPL")
412
464
  ) -> _DescribeQueriesResponseSuccess
413
465
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueriesResponseSuccess
414
466
 
@@ -419,6 +471,7 @@ module Aws
419
471
  end
420
472
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_query_definitions-instance_method
421
473
  def describe_query_definitions: (
474
+ ?query_language: ("CWLI" | "SQL" | "PPL"),
422
475
  ?query_definition_name_prefix: ::String,
423
476
  ?max_results: ::Integer,
424
477
  ?next_token: ::String
@@ -532,6 +585,19 @@ module Aws
532
585
  ) -> _GetDeliverySourceResponseSuccess
533
586
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliverySourceResponseSuccess
534
587
 
588
+ interface _GetIntegrationResponseSuccess
589
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationResponse]
590
+ def integration_name: () -> ::String
591
+ def integration_type: () -> ("OPENSEARCH")
592
+ def integration_status: () -> ("PROVISIONING" | "ACTIVE" | "FAILED")
593
+ def integration_details: () -> Types::IntegrationDetails
594
+ end
595
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_integration-instance_method
596
+ def get_integration: (
597
+ integration_name: ::String
598
+ ) -> _GetIntegrationResponseSuccess
599
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntegrationResponseSuccess
600
+
535
601
  interface _GetLogAnomalyDetectorResponseSuccess
536
602
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLogAnomalyDetectorResponse]
537
603
  def detector_name: () -> ::String
@@ -595,6 +661,7 @@ module Aws
595
661
 
596
662
  interface _GetQueryResultsResponseSuccess
597
663
  include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsResponse]
664
+ def query_language: () -> ("CWLI" | "SQL" | "PPL")
598
665
  def results: () -> ::Array[::Array[Types::ResultField]]
599
666
  def statistics: () -> Types::QueryStatistics
600
667
  def status: () -> ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
@@ -606,6 +673,19 @@ module Aws
606
673
  ) -> _GetQueryResultsResponseSuccess
607
674
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResultsResponseSuccess
608
675
 
676
+ interface _GetTransformerResponseSuccess
677
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTransformerResponse]
678
+ def log_group_identifier: () -> ::String
679
+ def creation_time: () -> ::Integer
680
+ def last_modified_time: () -> ::Integer
681
+ def transformer_config: () -> ::Array[Types::Processor]
682
+ end
683
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_transformer-instance_method
684
+ def get_transformer: (
685
+ log_group_identifier: ::String
686
+ ) -> _GetTransformerResponseSuccess
687
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransformerResponseSuccess
688
+
609
689
  interface _ListAnomaliesResponseSuccess
610
690
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomaliesResponse]
611
691
  def anomalies: () -> ::Array[Types::Anomaly]
@@ -620,6 +700,18 @@ module Aws
620
700
  ) -> _ListAnomaliesResponseSuccess
621
701
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomaliesResponseSuccess
622
702
 
703
+ interface _ListIntegrationsResponseSuccess
704
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIntegrationsResponse]
705
+ def integration_summaries: () -> ::Array[Types::IntegrationSummary]
706
+ end
707
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_integrations-instance_method
708
+ def list_integrations: (
709
+ ?integration_name_prefix: ::String,
710
+ ?integration_type: ("OPENSEARCH"),
711
+ ?integration_status: ("PROVISIONING" | "ACTIVE" | "FAILED")
712
+ ) -> _ListIntegrationsResponseSuccess
713
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegrationsResponseSuccess
714
+
623
715
  interface _ListLogAnomalyDetectorsResponseSuccess
624
716
  include ::Seahorse::Client::_ResponseSuccess[Types::ListLogAnomalyDetectorsResponse]
625
717
  def anomaly_detectors: () -> ::Array[Types::AnomalyDetector]
@@ -633,6 +725,19 @@ module Aws
633
725
  ) -> _ListLogAnomalyDetectorsResponseSuccess
634
726
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogAnomalyDetectorsResponseSuccess
635
727
 
728
+ interface _ListLogGroupsForQueryResponseSuccess
729
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLogGroupsForQueryResponse]
730
+ def log_group_identifiers: () -> ::Array[::String]
731
+ def next_token: () -> ::String
732
+ end
733
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#list_log_groups_for_query-instance_method
734
+ def list_log_groups_for_query: (
735
+ query_id: ::String,
736
+ ?next_token: ::String,
737
+ ?max_results: ::Integer
738
+ ) -> _ListLogGroupsForQueryResponseSuccess
739
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsForQueryResponseSuccess
740
+
636
741
  interface _ListTagsForResourceResponseSuccess
637
742
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
638
743
  def tags: () -> ::Hash[::String, ::String]
@@ -661,7 +766,7 @@ module Aws
661
766
  def put_account_policy: (
662
767
  policy_name: ::String,
663
768
  policy_document: ::String,
664
- policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY"),
769
+ policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY"),
665
770
  ?scope: ("ALL"),
666
771
  ?selection_criteria: ::String
667
772
  ) -> _PutAccountPolicyResponseSuccess
@@ -740,6 +845,38 @@ module Aws
740
845
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
741
846
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
742
847
 
848
+ interface _PutIndexPolicyResponseSuccess
849
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutIndexPolicyResponse]
850
+ def index_policy: () -> Types::IndexPolicy
851
+ end
852
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_index_policy-instance_method
853
+ def put_index_policy: (
854
+ log_group_identifier: ::String,
855
+ policy_document: ::String
856
+ ) -> _PutIndexPolicyResponseSuccess
857
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutIndexPolicyResponseSuccess
858
+
859
+ interface _PutIntegrationResponseSuccess
860
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutIntegrationResponse]
861
+ def integration_name: () -> ::String
862
+ def integration_status: () -> ("PROVISIONING" | "ACTIVE" | "FAILED")
863
+ end
864
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_integration-instance_method
865
+ def put_integration: (
866
+ integration_name: ::String,
867
+ resource_config: {
868
+ open_search_resource_config: {
869
+ kms_key_arn: ::String?,
870
+ data_source_role_arn: ::String,
871
+ dashboard_viewer_principals: Array[::String],
872
+ application_arn: ::String?,
873
+ retention_days: ::Integer
874
+ }?
875
+ },
876
+ integration_type: ("OPENSEARCH")
877
+ ) -> _PutIntegrationResponseSuccess
878
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutIntegrationResponseSuccess
879
+
743
880
  interface _PutLogEventsResponseSuccess
744
881
  include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
745
882
  def next_sequence_token: () -> ::String
@@ -778,7 +915,8 @@ module Aws
778
915
  dimensions: Hash[::String, ::String]?,
779
916
  unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
780
917
  },
781
- ]
918
+ ],
919
+ ?apply_on_transformed_logs: bool
782
920
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
783
921
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
784
922
 
@@ -788,6 +926,7 @@ module Aws
788
926
  end
789
927
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_query_definition-instance_method
790
928
  def put_query_definition: (
929
+ ?query_language: ("CWLI" | "SQL" | "PPL"),
791
930
  name: ::String,
792
931
  ?query_definition_id: ::String,
793
932
  ?log_group_names: Array[::String],
@@ -821,10 +960,149 @@ module Aws
821
960
  filter_pattern: ::String,
822
961
  destination_arn: ::String,
823
962
  ?role_arn: ::String,
824
- ?distribution: ("Random" | "ByLogStream")
963
+ ?distribution: ("Random" | "ByLogStream"),
964
+ ?apply_on_transformed_logs: bool
825
965
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
826
966
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
827
967
 
968
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_transformer-instance_method
969
+ def put_transformer: (
970
+ log_group_identifier: ::String,
971
+ transformer_config: Array[
972
+ {
973
+ add_keys: {
974
+ entries: Array[
975
+ {
976
+ key: ::String,
977
+ value: ::String,
978
+ overwrite_if_exists: bool?
979
+ },
980
+ ]
981
+ }?,
982
+ copy_value: {
983
+ entries: Array[
984
+ {
985
+ source: ::String,
986
+ target: ::String,
987
+ overwrite_if_exists: bool?
988
+ },
989
+ ]
990
+ }?,
991
+ csv: {
992
+ quote_character: ::String?,
993
+ delimiter: ::String?,
994
+ columns: Array[::String]?,
995
+ source: ::String?
996
+ }?,
997
+ date_time_converter: {
998
+ source: ::String,
999
+ target: ::String,
1000
+ target_format: ::String?,
1001
+ match_patterns: Array[::String],
1002
+ source_timezone: ::String?,
1003
+ target_timezone: ::String?,
1004
+ locale: ::String?
1005
+ }?,
1006
+ delete_keys: {
1007
+ with_keys: Array[::String]
1008
+ }?,
1009
+ grok: {
1010
+ source: ::String?,
1011
+ match: ::String
1012
+ }?,
1013
+ list_to_map: {
1014
+ source: ::String,
1015
+ key: ::String,
1016
+ value_key: ::String?,
1017
+ target: ::String?,
1018
+ flatten: bool?,
1019
+ flattened_element: ("first" | "last")?
1020
+ }?,
1021
+ lower_case_string: {
1022
+ with_keys: Array[::String]
1023
+ }?,
1024
+ move_keys: {
1025
+ entries: Array[
1026
+ {
1027
+ source: ::String,
1028
+ target: ::String,
1029
+ overwrite_if_exists: bool?
1030
+ },
1031
+ ]
1032
+ }?,
1033
+ parse_cloudfront: {
1034
+ source: ::String?
1035
+ }?,
1036
+ parse_json: {
1037
+ source: ::String?,
1038
+ destination: ::String?
1039
+ }?,
1040
+ parse_key_value: {
1041
+ source: ::String?,
1042
+ destination: ::String?,
1043
+ field_delimiter: ::String?,
1044
+ key_value_delimiter: ::String?,
1045
+ key_prefix: ::String?,
1046
+ non_match_value: ::String?,
1047
+ overwrite_if_exists: bool?
1048
+ }?,
1049
+ parse_route_53: {
1050
+ source: ::String?
1051
+ }?,
1052
+ parse_postgres: {
1053
+ source: ::String?
1054
+ }?,
1055
+ parse_vpc: {
1056
+ source: ::String?
1057
+ }?,
1058
+ parse_waf: {
1059
+ source: ::String?
1060
+ }?,
1061
+ rename_keys: {
1062
+ entries: Array[
1063
+ {
1064
+ key: ::String,
1065
+ rename_to: ::String,
1066
+ overwrite_if_exists: bool?
1067
+ },
1068
+ ]
1069
+ }?,
1070
+ split_string: {
1071
+ entries: Array[
1072
+ {
1073
+ source: ::String,
1074
+ delimiter: ::String
1075
+ },
1076
+ ]
1077
+ }?,
1078
+ substitute_string: {
1079
+ entries: Array[
1080
+ {
1081
+ source: ::String,
1082
+ from: ::String,
1083
+ to: ::String
1084
+ },
1085
+ ]
1086
+ }?,
1087
+ trim_string: {
1088
+ with_keys: Array[::String]
1089
+ }?,
1090
+ type_converter: {
1091
+ entries: Array[
1092
+ {
1093
+ key: ::String,
1094
+ type: ("boolean" | "integer" | "double" | "string")
1095
+ },
1096
+ ]
1097
+ }?,
1098
+ upper_case_string: {
1099
+ with_keys: Array[::String]
1100
+ }?
1101
+ },
1102
+ ]
1103
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1105
+
828
1106
  interface _StartLiveTailResponseSuccess
829
1107
  include ::Seahorse::Client::_ResponseSuccess[Types::StartLiveTailResponse]
830
1108
  def response_stream: () -> Types::StartLiveTailResponseStream
@@ -844,6 +1122,7 @@ module Aws
844
1122
  end
845
1123
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#start_query-instance_method
846
1124
  def start_query: (
1125
+ ?query_language: ("CWLI" | "SQL" | "PPL"),
847
1126
  ?log_group_name: ::String,
848
1127
  ?log_group_names: Array[::String],
849
1128
  ?log_group_identifiers: Array[::String],
@@ -889,6 +1168,148 @@ module Aws
889
1168
  ) -> _TestMetricFilterResponseSuccess
890
1169
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestMetricFilterResponseSuccess
891
1170
 
1171
+ interface _TestTransformerResponseSuccess
1172
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestTransformerResponse]
1173
+ def transformed_logs: () -> ::Array[Types::TransformedLogRecord]
1174
+ end
1175
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#test_transformer-instance_method
1176
+ def test_transformer: (
1177
+ transformer_config: Array[
1178
+ {
1179
+ add_keys: {
1180
+ entries: Array[
1181
+ {
1182
+ key: ::String,
1183
+ value: ::String,
1184
+ overwrite_if_exists: bool?
1185
+ },
1186
+ ]
1187
+ }?,
1188
+ copy_value: {
1189
+ entries: Array[
1190
+ {
1191
+ source: ::String,
1192
+ target: ::String,
1193
+ overwrite_if_exists: bool?
1194
+ },
1195
+ ]
1196
+ }?,
1197
+ csv: {
1198
+ quote_character: ::String?,
1199
+ delimiter: ::String?,
1200
+ columns: Array[::String]?,
1201
+ source: ::String?
1202
+ }?,
1203
+ date_time_converter: {
1204
+ source: ::String,
1205
+ target: ::String,
1206
+ target_format: ::String?,
1207
+ match_patterns: Array[::String],
1208
+ source_timezone: ::String?,
1209
+ target_timezone: ::String?,
1210
+ locale: ::String?
1211
+ }?,
1212
+ delete_keys: {
1213
+ with_keys: Array[::String]
1214
+ }?,
1215
+ grok: {
1216
+ source: ::String?,
1217
+ match: ::String
1218
+ }?,
1219
+ list_to_map: {
1220
+ source: ::String,
1221
+ key: ::String,
1222
+ value_key: ::String?,
1223
+ target: ::String?,
1224
+ flatten: bool?,
1225
+ flattened_element: ("first" | "last")?
1226
+ }?,
1227
+ lower_case_string: {
1228
+ with_keys: Array[::String]
1229
+ }?,
1230
+ move_keys: {
1231
+ entries: Array[
1232
+ {
1233
+ source: ::String,
1234
+ target: ::String,
1235
+ overwrite_if_exists: bool?
1236
+ },
1237
+ ]
1238
+ }?,
1239
+ parse_cloudfront: {
1240
+ source: ::String?
1241
+ }?,
1242
+ parse_json: {
1243
+ source: ::String?,
1244
+ destination: ::String?
1245
+ }?,
1246
+ parse_key_value: {
1247
+ source: ::String?,
1248
+ destination: ::String?,
1249
+ field_delimiter: ::String?,
1250
+ key_value_delimiter: ::String?,
1251
+ key_prefix: ::String?,
1252
+ non_match_value: ::String?,
1253
+ overwrite_if_exists: bool?
1254
+ }?,
1255
+ parse_route_53: {
1256
+ source: ::String?
1257
+ }?,
1258
+ parse_postgres: {
1259
+ source: ::String?
1260
+ }?,
1261
+ parse_vpc: {
1262
+ source: ::String?
1263
+ }?,
1264
+ parse_waf: {
1265
+ source: ::String?
1266
+ }?,
1267
+ rename_keys: {
1268
+ entries: Array[
1269
+ {
1270
+ key: ::String,
1271
+ rename_to: ::String,
1272
+ overwrite_if_exists: bool?
1273
+ },
1274
+ ]
1275
+ }?,
1276
+ split_string: {
1277
+ entries: Array[
1278
+ {
1279
+ source: ::String,
1280
+ delimiter: ::String
1281
+ },
1282
+ ]
1283
+ }?,
1284
+ substitute_string: {
1285
+ entries: Array[
1286
+ {
1287
+ source: ::String,
1288
+ from: ::String,
1289
+ to: ::String
1290
+ },
1291
+ ]
1292
+ }?,
1293
+ trim_string: {
1294
+ with_keys: Array[::String]
1295
+ }?,
1296
+ type_converter: {
1297
+ entries: Array[
1298
+ {
1299
+ key: ::String,
1300
+ type: ("boolean" | "integer" | "double" | "string")
1301
+ },
1302
+ ]
1303
+ }?,
1304
+ upper_case_string: {
1305
+ with_keys: Array[::String]
1306
+ }?
1307
+ },
1308
+ ],
1309
+ log_event_messages: Array[::String]
1310
+ ) -> _TestTransformerResponseSuccess
1311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestTransformerResponseSuccess
1312
+
892
1313
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#untag_log_group-instance_method
893
1314
  def untag_log_group: (
894
1315
  log_group_name: ::String,