aws-sdk-cloudwatchlogs 1.116.0 → 1.123.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 +35 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +398 -54
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +66 -1
- data/lib/aws-sdk-cloudwatchlogs/errors.rb +16 -0
- data/lib/aws-sdk-cloudwatchlogs/event_streams.rb +39 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +252 -16
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +38 -8
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +54 -8
- metadata +4 -4
data/sig/types.rbs
CHANGED
@@ -15,7 +15,7 @@ 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" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
|
18
|
+
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY")
|
19
19
|
attr_accessor scope: ("ALL")
|
20
20
|
attr_accessor selection_criteria: ::String
|
21
21
|
attr_accessor account_id: ::String
|
@@ -95,7 +95,7 @@ module Aws::CloudWatchLogs
|
|
95
95
|
attr_accessor service: ::String
|
96
96
|
attr_accessor log_type: ::String
|
97
97
|
attr_accessor resource_type: ::String
|
98
|
-
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
|
98
|
+
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
|
99
99
|
attr_accessor default_delivery_config_values: Types::ConfigurationTemplateDeliveryConfigValues
|
100
100
|
attr_accessor allowed_fields: ::Array[Types::RecordField]
|
101
101
|
attr_accessor allowed_output_formats: ::Array[("json" | "plain" | "w3c" | "raw" | "parquet")]
|
@@ -206,7 +206,7 @@ module Aws::CloudWatchLogs
|
|
206
206
|
|
207
207
|
class DeleteAccountPolicyRequest
|
208
208
|
attr_accessor policy_name: ::String
|
209
|
-
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
|
209
|
+
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY")
|
210
210
|
SENSITIVE: []
|
211
211
|
end
|
212
212
|
|
@@ -296,6 +296,8 @@ module Aws::CloudWatchLogs
|
|
296
296
|
|
297
297
|
class DeleteResourcePolicyRequest
|
298
298
|
attr_accessor policy_name: ::String
|
299
|
+
attr_accessor resource_arn: ::String
|
300
|
+
attr_accessor expected_revision_id: ::String
|
299
301
|
SENSITIVE: []
|
300
302
|
end
|
301
303
|
|
@@ -320,7 +322,7 @@ module Aws::CloudWatchLogs
|
|
320
322
|
attr_accessor arn: ::String
|
321
323
|
attr_accessor delivery_source_name: ::String
|
322
324
|
attr_accessor delivery_destination_arn: ::String
|
323
|
-
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
|
325
|
+
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
|
324
326
|
attr_accessor record_fields: ::Array[::String]
|
325
327
|
attr_accessor field_delimiter: ::String
|
326
328
|
attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
|
@@ -331,7 +333,7 @@ module Aws::CloudWatchLogs
|
|
331
333
|
class DeliveryDestination
|
332
334
|
attr_accessor name: ::String
|
333
335
|
attr_accessor arn: ::String
|
334
|
-
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
|
336
|
+
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
|
335
337
|
attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
|
336
338
|
attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
|
337
339
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -354,7 +356,7 @@ module Aws::CloudWatchLogs
|
|
354
356
|
end
|
355
357
|
|
356
358
|
class DescribeAccountPoliciesRequest
|
357
|
-
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
|
359
|
+
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY")
|
358
360
|
attr_accessor policy_name: ::String
|
359
361
|
attr_accessor account_identifiers: ::Array[::String]
|
360
362
|
attr_accessor next_token: ::String
|
@@ -371,7 +373,7 @@ module Aws::CloudWatchLogs
|
|
371
373
|
attr_accessor service: ::String
|
372
374
|
attr_accessor log_types: ::Array[::String]
|
373
375
|
attr_accessor resource_types: ::Array[::String]
|
374
|
-
attr_accessor delivery_destination_types: ::Array[("S3" | "CWL" | "FH")]
|
376
|
+
attr_accessor delivery_destination_types: ::Array[("S3" | "CWL" | "FH" | "XRAY")]
|
375
377
|
attr_accessor next_token: ::String
|
376
378
|
attr_accessor limit: ::Integer
|
377
379
|
SENSITIVE: []
|
@@ -553,6 +555,8 @@ module Aws::CloudWatchLogs
|
|
553
555
|
class DescribeResourcePoliciesRequest
|
554
556
|
attr_accessor next_token: ::String
|
555
557
|
attr_accessor limit: ::Integer
|
558
|
+
attr_accessor resource_arn: ::String
|
559
|
+
attr_accessor policy_scope: ("ACCOUNT" | "RESOURCE")
|
556
560
|
SENSITIVE: []
|
557
561
|
end
|
558
562
|
|
@@ -632,6 +636,12 @@ module Aws::CloudWatchLogs
|
|
632
636
|
SENSITIVE: []
|
633
637
|
end
|
634
638
|
|
639
|
+
class FieldsData
|
640
|
+
attr_accessor data: ::String
|
641
|
+
attr_accessor event_type: untyped
|
642
|
+
SENSITIVE: []
|
643
|
+
end
|
644
|
+
|
635
645
|
class FilterLogEventsRequest
|
636
646
|
attr_accessor log_group_name: ::String
|
637
647
|
attr_accessor log_group_identifier: ::String
|
@@ -778,6 +788,17 @@ module Aws::CloudWatchLogs
|
|
778
788
|
SENSITIVE: []
|
779
789
|
end
|
780
790
|
|
791
|
+
class GetLogObjectRequest
|
792
|
+
attr_accessor unmask: bool
|
793
|
+
attr_accessor log_object_pointer: ::String
|
794
|
+
SENSITIVE: []
|
795
|
+
end
|
796
|
+
|
797
|
+
class GetLogObjectResponse
|
798
|
+
attr_accessor field_stream: Types::GetLogObjectResponseStream
|
799
|
+
SENSITIVE: []
|
800
|
+
end
|
801
|
+
|
781
802
|
class GetLogRecordRequest
|
782
803
|
attr_accessor log_record_pointer: ::String
|
783
804
|
attr_accessor unmask: bool
|
@@ -855,6 +876,12 @@ module Aws::CloudWatchLogs
|
|
855
876
|
SENSITIVE: []
|
856
877
|
end
|
857
878
|
|
879
|
+
class InternalStreamingException
|
880
|
+
attr_accessor message: ::String
|
881
|
+
attr_accessor event_type: untyped
|
882
|
+
SENSITIVE: []
|
883
|
+
end
|
884
|
+
|
858
885
|
class InvalidOperationException < Aws::EmptyStructure
|
859
886
|
end
|
860
887
|
|
@@ -1214,6 +1241,13 @@ module Aws::CloudWatchLogs
|
|
1214
1241
|
SENSITIVE: []
|
1215
1242
|
end
|
1216
1243
|
|
1244
|
+
class ParseToOCSF
|
1245
|
+
attr_accessor source: ::String
|
1246
|
+
attr_accessor event_source: ("CloudTrail" | "Route53Resolver" | "VPCFlow" | "EKSAudit" | "AWSWAF")
|
1247
|
+
attr_accessor ocsf_version: ("V1.1")
|
1248
|
+
SENSITIVE: []
|
1249
|
+
end
|
1250
|
+
|
1217
1251
|
class ParseVPC
|
1218
1252
|
attr_accessor source: ::String
|
1219
1253
|
SENSITIVE: []
|
@@ -1252,6 +1286,7 @@ module Aws::CloudWatchLogs
|
|
1252
1286
|
attr_accessor parse_json: Types::ParseJSON
|
1253
1287
|
attr_accessor parse_key_value: Types::ParseKeyValue
|
1254
1288
|
attr_accessor parse_route_53: Types::ParseRoute53
|
1289
|
+
attr_accessor parse_to_ocsf: Types::ParseToOCSF
|
1255
1290
|
attr_accessor parse_postgres: Types::ParsePostgres
|
1256
1291
|
attr_accessor parse_vpc: Types::ParseVPC
|
1257
1292
|
attr_accessor parse_waf: Types::ParseWAF
|
@@ -1267,7 +1302,7 @@ module Aws::CloudWatchLogs
|
|
1267
1302
|
class PutAccountPolicyRequest
|
1268
1303
|
attr_accessor policy_name: ::String
|
1269
1304
|
attr_accessor policy_document: ::String
|
1270
|
-
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
|
1305
|
+
attr_accessor policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY")
|
1271
1306
|
attr_accessor scope: ("ALL")
|
1272
1307
|
attr_accessor selection_criteria: ::String
|
1273
1308
|
SENSITIVE: []
|
@@ -1306,6 +1341,7 @@ module Aws::CloudWatchLogs
|
|
1306
1341
|
attr_accessor name: ::String
|
1307
1342
|
attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
|
1308
1343
|
attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
|
1344
|
+
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
|
1309
1345
|
attr_accessor tags: ::Hash[::String, ::String]
|
1310
1346
|
SENSITIVE: []
|
1311
1347
|
end
|
@@ -1415,11 +1451,14 @@ module Aws::CloudWatchLogs
|
|
1415
1451
|
class PutResourcePolicyRequest
|
1416
1452
|
attr_accessor policy_name: ::String
|
1417
1453
|
attr_accessor policy_document: ::String
|
1454
|
+
attr_accessor resource_arn: ::String
|
1455
|
+
attr_accessor expected_revision_id: ::String
|
1418
1456
|
SENSITIVE: []
|
1419
1457
|
end
|
1420
1458
|
|
1421
1459
|
class PutResourcePolicyResponse
|
1422
1460
|
attr_accessor resource_policy: Types::ResourcePolicy
|
1461
|
+
attr_accessor revision_id: ::String
|
1423
1462
|
SENSITIVE: []
|
1424
1463
|
end
|
1425
1464
|
|
@@ -1539,6 +1578,9 @@ module Aws::CloudWatchLogs
|
|
1539
1578
|
attr_accessor policy_name: ::String
|
1540
1579
|
attr_accessor policy_document: ::String
|
1541
1580
|
attr_accessor last_updated_time: ::Integer
|
1581
|
+
attr_accessor policy_scope: ("ACCOUNT" | "RESOURCE")
|
1582
|
+
attr_accessor resource_arn: ::String
|
1583
|
+
attr_accessor revision_id: ::String
|
1542
1584
|
SENSITIVE: []
|
1543
1585
|
end
|
1544
1586
|
|
@@ -1778,6 +1820,10 @@ module Aws::CloudWatchLogs
|
|
1778
1820
|
class ValidationException < Aws::EmptyStructure
|
1779
1821
|
end
|
1780
1822
|
|
1823
|
+
class GetLogObjectResponseStream < Enumerator[untyped, untyped]
|
1824
|
+
def event_types: () -> [:fields, :internal_streaming_exception]
|
1825
|
+
end
|
1826
|
+
|
1781
1827
|
class StartLiveTailResponseStream < Enumerator[untyped, untyped]
|
1782
1828
|
def event_types: () -> [:session_start, :session_update, :session_timeout_exception, :session_streaming_exception]
|
1783
1829
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.123.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.228.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
87
|
+
version: '2.7'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - ">="
|