aws-sdk-cloudwatchlogs 1.133.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +495 -135
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +195 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +554 -152
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +79 -1
- data/sig/types.rbs +112 -0
- metadata +1 -1
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
|
|
@@ -558,6 +572,16 @@ module Aws
|
|
|
558
572
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
559
573
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
560
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
|
+
|
|
561
585
|
interface _FilterLogEventsResponseSuccess
|
|
562
586
|
include ::Seahorse::Client::_ResponseSuccess[Types::FilterLogEventsResponse]
|
|
563
587
|
def events: () -> ::Array[Types::FilteredLogEvent]
|
|
@@ -683,6 +707,17 @@ module Aws
|
|
|
683
707
|
) -> _GetLogEventsResponseSuccess
|
|
684
708
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogEventsResponseSuccess
|
|
685
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
|
+
|
|
686
721
|
interface _GetLogGroupFieldsResponseSuccess
|
|
687
722
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogGroupFieldsResponse]
|
|
688
723
|
def log_group_fields: () -> ::Array[Types::LogGroupField]
|
|
@@ -789,6 +824,29 @@ module Aws
|
|
|
789
824
|
) -> _GetTransformerResponseSuccess
|
|
790
825
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransformerResponseSuccess
|
|
791
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
|
+
|
|
792
850
|
interface _ListAnomaliesResponseSuccess
|
|
793
851
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomaliesResponse]
|
|
794
852
|
def anomalies: () -> ::Array[Types::Anomaly]
|
|
@@ -840,7 +898,14 @@ module Aws
|
|
|
840
898
|
?include_linked_accounts: bool,
|
|
841
899
|
?account_identifiers: Array[::String],
|
|
842
900
|
?next_token: ::String,
|
|
843
|
-
?limit: ::Integer
|
|
901
|
+
?limit: ::Integer,
|
|
902
|
+
?data_sources: Array[
|
|
903
|
+
{
|
|
904
|
+
name: ::String,
|
|
905
|
+
type: ::String?
|
|
906
|
+
},
|
|
907
|
+
],
|
|
908
|
+
?field_index_names: Array[::String]
|
|
844
909
|
) -> _ListLogGroupsResponseSuccess
|
|
845
910
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsResponseSuccess
|
|
846
911
|
|
|
@@ -870,6 +935,19 @@ module Aws
|
|
|
870
935
|
) -> _ListScheduledQueriesResponseSuccess
|
|
871
936
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledQueriesResponseSuccess
|
|
872
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
|
+
|
|
873
951
|
interface _ListTagsForResourceResponseSuccess
|
|
874
952
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
875
953
|
def tags: () -> ::Hash[::String, ::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
|
|
@@ -218,6 +235,18 @@ module Aws::CloudWatchLogs
|
|
|
218
235
|
SENSITIVE: []
|
|
219
236
|
end
|
|
220
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
|
+
|
|
221
250
|
class DateTimeConverter
|
|
222
251
|
attr_accessor source: ::String
|
|
223
252
|
attr_accessor target: ::String
|
|
@@ -634,6 +663,16 @@ module Aws::CloudWatchLogs
|
|
|
634
663
|
SENSITIVE: []
|
|
635
664
|
end
|
|
636
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
|
+
|
|
637
676
|
class Entity
|
|
638
677
|
attr_accessor key_attributes: ::Hash[::String, ::String]
|
|
639
678
|
attr_accessor attributes: ::Hash[::String, ::String]
|
|
@@ -671,6 +710,7 @@ module Aws::CloudWatchLogs
|
|
|
671
710
|
attr_accessor last_scan_time: ::Integer
|
|
672
711
|
attr_accessor first_event_time: ::Integer
|
|
673
712
|
attr_accessor last_event_time: ::Integer
|
|
713
|
+
attr_accessor type: ("FACET" | "FIELD_INDEX")
|
|
674
714
|
SENSITIVE: []
|
|
675
715
|
end
|
|
676
716
|
|
|
@@ -814,6 +854,17 @@ module Aws::CloudWatchLogs
|
|
|
814
854
|
SENSITIVE: []
|
|
815
855
|
end
|
|
816
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
|
+
|
|
817
868
|
class GetLogGroupFieldsRequest
|
|
818
869
|
attr_accessor log_group_name: ::String
|
|
819
870
|
attr_accessor time: ::Integer
|
|
@@ -926,6 +977,12 @@ module Aws::CloudWatchLogs
|
|
|
926
977
|
SENSITIVE: []
|
|
927
978
|
end
|
|
928
979
|
|
|
980
|
+
class GroupingIdentifier
|
|
981
|
+
attr_accessor key: ::String
|
|
982
|
+
attr_accessor value: ::String
|
|
983
|
+
SENSITIVE: []
|
|
984
|
+
end
|
|
985
|
+
|
|
929
986
|
class IndexPolicy
|
|
930
987
|
attr_accessor log_group_identifier: ::String
|
|
931
988
|
attr_accessor last_update_time: ::Integer
|
|
@@ -982,6 +1039,24 @@ module Aws::CloudWatchLogs
|
|
|
982
1039
|
class LimitExceededException < Aws::EmptyStructure
|
|
983
1040
|
end
|
|
984
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
|
+
|
|
985
1060
|
class ListAnomaliesRequest
|
|
986
1061
|
attr_accessor anomaly_detector_arn: ::String
|
|
987
1062
|
attr_accessor suppression_state: ("SUPPRESSED" | "UNSUPPRESSED")
|
|
@@ -1041,6 +1116,8 @@ module Aws::CloudWatchLogs
|
|
|
1041
1116
|
attr_accessor account_identifiers: ::Array[::String]
|
|
1042
1117
|
attr_accessor next_token: ::String
|
|
1043
1118
|
attr_accessor limit: ::Integer
|
|
1119
|
+
attr_accessor data_sources: ::Array[Types::DataSourceFilter]
|
|
1120
|
+
attr_accessor field_index_names: ::Array[::String]
|
|
1044
1121
|
SENSITIVE: []
|
|
1045
1122
|
end
|
|
1046
1123
|
|
|
@@ -1063,6 +1140,19 @@ module Aws::CloudWatchLogs
|
|
|
1063
1140
|
SENSITIVE: []
|
|
1064
1141
|
end
|
|
1065
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
|
+
|
|
1066
1156
|
class ListTagsForResourceRequest
|
|
1067
1157
|
attr_accessor resource_arn: ::String
|
|
1068
1158
|
SENSITIVE: []
|
|
@@ -1131,6 +1221,19 @@ module Aws::CloudWatchLogs
|
|
|
1131
1221
|
SENSITIVE: []
|
|
1132
1222
|
end
|
|
1133
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
|
+
|
|
1134
1237
|
class LogGroup
|
|
1135
1238
|
attr_accessor log_group_name: ::String
|
|
1136
1239
|
attr_accessor creation_time: ::Integer
|
|
@@ -1715,6 +1818,15 @@ module Aws::CloudWatchLogs
|
|
|
1715
1818
|
SENSITIVE: []
|
|
1716
1819
|
end
|
|
1717
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
|
+
|
|
1718
1830
|
class ScheduledQueryDestination
|
|
1719
1831
|
attr_accessor destination_type: ("S3")
|
|
1720
1832
|
attr_accessor destination_identifier: ::String
|