aws-sdk-cloudwatchlogs 1.132.0 → 1.133.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 +56 -1
- data/lib/aws-sdk-cloudwatchlogs/client_api.rb +24 -0
- data/lib/aws-sdk-cloudwatchlogs/types.rb +46 -2
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +9 -1
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c1bbc433088bfeb6c891e48b35f2c096402cb1caf7b8aefca4ee81f8ecbef2d
|
|
4
|
+
data.tar.gz: 3cd31f1535a1548c11088d00c151e9fafe29aa0505ed2fad397564572a4f4966
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e0742ce5314b62b2160e56ed63dfbc3ca4e1ce0a11396a59ee401be80244419868989f182bf13b74eb9d8356f06ad1c732915d4b49cd38f8c3e415202b2829b
|
|
7
|
+
data.tar.gz: f9a0d293786fd3bac7bd5d6e11484dc784b9718633c61c03c1d4894aa899c2c7d4ea3cbab32d55de1dd1e6ae3c86f1ed3f054a071b883f9bb20ebcd257223f1f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.133.0 (2025-11-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - New CloudWatch Logs feature - LogGroup Deletion Protection, a capability that allows customers to safeguard their critical CloudWatch log groups from accidental or unintended deletion.
|
|
8
|
+
|
|
4
9
|
1.132.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.133.0
|
|
@@ -1093,6 +1093,12 @@ module Aws::CloudWatchLogs
|
|
|
1093
1093
|
#
|
|
1094
1094
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html
|
|
1095
1095
|
#
|
|
1096
|
+
# @option params [Boolean] :deletion_protection_enabled
|
|
1097
|
+
# Use this parameter to enable deletion protection for the new log
|
|
1098
|
+
# group. When enabled on a log group, deletion protection blocks all
|
|
1099
|
+
# deletion operations until it is explicitly disabled. By default log
|
|
1100
|
+
# groups are created without deletion protection enabled.
|
|
1101
|
+
#
|
|
1096
1102
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1097
1103
|
#
|
|
1098
1104
|
# @example Request syntax with placeholder values
|
|
@@ -1104,6 +1110,7 @@ module Aws::CloudWatchLogs
|
|
|
1104
1110
|
# "TagKey" => "TagValue",
|
|
1105
1111
|
# },
|
|
1106
1112
|
# log_group_class: "STANDARD", # accepts STANDARD, INFREQUENT_ACCESS, DELIVERY
|
|
1113
|
+
# deletion_protection_enabled: false,
|
|
1107
1114
|
# })
|
|
1108
1115
|
#
|
|
1109
1116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup AWS API Documentation
|
|
@@ -2554,6 +2561,7 @@ module Aws::CloudWatchLogs
|
|
|
2554
2561
|
# resp.log_groups[0].inherited_properties[0] #=> String, one of "ACCOUNT_DATA_PROTECTION"
|
|
2555
2562
|
# resp.log_groups[0].log_group_class #=> String, one of "STANDARD", "INFREQUENT_ACCESS", "DELIVERY"
|
|
2556
2563
|
# resp.log_groups[0].log_group_arn #=> String
|
|
2564
|
+
# resp.log_groups[0].deletion_protection_enabled #=> Boolean
|
|
2557
2565
|
# resp.next_token #=> String
|
|
2558
2566
|
#
|
|
2559
2567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups AWS API Documentation
|
|
@@ -6154,6 +6162,53 @@ module Aws::CloudWatchLogs
|
|
|
6154
6162
|
req.send_request(options)
|
|
6155
6163
|
end
|
|
6156
6164
|
|
|
6165
|
+
# Enables or disables deletion protection for the specified log group.
|
|
6166
|
+
# When enabled on a log group, deletion protection blocks all deletion
|
|
6167
|
+
# operations until it is explicitly disabled.
|
|
6168
|
+
#
|
|
6169
|
+
# For information about the parameters that are common to all actions,
|
|
6170
|
+
# see [Common Parameters][1].
|
|
6171
|
+
#
|
|
6172
|
+
#
|
|
6173
|
+
#
|
|
6174
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonParameters.html
|
|
6175
|
+
#
|
|
6176
|
+
# @option params [required, String] :log_group_identifier
|
|
6177
|
+
# The name or ARN of the log group.
|
|
6178
|
+
#
|
|
6179
|
+
# Type: String
|
|
6180
|
+
#
|
|
6181
|
+
# Length Constraints: Minimum length of 1. Maximum length of 512.
|
|
6182
|
+
#
|
|
6183
|
+
# Pattern: `[\.\-_/#A-Za-z0-9]+`
|
|
6184
|
+
#
|
|
6185
|
+
# Required: Yes
|
|
6186
|
+
#
|
|
6187
|
+
# @option params [required, Boolean] :deletion_protection_enabled
|
|
6188
|
+
# Whether to enable deletion protection.
|
|
6189
|
+
#
|
|
6190
|
+
# Type: Boolean
|
|
6191
|
+
#
|
|
6192
|
+
# Required: Yes
|
|
6193
|
+
#
|
|
6194
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
6195
|
+
#
|
|
6196
|
+
# @example Request syntax with placeholder values
|
|
6197
|
+
#
|
|
6198
|
+
# resp = client.put_log_group_deletion_protection({
|
|
6199
|
+
# log_group_identifier: "LogGroupIdentifier", # required
|
|
6200
|
+
# deletion_protection_enabled: false, # required
|
|
6201
|
+
# })
|
|
6202
|
+
#
|
|
6203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogGroupDeletionProtection AWS API Documentation
|
|
6204
|
+
#
|
|
6205
|
+
# @overload put_log_group_deletion_protection(params = {})
|
|
6206
|
+
# @param [Hash] params ({})
|
|
6207
|
+
def put_log_group_deletion_protection(params = {}, options = {})
|
|
6208
|
+
req = build_request(:put_log_group_deletion_protection, params)
|
|
6209
|
+
req.send_request(options)
|
|
6210
|
+
end
|
|
6211
|
+
|
|
6157
6212
|
# Creates or updates a metric filter and associates it with the
|
|
6158
6213
|
# specified log group. With metric filters, you can configure rules to
|
|
6159
6214
|
# extract metric data from log events ingested through
|
|
@@ -8107,7 +8162,7 @@ module Aws::CloudWatchLogs
|
|
|
8107
8162
|
tracer: tracer
|
|
8108
8163
|
)
|
|
8109
8164
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
|
8110
|
-
context[:gem_version] = '1.
|
|
8165
|
+
context[:gem_version] = '1.133.0'
|
|
8111
8166
|
Seahorse::Client::Request.new(handlers, context)
|
|
8112
8167
|
end
|
|
8113
8168
|
|
|
@@ -100,6 +100,7 @@ module Aws::CloudWatchLogs
|
|
|
100
100
|
DeleteSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'DeleteSubscriptionFilterRequest')
|
|
101
101
|
DeleteTransformerRequest = Shapes::StructureShape.new(name: 'DeleteTransformerRequest')
|
|
102
102
|
DeleteWithKeys = Shapes::ListShape.new(name: 'DeleteWithKeys')
|
|
103
|
+
DeletionProtectionEnabled = Shapes::BooleanShape.new(name: 'DeletionProtectionEnabled')
|
|
103
104
|
Delimiter = Shapes::StringShape.new(name: 'Delimiter')
|
|
104
105
|
Deliveries = Shapes::ListShape.new(name: 'Deliveries')
|
|
105
106
|
Delivery = Shapes::StructureShape.new(name: 'Delivery')
|
|
@@ -430,6 +431,7 @@ module Aws::CloudWatchLogs
|
|
|
430
431
|
PutIntegrationResponse = Shapes::StructureShape.new(name: 'PutIntegrationResponse')
|
|
431
432
|
PutLogEventsRequest = Shapes::StructureShape.new(name: 'PutLogEventsRequest')
|
|
432
433
|
PutLogEventsResponse = Shapes::StructureShape.new(name: 'PutLogEventsResponse')
|
|
434
|
+
PutLogGroupDeletionProtectionRequest = Shapes::StructureShape.new(name: 'PutLogGroupDeletionProtectionRequest')
|
|
433
435
|
PutMetricFilterRequest = Shapes::StructureShape.new(name: 'PutMetricFilterRequest')
|
|
434
436
|
PutQueryDefinitionRequest = Shapes::StructureShape.new(name: 'PutQueryDefinitionRequest')
|
|
435
437
|
PutQueryDefinitionResponse = Shapes::StructureShape.new(name: 'PutQueryDefinitionResponse')
|
|
@@ -738,6 +740,7 @@ module Aws::CloudWatchLogs
|
|
|
738
740
|
CreateLogGroupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
739
741
|
CreateLogGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
740
742
|
CreateLogGroupRequest.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
|
|
743
|
+
CreateLogGroupRequest.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
|
|
741
744
|
CreateLogGroupRequest.struct_class = Types::CreateLogGroupRequest
|
|
742
745
|
|
|
743
746
|
CreateLogStreamRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
|
@@ -1483,6 +1486,7 @@ module Aws::CloudWatchLogs
|
|
|
1483
1486
|
LogGroup.add_member(:inherited_properties, Shapes::ShapeRef.new(shape: InheritedProperties, location_name: "inheritedProperties"))
|
|
1484
1487
|
LogGroup.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
|
|
1485
1488
|
LogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
|
|
1489
|
+
LogGroup.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
|
|
1486
1490
|
LogGroup.struct_class = Types::LogGroup
|
|
1487
1491
|
|
|
1488
1492
|
LogGroupArnList.member = Shapes::ShapeRef.new(shape: LogGroupArn)
|
|
@@ -1801,6 +1805,10 @@ module Aws::CloudWatchLogs
|
|
|
1801
1805
|
PutLogEventsResponse.add_member(:rejected_entity_info, Shapes::ShapeRef.new(shape: RejectedEntityInfo, location_name: "rejectedEntityInfo"))
|
|
1802
1806
|
PutLogEventsResponse.struct_class = Types::PutLogEventsResponse
|
|
1803
1807
|
|
|
1808
|
+
PutLogGroupDeletionProtectionRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
|
|
1809
|
+
PutLogGroupDeletionProtectionRequest.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
|
|
1810
|
+
PutLogGroupDeletionProtectionRequest.struct_class = Types::PutLogGroupDeletionProtectionRequest
|
|
1811
|
+
|
|
1804
1812
|
PutMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
|
1805
1813
|
PutMetricFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
|
|
1806
1814
|
PutMetricFilterRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, required: true, location_name: "filterPattern"))
|
|
@@ -2469,6 +2477,7 @@ module Aws::CloudWatchLogs
|
|
|
2469
2477
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2470
2478
|
o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
|
|
2471
2479
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2480
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2472
2481
|
end)
|
|
2473
2482
|
|
|
2474
2483
|
api.add_operation(:delete_log_stream, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2481,6 +2490,7 @@ module Aws::CloudWatchLogs
|
|
|
2481
2490
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2482
2491
|
o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
|
|
2483
2492
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2493
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2484
2494
|
end)
|
|
2485
2495
|
|
|
2486
2496
|
api.add_operation(:delete_metric_filter, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -3268,6 +3278,20 @@ module Aws::CloudWatchLogs
|
|
|
3268
3278
|
o.errors << Shapes::ShapeRef.new(shape: UnrecognizedClientException)
|
|
3269
3279
|
end)
|
|
3270
3280
|
|
|
3281
|
+
api.add_operation(:put_log_group_deletion_protection, Seahorse::Model::Operation.new.tap do |o|
|
|
3282
|
+
o.name = "PutLogGroupDeletionProtection"
|
|
3283
|
+
o.http_method = "POST"
|
|
3284
|
+
o.http_request_uri = "/"
|
|
3285
|
+
o.input = Shapes::ShapeRef.new(shape: PutLogGroupDeletionProtectionRequest)
|
|
3286
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3287
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
3288
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3289
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3290
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
|
|
3291
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3292
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
|
3293
|
+
end)
|
|
3294
|
+
|
|
3271
3295
|
api.add_operation(:put_metric_filter, Seahorse::Model::Operation.new.tap do |o|
|
|
3272
3296
|
o.name = "PutMetricFilter"
|
|
3273
3297
|
o.http_method = "POST"
|
|
@@ -930,13 +930,21 @@ module Aws::CloudWatchLogs
|
|
|
930
930
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html
|
|
931
931
|
# @return [String]
|
|
932
932
|
#
|
|
933
|
+
# @!attribute [rw] deletion_protection_enabled
|
|
934
|
+
# Use this parameter to enable deletion protection for the new log
|
|
935
|
+
# group. When enabled on a log group, deletion protection blocks all
|
|
936
|
+
# deletion operations until it is explicitly disabled. By default log
|
|
937
|
+
# groups are created without deletion protection enabled.
|
|
938
|
+
# @return [Boolean]
|
|
939
|
+
#
|
|
933
940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest AWS API Documentation
|
|
934
941
|
#
|
|
935
942
|
class CreateLogGroupRequest < Struct.new(
|
|
936
943
|
:log_group_name,
|
|
937
944
|
:kms_key_id,
|
|
938
945
|
:tags,
|
|
939
|
-
:log_group_class
|
|
946
|
+
:log_group_class,
|
|
947
|
+
:deletion_protection_enabled)
|
|
940
948
|
SENSITIVE = []
|
|
941
949
|
include Aws::Structure
|
|
942
950
|
end
|
|
@@ -4855,6 +4863,12 @@ module Aws::CloudWatchLogs
|
|
|
4855
4863
|
# [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html
|
|
4856
4864
|
# @return [String]
|
|
4857
4865
|
#
|
|
4866
|
+
# @!attribute [rw] deletion_protection_enabled
|
|
4867
|
+
# Indicates whether deletion protection is enabled for this log group.
|
|
4868
|
+
# When enabled, deletion protection blocks all deletion operations
|
|
4869
|
+
# until it is explicitly disabled.
|
|
4870
|
+
# @return [Boolean]
|
|
4871
|
+
#
|
|
4858
4872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup AWS API Documentation
|
|
4859
4873
|
#
|
|
4860
4874
|
class LogGroup < Struct.new(
|
|
@@ -4868,7 +4882,8 @@ module Aws::CloudWatchLogs
|
|
|
4868
4882
|
:data_protection_status,
|
|
4869
4883
|
:inherited_properties,
|
|
4870
4884
|
:log_group_class,
|
|
4871
|
-
:log_group_arn
|
|
4885
|
+
:log_group_arn,
|
|
4886
|
+
:deletion_protection_enabled)
|
|
4872
4887
|
SENSITIVE = []
|
|
4873
4888
|
include Aws::Structure
|
|
4874
4889
|
end
|
|
@@ -7063,6 +7078,35 @@ module Aws::CloudWatchLogs
|
|
|
7063
7078
|
include Aws::Structure
|
|
7064
7079
|
end
|
|
7065
7080
|
|
|
7081
|
+
# @!attribute [rw] log_group_identifier
|
|
7082
|
+
# The name or ARN of the log group.
|
|
7083
|
+
#
|
|
7084
|
+
# Type: String
|
|
7085
|
+
#
|
|
7086
|
+
# Length Constraints: Minimum length of 1. Maximum length of 512.
|
|
7087
|
+
#
|
|
7088
|
+
# Pattern: `[\.\-_/#A-Za-z0-9]+`
|
|
7089
|
+
#
|
|
7090
|
+
# Required: Yes
|
|
7091
|
+
# @return [String]
|
|
7092
|
+
#
|
|
7093
|
+
# @!attribute [rw] deletion_protection_enabled
|
|
7094
|
+
# Whether to enable deletion protection.
|
|
7095
|
+
#
|
|
7096
|
+
# Type: Boolean
|
|
7097
|
+
#
|
|
7098
|
+
# Required: Yes
|
|
7099
|
+
# @return [Boolean]
|
|
7100
|
+
#
|
|
7101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogGroupDeletionProtectionRequest AWS API Documentation
|
|
7102
|
+
#
|
|
7103
|
+
class PutLogGroupDeletionProtectionRequest < Struct.new(
|
|
7104
|
+
:log_group_identifier,
|
|
7105
|
+
:deletion_protection_enabled)
|
|
7106
|
+
SENSITIVE = []
|
|
7107
|
+
include Aws::Structure
|
|
7108
|
+
end
|
|
7109
|
+
|
|
7066
7110
|
# @!attribute [rw] log_group_name
|
|
7067
7111
|
# The name of the log group.
|
|
7068
7112
|
# @return [String]
|
data/sig/client.rbs
CHANGED
|
@@ -151,7 +151,8 @@ module Aws
|
|
|
151
151
|
log_group_name: ::String,
|
|
152
152
|
?kms_key_id: ::String,
|
|
153
153
|
?tags: Hash[::String, ::String],
|
|
154
|
-
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
|
154
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY"),
|
|
155
|
+
?deletion_protection_enabled: bool
|
|
155
156
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
156
157
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
157
158
|
|
|
@@ -1033,6 +1034,13 @@ module Aws
|
|
|
1033
1034
|
) -> _PutLogEventsResponseSuccess
|
|
1034
1035
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLogEventsResponseSuccess
|
|
1035
1036
|
|
|
1037
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_log_group_deletion_protection-instance_method
|
|
1038
|
+
def put_log_group_deletion_protection: (
|
|
1039
|
+
log_group_identifier: ::String,
|
|
1040
|
+
deletion_protection_enabled: bool
|
|
1041
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1042
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1043
|
+
|
|
1036
1044
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_metric_filter-instance_method
|
|
1037
1045
|
def put_metric_filter: (
|
|
1038
1046
|
log_group_name: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -179,6 +179,7 @@ module Aws::CloudWatchLogs
|
|
|
179
179
|
attr_accessor kms_key_id: ::String
|
|
180
180
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
181
181
|
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
|
182
|
+
attr_accessor deletion_protection_enabled: bool
|
|
182
183
|
SENSITIVE: []
|
|
183
184
|
end
|
|
184
185
|
|
|
@@ -1142,6 +1143,7 @@ module Aws::CloudWatchLogs
|
|
|
1142
1143
|
attr_accessor inherited_properties: ::Array[("ACCOUNT_DATA_PROTECTION")]
|
|
1143
1144
|
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
|
1144
1145
|
attr_accessor log_group_arn: ::String
|
|
1146
|
+
attr_accessor deletion_protection_enabled: bool
|
|
1145
1147
|
SENSITIVE: []
|
|
1146
1148
|
end
|
|
1147
1149
|
|
|
@@ -1525,6 +1527,12 @@ module Aws::CloudWatchLogs
|
|
|
1525
1527
|
SENSITIVE: []
|
|
1526
1528
|
end
|
|
1527
1529
|
|
|
1530
|
+
class PutLogGroupDeletionProtectionRequest
|
|
1531
|
+
attr_accessor log_group_identifier: ::String
|
|
1532
|
+
attr_accessor deletion_protection_enabled: bool
|
|
1533
|
+
SENSITIVE: []
|
|
1534
|
+
end
|
|
1535
|
+
|
|
1528
1536
|
class PutMetricFilterRequest
|
|
1529
1537
|
attr_accessor log_group_name: ::String
|
|
1530
1538
|
attr_accessor filter_name: ::String
|