aws-sdk-cloudwatchlogs 1.88.0 → 1.96.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 +40 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +254 -25
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +145 -0
- data/lib/aws-sdk-cloudwatchlogs/endpoints.rb +96 -296
- data/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb +22 -6
- data/lib/aws-sdk-cloudwatchlogs/types.rb +393 -11
- data/lib/aws-sdk-cloudwatchlogs.rb +16 -12
- data/sig/client.rbs +45 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +79 -0
- metadata +4 -4
data/sig/client.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -54,6 +55,7 @@ module Aws
|
|
54
55
|
?sigv4a_signing_region_set: Array[String],
|
55
56
|
?simple_json: bool,
|
56
57
|
?stub_responses: untyped,
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
59
|
?token_provider: untyped,
|
58
60
|
?use_dualstack_endpoint: bool,
|
59
61
|
?use_fips_endpoint: bool,
|
@@ -99,6 +101,12 @@ module Aws
|
|
99
101
|
def create_delivery: (
|
100
102
|
delivery_source_name: ::String,
|
101
103
|
delivery_destination_arn: ::String,
|
104
|
+
?record_fields: Array[::String],
|
105
|
+
?field_delimiter: ::String,
|
106
|
+
?s3_delivery_configuration: {
|
107
|
+
suffix_path: ::String?,
|
108
|
+
enable_hive_compatible_path: bool?
|
109
|
+
},
|
102
110
|
?tags: Hash[::String, ::String]
|
103
111
|
) -> _CreateDeliveryResponseSuccess
|
104
112
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeliveryResponseSuccess
|
@@ -261,6 +269,22 @@ module Aws
|
|
261
269
|
) -> _DescribeAccountPoliciesResponseSuccess
|
262
270
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountPoliciesResponseSuccess
|
263
271
|
|
272
|
+
interface _DescribeConfigurationTemplatesResponseSuccess
|
273
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConfigurationTemplatesResponse]
|
274
|
+
def configuration_templates: () -> ::Array[Types::ConfigurationTemplate]
|
275
|
+
def next_token: () -> ::String
|
276
|
+
end
|
277
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_configuration_templates-instance_method
|
278
|
+
def describe_configuration_templates: (
|
279
|
+
?service: ::String,
|
280
|
+
?log_types: Array[::String],
|
281
|
+
?resource_types: Array[::String],
|
282
|
+
?delivery_destination_types: Array[("S3" | "CWL" | "FH")],
|
283
|
+
?next_token: ::String,
|
284
|
+
?limit: ::Integer
|
285
|
+
) -> _DescribeConfigurationTemplatesResponseSuccess
|
286
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConfigurationTemplatesResponseSuccess
|
287
|
+
|
264
288
|
interface _DescribeDeliveriesResponseSuccess
|
265
289
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeliveriesResponse]
|
266
290
|
def deliveries: () -> ::Array[Types::Delivery]
|
@@ -720,6 +744,7 @@ module Aws
|
|
720
744
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutLogEventsResponse]
|
721
745
|
def next_sequence_token: () -> ::String
|
722
746
|
def rejected_log_events_info: () -> Types::RejectedLogEventsInfo
|
747
|
+
def rejected_entity_info: () -> Types::RejectedEntityInfo
|
723
748
|
end
|
724
749
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_events-instance_method
|
725
750
|
def put_log_events: (
|
@@ -731,7 +756,11 @@ module Aws
|
|
731
756
|
message: ::String
|
732
757
|
},
|
733
758
|
],
|
734
|
-
?sequence_token: ::String
|
759
|
+
?sequence_token: ::String,
|
760
|
+
?entity: {
|
761
|
+
key_attributes: Hash[::String, ::String]?,
|
762
|
+
attributes: Hash[::String, ::String]?
|
763
|
+
}
|
735
764
|
) -> _PutLogEventsResponseSuccess
|
736
765
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
|
737
766
|
|
@@ -887,6 +916,21 @@ module Aws
|
|
887
916
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
888
917
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
889
918
|
|
919
|
+
interface _UpdateDeliveryConfigurationResponseSuccess
|
920
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeliveryConfigurationResponse]
|
921
|
+
end
|
922
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_delivery_configuration-instance_method
|
923
|
+
def update_delivery_configuration: (
|
924
|
+
id: ::String,
|
925
|
+
?record_fields: Array[::String],
|
926
|
+
?field_delimiter: ::String,
|
927
|
+
?s3_delivery_configuration: {
|
928
|
+
suffix_path: ::String?,
|
929
|
+
enable_hive_compatible_path: bool?
|
930
|
+
}
|
931
|
+
) -> _UpdateDeliveryConfigurationResponseSuccess
|
932
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeliveryConfigurationResponseSuccess
|
933
|
+
|
890
934
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#update_log_anomaly_detector-instance_method
|
891
935
|
def update_log_anomaly_detector: (
|
892
936
|
anomaly_detector_arn: ::String,
|
data/sig/resource.rbs
CHANGED
@@ -15,6 +15,7 @@ module Aws
|
|
15
15
|
?credentials: untyped,
|
16
16
|
?region: String,
|
17
17
|
?access_key_id: String,
|
18
|
+
?account_id: String,
|
18
19
|
?active_endpoint_cache: bool,
|
19
20
|
?adaptive_retry_wait_to_fill: bool,
|
20
21
|
?client_side_monitoring: bool,
|
@@ -54,6 +55,7 @@ module Aws
|
|
54
55
|
?sigv4a_signing_region_set: Array[String],
|
55
56
|
?simple_json: bool,
|
56
57
|
?stub_responses: untyped,
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
59
|
?token_provider: untyped,
|
58
60
|
?use_dualstack_endpoint: bool,
|
59
61
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -71,12 +71,36 @@ module Aws::CloudWatchLogs
|
|
71
71
|
SENSITIVE: []
|
72
72
|
end
|
73
73
|
|
74
|
+
class ConfigurationTemplate
|
75
|
+
attr_accessor service: ::String
|
76
|
+
attr_accessor log_type: ::String
|
77
|
+
attr_accessor resource_type: ::String
|
78
|
+
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
|
79
|
+
attr_accessor default_delivery_config_values: Types::ConfigurationTemplateDeliveryConfigValues
|
80
|
+
attr_accessor allowed_fields: ::Array[Types::RecordField]
|
81
|
+
attr_accessor allowed_output_formats: ::Array[("json" | "plain" | "w3c" | "raw" | "parquet")]
|
82
|
+
attr_accessor allowed_action_for_allow_vended_logs_delivery_for_resource: ::String
|
83
|
+
attr_accessor allowed_field_delimiters: ::Array[::String]
|
84
|
+
attr_accessor allowed_suffix_path_fields: ::Array[::String]
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class ConfigurationTemplateDeliveryConfigValues
|
89
|
+
attr_accessor record_fields: ::Array[::String]
|
90
|
+
attr_accessor field_delimiter: ::String
|
91
|
+
attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
|
92
|
+
SENSITIVE: []
|
93
|
+
end
|
94
|
+
|
74
95
|
class ConflictException < Aws::EmptyStructure
|
75
96
|
end
|
76
97
|
|
77
98
|
class CreateDeliveryRequest
|
78
99
|
attr_accessor delivery_source_name: ::String
|
79
100
|
attr_accessor delivery_destination_arn: ::String
|
101
|
+
attr_accessor record_fields: ::Array[::String]
|
102
|
+
attr_accessor field_delimiter: ::String
|
103
|
+
attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
|
80
104
|
attr_accessor tags: ::Hash[::String, ::String]
|
81
105
|
SENSITIVE: []
|
82
106
|
end
|
@@ -227,6 +251,9 @@ module Aws::CloudWatchLogs
|
|
227
251
|
attr_accessor delivery_source_name: ::String
|
228
252
|
attr_accessor delivery_destination_arn: ::String
|
229
253
|
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
|
254
|
+
attr_accessor record_fields: ::Array[::String]
|
255
|
+
attr_accessor field_delimiter: ::String
|
256
|
+
attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
|
230
257
|
attr_accessor tags: ::Hash[::String, ::String]
|
231
258
|
SENSITIVE: []
|
232
259
|
end
|
@@ -268,6 +295,22 @@ module Aws::CloudWatchLogs
|
|
268
295
|
SENSITIVE: []
|
269
296
|
end
|
270
297
|
|
298
|
+
class DescribeConfigurationTemplatesRequest
|
299
|
+
attr_accessor service: ::String
|
300
|
+
attr_accessor log_types: ::Array[::String]
|
301
|
+
attr_accessor resource_types: ::Array[::String]
|
302
|
+
attr_accessor delivery_destination_types: ::Array[("S3" | "CWL" | "FH")]
|
303
|
+
attr_accessor next_token: ::String
|
304
|
+
attr_accessor limit: ::Integer
|
305
|
+
SENSITIVE: []
|
306
|
+
end
|
307
|
+
|
308
|
+
class DescribeConfigurationTemplatesResponse
|
309
|
+
attr_accessor configuration_templates: ::Array[Types::ConfigurationTemplate]
|
310
|
+
attr_accessor next_token: ::String
|
311
|
+
SENSITIVE: []
|
312
|
+
end
|
313
|
+
|
271
314
|
class DescribeDeliveriesRequest
|
272
315
|
attr_accessor next_token: ::String
|
273
316
|
attr_accessor limit: ::Integer
|
@@ -450,6 +493,12 @@ module Aws::CloudWatchLogs
|
|
450
493
|
SENSITIVE: []
|
451
494
|
end
|
452
495
|
|
496
|
+
class Entity
|
497
|
+
attr_accessor key_attributes: ::Hash[::String, ::String]
|
498
|
+
attr_accessor attributes: ::Hash[::String, ::String]
|
499
|
+
SENSITIVE: []
|
500
|
+
end
|
501
|
+
|
453
502
|
class ExportTask
|
454
503
|
attr_accessor task_id: ::String
|
455
504
|
attr_accessor task_name: ::String
|
@@ -913,12 +962,14 @@ module Aws::CloudWatchLogs
|
|
913
962
|
attr_accessor log_stream_name: ::String
|
914
963
|
attr_accessor log_events: ::Array[Types::InputLogEvent]
|
915
964
|
attr_accessor sequence_token: ::String
|
965
|
+
attr_accessor entity: Types::Entity
|
916
966
|
SENSITIVE: []
|
917
967
|
end
|
918
968
|
|
919
969
|
class PutLogEventsResponse
|
920
970
|
attr_accessor next_sequence_token: ::String
|
921
971
|
attr_accessor rejected_log_events_info: Types::RejectedLogEventsInfo
|
972
|
+
attr_accessor rejected_entity_info: Types::RejectedEntityInfo
|
922
973
|
SENSITIVE: []
|
923
974
|
end
|
924
975
|
|
@@ -1008,6 +1059,17 @@ module Aws::CloudWatchLogs
|
|
1008
1059
|
SENSITIVE: []
|
1009
1060
|
end
|
1010
1061
|
|
1062
|
+
class RecordField
|
1063
|
+
attr_accessor name: ::String
|
1064
|
+
attr_accessor mandatory: bool
|
1065
|
+
SENSITIVE: []
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
class RejectedEntityInfo
|
1069
|
+
attr_accessor error_type: ("InvalidEntity" | "InvalidTypeValue" | "InvalidKeyAttributes" | "InvalidAttributes" | "EntitySizeTooLarge" | "UnsupportedLogGroupType" | "MissingRequiredFields")
|
1070
|
+
SENSITIVE: []
|
1071
|
+
end
|
1072
|
+
|
1011
1073
|
class RejectedLogEventsInfo
|
1012
1074
|
attr_accessor too_new_log_event_start_index: ::Integer
|
1013
1075
|
attr_accessor too_old_log_event_end_index: ::Integer
|
@@ -1034,6 +1096,12 @@ module Aws::CloudWatchLogs
|
|
1034
1096
|
SENSITIVE: []
|
1035
1097
|
end
|
1036
1098
|
|
1099
|
+
class S3DeliveryConfiguration
|
1100
|
+
attr_accessor suffix_path: ::String
|
1101
|
+
attr_accessor enable_hive_compatible_path: bool
|
1102
|
+
SENSITIVE: []
|
1103
|
+
end
|
1104
|
+
|
1037
1105
|
class SearchedLogStream
|
1038
1106
|
attr_accessor log_stream_name: ::String
|
1039
1107
|
attr_accessor searched_completely: bool
|
@@ -1170,6 +1238,17 @@ module Aws::CloudWatchLogs
|
|
1170
1238
|
SENSITIVE: []
|
1171
1239
|
end
|
1172
1240
|
|
1241
|
+
class UpdateDeliveryConfigurationRequest
|
1242
|
+
attr_accessor id: ::String
|
1243
|
+
attr_accessor record_fields: ::Array[::String]
|
1244
|
+
attr_accessor field_delimiter: ::String
|
1245
|
+
attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
|
1246
|
+
SENSITIVE: []
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
class UpdateDeliveryConfigurationResponse < Aws::EmptyStructure
|
1250
|
+
end
|
1251
|
+
|
1173
1252
|
class UpdateLogAnomalyDetectorRequest
|
1174
1253
|
attr_accessor anomaly_detector_arn: ::String
|
1175
1254
|
attr_accessor evaluation_frequency: ("ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR")
|
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.96.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-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.207.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|