aws-sdk-cloudwatchlogs 1.119.0 → 1.122.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +367 -42
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +57 -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 +208 -17
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +28 -8
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +46 -8
- metadata +3 -3
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -164,7 +165,7 @@ module Aws
|
|
164
165
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_account_policy-instance_method
|
165
166
|
def delete_account_policy: (
|
166
167
|
policy_name: ::String,
|
167
|
-
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY")
|
168
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY")
|
168
169
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
169
170
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
170
171
|
|
@@ -261,7 +262,9 @@ module Aws
|
|
261
262
|
|
262
263
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_resource_policy-instance_method
|
263
264
|
def delete_resource_policy: (
|
264
|
-
?policy_name: ::String
|
265
|
+
?policy_name: ::String,
|
266
|
+
?resource_arn: ::String,
|
267
|
+
?expected_revision_id: ::String
|
265
268
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
266
269
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
267
270
|
|
@@ -291,7 +294,7 @@ module Aws
|
|
291
294
|
end
|
292
295
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_account_policies-instance_method
|
293
296
|
def describe_account_policies: (
|
294
|
-
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY"),
|
297
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY"),
|
295
298
|
?policy_name: ::String,
|
296
299
|
?account_identifiers: Array[::String],
|
297
300
|
?next_token: ::String
|
@@ -308,7 +311,7 @@ module Aws
|
|
308
311
|
?service: ::String,
|
309
312
|
?log_types: Array[::String],
|
310
313
|
?resource_types: Array[::String],
|
311
|
-
?delivery_destination_types: Array[("S3" | "CWL" | "FH")],
|
314
|
+
?delivery_destination_types: Array[("S3" | "CWL" | "FH" | "XRAY")],
|
312
315
|
?next_token: ::String,
|
313
316
|
?limit: ::Integer
|
314
317
|
) -> _DescribeConfigurationTemplatesResponseSuccess
|
@@ -489,7 +492,9 @@ module Aws
|
|
489
492
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_resource_policies-instance_method
|
490
493
|
def describe_resource_policies: (
|
491
494
|
?next_token: ::String,
|
492
|
-
?limit: ::Integer
|
495
|
+
?limit: ::Integer,
|
496
|
+
?resource_arn: ::String,
|
497
|
+
?policy_scope: ("ACCOUNT" | "RESOURCE")
|
493
498
|
) -> _DescribeResourcePoliciesResponseSuccess
|
494
499
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePoliciesResponseSuccess
|
495
500
|
|
@@ -651,6 +656,17 @@ module Aws
|
|
651
656
|
) -> _GetLogGroupFieldsResponseSuccess
|
652
657
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogGroupFieldsResponseSuccess
|
653
658
|
|
659
|
+
interface _GetLogObjectResponseSuccess
|
660
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogObjectResponse]
|
661
|
+
def field_stream: () -> Types::GetLogObjectResponseStream
|
662
|
+
end
|
663
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#get_log_object-instance_method
|
664
|
+
def get_log_object: (
|
665
|
+
?unmask: bool,
|
666
|
+
log_object_pointer: ::String
|
667
|
+
) -> _GetLogObjectResponseSuccess
|
668
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLogObjectResponseSuccess
|
669
|
+
|
654
670
|
interface _GetLogRecordResponseSuccess
|
655
671
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLogRecordResponse]
|
656
672
|
def log_record: () -> ::Hash[::String, ::String]
|
@@ -785,7 +801,7 @@ module Aws
|
|
785
801
|
def put_account_policy: (
|
786
802
|
policy_name: ::String,
|
787
803
|
policy_document: ::String,
|
788
|
-
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY"),
|
804
|
+
policy_type: ("DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY"),
|
789
805
|
?scope: ("ALL"),
|
790
806
|
?selection_criteria: ::String
|
791
807
|
) -> _PutAccountPolicyResponseSuccess
|
@@ -812,9 +828,10 @@ module Aws
|
|
812
828
|
def put_delivery_destination: (
|
813
829
|
name: ::String,
|
814
830
|
?output_format: ("json" | "plain" | "w3c" | "raw" | "parquet"),
|
815
|
-
delivery_destination_configuration: {
|
831
|
+
?delivery_destination_configuration: {
|
816
832
|
destination_resource_arn: ::String
|
817
833
|
},
|
834
|
+
?delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY"),
|
818
835
|
?tags: Hash[::String, ::String]
|
819
836
|
) -> _PutDeliveryDestinationResponseSuccess
|
820
837
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliveryDestinationResponseSuccess
|
@@ -957,11 +974,14 @@ module Aws
|
|
957
974
|
interface _PutResourcePolicyResponseSuccess
|
958
975
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
959
976
|
def resource_policy: () -> Types::ResourcePolicy
|
977
|
+
def revision_id: () -> ::String
|
960
978
|
end
|
961
979
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_resource_policy-instance_method
|
962
980
|
def put_resource_policy: (
|
963
981
|
?policy_name: ::String,
|
964
|
-
?policy_document: ::String
|
982
|
+
?policy_document: ::String,
|
983
|
+
?resource_arn: ::String,
|
984
|
+
?expected_revision_id: ::String
|
965
985
|
) -> _PutResourcePolicyResponseSuccess
|
966
986
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
967
987
|
|
data/sig/errors.rbs
CHANGED
@@ -18,6 +18,9 @@ module Aws
|
|
18
18
|
class DataAlreadyAcceptedException < ::Aws::Errors::ServiceError
|
19
19
|
def expected_sequence_token: () -> ::String
|
20
20
|
end
|
21
|
+
class InternalStreamingException < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
end
|
21
24
|
class InvalidOperationException < ::Aws::Errors::ServiceError
|
22
25
|
end
|
23
26
|
class InvalidParameterException < ::Aws::Errors::ServiceError
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
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
|
|
@@ -1275,7 +1302,7 @@ module Aws::CloudWatchLogs
|
|
1275
1302
|
class PutAccountPolicyRequest
|
1276
1303
|
attr_accessor policy_name: ::String
|
1277
1304
|
attr_accessor policy_document: ::String
|
1278
|
-
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")
|
1279
1306
|
attr_accessor scope: ("ALL")
|
1280
1307
|
attr_accessor selection_criteria: ::String
|
1281
1308
|
SENSITIVE: []
|
@@ -1314,6 +1341,7 @@ module Aws::CloudWatchLogs
|
|
1314
1341
|
attr_accessor name: ::String
|
1315
1342
|
attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
|
1316
1343
|
attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
|
1344
|
+
attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
|
1317
1345
|
attr_accessor tags: ::Hash[::String, ::String]
|
1318
1346
|
SENSITIVE: []
|
1319
1347
|
end
|
@@ -1423,11 +1451,14 @@ module Aws::CloudWatchLogs
|
|
1423
1451
|
class PutResourcePolicyRequest
|
1424
1452
|
attr_accessor policy_name: ::String
|
1425
1453
|
attr_accessor policy_document: ::String
|
1454
|
+
attr_accessor resource_arn: ::String
|
1455
|
+
attr_accessor expected_revision_id: ::String
|
1426
1456
|
SENSITIVE: []
|
1427
1457
|
end
|
1428
1458
|
|
1429
1459
|
class PutResourcePolicyResponse
|
1430
1460
|
attr_accessor resource_policy: Types::ResourcePolicy
|
1461
|
+
attr_accessor revision_id: ::String
|
1431
1462
|
SENSITIVE: []
|
1432
1463
|
end
|
1433
1464
|
|
@@ -1547,6 +1578,9 @@ module Aws::CloudWatchLogs
|
|
1547
1578
|
attr_accessor policy_name: ::String
|
1548
1579
|
attr_accessor policy_document: ::String
|
1549
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
|
1550
1584
|
SENSITIVE: []
|
1551
1585
|
end
|
1552
1586
|
|
@@ -1786,6 +1820,10 @@ module Aws::CloudWatchLogs
|
|
1786
1820
|
class ValidationException < Aws::EmptyStructure
|
1787
1821
|
end
|
1788
1822
|
|
1823
|
+
class GetLogObjectResponseStream < Enumerator[untyped, untyped]
|
1824
|
+
def event_types: () -> [:fields, :internal_streaming_exception]
|
1825
|
+
end
|
1826
|
+
|
1789
1827
|
class StartLiveTailResponseStream < Enumerator[untyped, untyped]
|
1790
1828
|
def event_types: () -> [:session_start, :session_update, :session_timeout_exception, :session_streaming_exception]
|
1791
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.122.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.227.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.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|