aws-sdk-cloudwatchlogs 1.103.0 → 1.104.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +280 -4
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +200 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +790 -4
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +62 -1
- data/sig/types.rbs +161 -0
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -211,6 +211,16 @@ module Aws
|
|
211
211
|
) -> _DeleteIndexPolicyResponseSuccess
|
212
212
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIndexPolicyResponseSuccess
|
213
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
|
+
|
214
224
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_log_anomaly_detector-instance_method
|
215
225
|
def delete_log_anomaly_detector: (
|
216
226
|
anomaly_detector_arn: ::String
|
@@ -449,7 +459,8 @@ module Aws
|
|
449
459
|
?log_group_name: ::String,
|
450
460
|
?status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown"),
|
451
461
|
?max_results: ::Integer,
|
452
|
-
?next_token: ::String
|
462
|
+
?next_token: ::String,
|
463
|
+
?query_language: ("CWLI" | "SQL" | "PPL")
|
453
464
|
) -> _DescribeQueriesResponseSuccess
|
454
465
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueriesResponseSuccess
|
455
466
|
|
@@ -460,6 +471,7 @@ module Aws
|
|
460
471
|
end
|
461
472
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_query_definitions-instance_method
|
462
473
|
def describe_query_definitions: (
|
474
|
+
?query_language: ("CWLI" | "SQL" | "PPL"),
|
463
475
|
?query_definition_name_prefix: ::String,
|
464
476
|
?max_results: ::Integer,
|
465
477
|
?next_token: ::String
|
@@ -573,6 +585,19 @@ module Aws
|
|
573
585
|
) -> _GetDeliverySourceResponseSuccess
|
574
586
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeliverySourceResponseSuccess
|
575
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
|
+
|
576
601
|
interface _GetLogAnomalyDetectorResponseSuccess
|
577
602
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogAnomalyDetectorResponse]
|
578
603
|
def detector_name: () -> ::String
|
@@ -636,6 +661,7 @@ module Aws
|
|
636
661
|
|
637
662
|
interface _GetQueryResultsResponseSuccess
|
638
663
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryResultsResponse]
|
664
|
+
def query_language: () -> ("CWLI" | "SQL" | "PPL")
|
639
665
|
def results: () -> ::Array[::Array[Types::ResultField]]
|
640
666
|
def statistics: () -> Types::QueryStatistics
|
641
667
|
def status: () -> ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
@@ -674,6 +700,18 @@ module Aws
|
|
674
700
|
) -> _ListAnomaliesResponseSuccess
|
675
701
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomaliesResponseSuccess
|
676
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
|
+
|
677
715
|
interface _ListLogAnomalyDetectorsResponseSuccess
|
678
716
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListLogAnomalyDetectorsResponse]
|
679
717
|
def anomaly_detectors: () -> ::Array[Types::AnomalyDetector]
|
@@ -818,6 +856,27 @@ module Aws
|
|
818
856
|
) -> _PutIndexPolicyResponseSuccess
|
819
857
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutIndexPolicyResponseSuccess
|
820
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
|
+
|
821
880
|
interface _PutLogEventsResponseSuccess
|
822
881
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
|
823
882
|
def next_sequence_token: () -> ::String
|
@@ -867,6 +926,7 @@ module Aws
|
|
867
926
|
end
|
868
927
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_query_definition-instance_method
|
869
928
|
def put_query_definition: (
|
929
|
+
?query_language: ("CWLI" | "SQL" | "PPL"),
|
870
930
|
name: ::String,
|
871
931
|
?query_definition_id: ::String,
|
872
932
|
?log_group_names: Array[::String],
|
@@ -1062,6 +1122,7 @@ module Aws
|
|
1062
1122
|
end
|
1063
1123
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#start_query-instance_method
|
1064
1124
|
def start_query: (
|
1125
|
+
?query_language: ("CWLI" | "SQL" | "PPL"),
|
1065
1126
|
?log_group_name: ::String,
|
1066
1127
|
?log_group_names: Array[::String],
|
1067
1128
|
?log_group_identifiers: Array[::String],
|
data/sig/types.rbs
CHANGED
@@ -248,6 +248,15 @@ module Aws::CloudWatchLogs
|
|
248
248
|
class DeleteIndexPolicyResponse < Aws::EmptyStructure
|
249
249
|
end
|
250
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
|
+
|
251
260
|
class DeleteKeys
|
252
261
|
attr_accessor with_keys: ::Array[::String]
|
253
262
|
SENSITIVE: []
|
@@ -516,6 +525,7 @@ module Aws::CloudWatchLogs
|
|
516
525
|
attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
517
526
|
attr_accessor max_results: ::Integer
|
518
527
|
attr_accessor next_token: ::String
|
528
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
519
529
|
SENSITIVE: []
|
520
530
|
end
|
521
531
|
|
@@ -526,6 +536,7 @@ module Aws::CloudWatchLogs
|
|
526
536
|
end
|
527
537
|
|
528
538
|
class DescribeQueryDefinitionsRequest
|
539
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
529
540
|
attr_accessor query_definition_name_prefix: ::String
|
530
541
|
attr_accessor max_results: ::Integer
|
531
542
|
attr_accessor next_token: ::String
|
@@ -703,6 +714,19 @@ module Aws::CloudWatchLogs
|
|
703
714
|
SENSITIVE: []
|
704
715
|
end
|
705
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
|
+
|
706
730
|
class GetLogAnomalyDetectorRequest
|
707
731
|
attr_accessor anomaly_detector_arn: ::String
|
708
732
|
SENSITIVE: []
|
@@ -770,6 +794,7 @@ module Aws::CloudWatchLogs
|
|
770
794
|
end
|
771
795
|
|
772
796
|
class GetQueryResultsResponse
|
797
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
773
798
|
attr_accessor results: ::Array[::Array[Types::ResultField]]
|
774
799
|
attr_accessor statistics: Types::QueryStatistics
|
775
800
|
attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
@@ -811,6 +836,24 @@ module Aws::CloudWatchLogs
|
|
811
836
|
SENSITIVE: []
|
812
837
|
end
|
813
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
|
+
|
814
857
|
class InvalidOperationException < Aws::EmptyStructure
|
815
858
|
end
|
816
859
|
|
@@ -839,6 +882,18 @@ module Aws::CloudWatchLogs
|
|
839
882
|
SENSITIVE: []
|
840
883
|
end
|
841
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
|
+
|
842
897
|
class ListLogAnomalyDetectorsRequest
|
843
898
|
attr_accessor filter_log_group_arn: ::String
|
844
899
|
attr_accessor limit: ::Integer
|
@@ -1015,6 +1070,84 @@ module Aws::CloudWatchLogs
|
|
1015
1070
|
SENSITIVE: []
|
1016
1071
|
end
|
1017
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
|
+
|
1018
1151
|
class OperationAbortedException < Aws::EmptyStructure
|
1019
1152
|
end
|
1020
1153
|
|
@@ -1202,6 +1335,19 @@ module Aws::CloudWatchLogs
|
|
1202
1335
|
SENSITIVE: []
|
1203
1336
|
end
|
1204
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
|
+
|
1205
1351
|
class PutLogEventsRequest
|
1206
1352
|
attr_accessor log_group_name: ::String
|
1207
1353
|
attr_accessor log_stream_name: ::String
|
@@ -1228,6 +1374,7 @@ module Aws::CloudWatchLogs
|
|
1228
1374
|
end
|
1229
1375
|
|
1230
1376
|
class PutQueryDefinitionRequest
|
1377
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
1231
1378
|
attr_accessor name: ::String
|
1232
1379
|
attr_accessor query_definition_id: ::String
|
1233
1380
|
attr_accessor log_group_names: ::Array[::String]
|
@@ -1288,6 +1435,7 @@ module Aws::CloudWatchLogs
|
|
1288
1435
|
end
|
1289
1436
|
|
1290
1437
|
class QueryDefinition
|
1438
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
1291
1439
|
attr_accessor query_definition_id: ::String
|
1292
1440
|
attr_accessor name: ::String
|
1293
1441
|
attr_accessor query_string: ::String
|
@@ -1297,6 +1445,7 @@ module Aws::CloudWatchLogs
|
|
1297
1445
|
end
|
1298
1446
|
|
1299
1447
|
class QueryInfo
|
1448
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
1300
1449
|
attr_accessor query_id: ::String
|
1301
1450
|
attr_accessor query_string: ::String
|
1302
1451
|
attr_accessor status: ("Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown")
|
@@ -1348,6 +1497,17 @@ module Aws::CloudWatchLogs
|
|
1348
1497
|
class ResourceAlreadyExistsException < Aws::EmptyStructure
|
1349
1498
|
end
|
1350
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
|
+
|
1351
1511
|
class ResourceNotFoundException < Aws::EmptyStructure
|
1352
1512
|
end
|
1353
1513
|
|
@@ -1419,6 +1579,7 @@ module Aws::CloudWatchLogs
|
|
1419
1579
|
end
|
1420
1580
|
|
1421
1581
|
class StartQueryRequest
|
1582
|
+
attr_accessor query_language: ("CWLI" | "SQL" | "PPL")
|
1422
1583
|
attr_accessor log_group_name: ::String
|
1423
1584
|
attr_accessor log_group_names: ::Array[::String]
|
1424
1585
|
attr_accessor log_group_identifiers: ::Array[::String]
|
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.
|
4
|
+
version: 1.104.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
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|