aws-sdk-cloudwatchlogs 1.110.0 → 1.112.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchlogs/client.rb +143 -119
- data/lib/aws-sdk-cloudwatchlogs/types.rb +25 -7
- data/lib/aws-sdk-cloudwatchlogs.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f356e6ecac844b071bde533cfef48a424dfb2fc891699f9342b4dd82abcdc7fd
|
4
|
+
data.tar.gz: 8e3ec9b7154eb91d193beadbe42ff6cde43ec05b3b4a9a58ce398a2b2d697def
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a2fbf49eeacbe84ca5f7af9c2774af186e2fbf79a7345821c049feda2918fa4114b4be71d354c650a19476ebd5d71dd76965f1076855d2b5c82edec073dea46
|
7
|
+
data.tar.gz: 20a96ac9ba5a94c095274df7831cb834b78b39bfab363e2b88b6fba22ff7a26f6fc5ee5bd99a6cb80001e7ae4b3005aa002217595a9c89145699cfb2a2236393
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.112.0 (2025-04-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CloudWatch Logs supports "DELIVERY" log class. This log class is used only for delivering AWS Lambda logs to Amazon S3 or Amazon Data Firehose.
|
8
|
+
|
9
|
+
1.111.0 (2025-04-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.110.0 (2025-03-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.112.0
|
@@ -534,9 +534,9 @@ module Aws::CloudWatchLogs
|
|
534
534
|
# results that were encrypted with that key will be unencryptable and
|
535
535
|
# unusable.
|
536
536
|
#
|
537
|
-
# <note markdown="1"> CloudWatch Logs supports only symmetric KMS keys. Do not
|
538
|
-
#
|
539
|
-
#
|
537
|
+
# <note markdown="1"> CloudWatch Logs supports only symmetric KMS keys. Do not associate an
|
538
|
+
# asymmetric KMS key with your log group or query results. For more
|
539
|
+
# information, see [Using Symmetric and Asymmetric Keys][3].
|
540
540
|
#
|
541
541
|
# </note>
|
542
542
|
#
|
@@ -784,7 +784,7 @@ module Aws::CloudWatchLogs
|
|
784
784
|
# exported objects.
|
785
785
|
#
|
786
786
|
# <note markdown="1"> We recommend that you don't regularly export to Amazon S3 as a way to
|
787
|
-
# continuously archive your logs. For that use case, we
|
787
|
+
# continuously archive your logs. For that use case, we instead
|
788
788
|
# recommend that you use subscriptions. For more information about
|
789
789
|
# subscriptions, see [Real-time processing of log data with
|
790
790
|
# subscriptions][3].
|
@@ -1062,13 +1062,19 @@ module Aws::CloudWatchLogs
|
|
1062
1062
|
#
|
1063
1063
|
# @option params [String] :log_group_class
|
1064
1064
|
# Use this parameter to specify the log group class for this log group.
|
1065
|
-
# There are
|
1065
|
+
# There are three classes:
|
1066
1066
|
#
|
1067
1067
|
# * The `Standard` log class supports all CloudWatch Logs features.
|
1068
1068
|
#
|
1069
1069
|
# * The `Infrequent Access` log class supports a subset of CloudWatch
|
1070
1070
|
# Logs features and incurs lower costs.
|
1071
1071
|
#
|
1072
|
+
# * Use the `Delivery` log class only for delivering Lambda logs to
|
1073
|
+
# store in Amazon S3 or Amazon Data Firehose. Log events in log groups
|
1074
|
+
# in the Delivery class are kept in CloudWatch Logs for only one day.
|
1075
|
+
# This log class doesn't offer rich CloudWatch Logs capabilities such
|
1076
|
+
# as CloudWatch Logs Insights queries.
|
1077
|
+
#
|
1072
1078
|
# If you omit this parameter, the default of `STANDARD` is used.
|
1073
1079
|
#
|
1074
1080
|
# The value of `logGroupClass` can't be changed after a log group is
|
@@ -1091,7 +1097,7 @@ module Aws::CloudWatchLogs
|
|
1091
1097
|
# tags: {
|
1092
1098
|
# "TagKey" => "TagValue",
|
1093
1099
|
# },
|
1094
|
-
# log_group_class: "STANDARD", # accepts STANDARD, INFREQUENT_ACCESS
|
1100
|
+
# log_group_class: "STANDARD", # accepts STANDARD, INFREQUENT_ACCESS, DELIVERY
|
1095
1101
|
# })
|
1096
1102
|
#
|
1097
1103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup AWS API Documentation
|
@@ -1717,7 +1723,7 @@ module Aws::CloudWatchLogs
|
|
1717
1723
|
# permissions.
|
1718
1724
|
#
|
1719
1725
|
# * To see subscription filter policies, you must have the
|
1720
|
-
# `logs:
|
1726
|
+
# `logs:DescribeSubscriptionFilters` and
|
1721
1727
|
# `logs:DescribeAccountPolicies` permissions.
|
1722
1728
|
#
|
1723
1729
|
# * To see transformer policies, you must have the `logs:GetTransformer`
|
@@ -2311,7 +2317,7 @@ module Aws::CloudWatchLogs
|
|
2311
2317
|
# the monitoring account.
|
2312
2318
|
#
|
2313
2319
|
# @option params [String] :log_group_class
|
2314
|
-
# Specifies the log group class for this log group. There are
|
2320
|
+
# Specifies the log group class for this log group. There are three
|
2315
2321
|
# classes:
|
2316
2322
|
#
|
2317
2323
|
# * The `Standard` log class supports all CloudWatch Logs features.
|
@@ -2319,6 +2325,12 @@ module Aws::CloudWatchLogs
|
|
2319
2325
|
# * The `Infrequent Access` log class supports a subset of CloudWatch
|
2320
2326
|
# Logs features and incurs lower costs.
|
2321
2327
|
#
|
2328
|
+
# * Use the `Delivery` log class only for delivering Lambda logs to
|
2329
|
+
# store in Amazon S3 or Amazon Data Firehose. Log events in log groups
|
2330
|
+
# in the Delivery class are kept in CloudWatch Logs for only one day.
|
2331
|
+
# This log class doesn't offer rich CloudWatch Logs capabilities such
|
2332
|
+
# as CloudWatch Logs Insights queries.
|
2333
|
+
#
|
2322
2334
|
# For details about the features supported by each class, see [Log
|
2323
2335
|
# classes][1]
|
2324
2336
|
#
|
@@ -2342,7 +2354,7 @@ module Aws::CloudWatchLogs
|
|
2342
2354
|
# next_token: "NextToken",
|
2343
2355
|
# limit: 1,
|
2344
2356
|
# include_linked_accounts: false,
|
2345
|
-
# log_group_class: "STANDARD", # accepts STANDARD, INFREQUENT_ACCESS
|
2357
|
+
# log_group_class: "STANDARD", # accepts STANDARD, INFREQUENT_ACCESS, DELIVERY
|
2346
2358
|
# })
|
2347
2359
|
#
|
2348
2360
|
# @example Response structure
|
@@ -2358,7 +2370,7 @@ module Aws::CloudWatchLogs
|
|
2358
2370
|
# resp.log_groups[0].data_protection_status #=> String, one of "ACTIVATED", "DELETED", "ARCHIVED", "DISABLED"
|
2359
2371
|
# resp.log_groups[0].inherited_properties #=> Array
|
2360
2372
|
# resp.log_groups[0].inherited_properties[0] #=> String, one of "ACCOUNT_DATA_PROTECTION"
|
2361
|
-
# resp.log_groups[0].log_group_class #=> String, one of "STANDARD", "INFREQUENT_ACCESS"
|
2373
|
+
# resp.log_groups[0].log_group_class #=> String, one of "STANDARD", "INFREQUENT_ACCESS", "DELIVERY"
|
2362
2374
|
# resp.log_groups[0].log_group_arn #=> String
|
2363
2375
|
# resp.next_token #=> String
|
2364
2376
|
#
|
@@ -5237,7 +5249,7 @@ module Aws::CloudWatchLogs
|
|
5237
5249
|
# * A batch of log events in a single request cannot span more than 24
|
5238
5250
|
# hours. Otherwise, the operation fails.
|
5239
5251
|
#
|
5240
|
-
# * Each log event can be no larger than
|
5252
|
+
# * Each log event can be no larger than 1 MB.
|
5241
5253
|
#
|
5242
5254
|
# * The maximum number of log events in a batch is 10,000.
|
5243
5255
|
#
|
@@ -6023,6 +6035,12 @@ module Aws::CloudWatchLogs
|
|
6023
6035
|
# * A [SessionTimeoutException][5] object is returned when the session
|
6024
6036
|
# times out, after it has been kept open for three hours.
|
6025
6037
|
#
|
6038
|
+
# <note markdown="1"> The `StartLiveTail` API routes requests to
|
6039
|
+
# `streaming-logs.Region.amazonaws.com` using SDK host prefix injection.
|
6040
|
+
# VPC endpoint support is not available for this API.
|
6041
|
+
#
|
6042
|
+
# </note>
|
6043
|
+
#
|
6026
6044
|
# You can end a session before it times out by closing the session
|
6027
6045
|
# stream or by closing the client that is receiving the stream. The
|
6028
6046
|
# session also ends if the established connection between the client and
|
@@ -6098,113 +6116,119 @@ module Aws::CloudWatchLogs
|
|
6098
6116
|
#
|
6099
6117
|
# @example EventStream Operation Example
|
6100
6118
|
#
|
6101
|
-
# You can process the event once it arrives immediately, or wait until the
|
6102
|
-
# full response is complete and iterate through the eventstream enumerator.
|
6103
|
-
#
|
6104
|
-
# To interact with event immediately, you need to register
|
6105
|
-
# with callbacks. Callbacks can be registered for specific events or for all
|
6106
|
-
# events, including error events.
|
6107
|
-
#
|
6108
|
-
# Callbacks can be passed into the `:event_stream_handler` option or within a
|
6109
|
-
# block statement attached to the #start_live_tail call directly. Hybrid
|
6110
|
-
# pattern of both is also supported.
|
6111
|
-
#
|
6112
|
-
# `:event_stream_handler` option takes in either a Proc object or
|
6113
|
-
# Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object.
|
6114
|
-
#
|
6115
|
-
# Usage pattern a): Callbacks with a block attached to #start_live_tail
|
6116
|
-
#
|
6117
|
-
#
|
6118
|
-
#
|
6119
|
-
#
|
6120
|
-
#
|
6121
|
-
#
|
6122
|
-
#
|
6123
|
-
#
|
6124
|
-
#
|
6125
|
-
#
|
6126
|
-
#
|
6127
|
-
#
|
6128
|
-
# stream.on_event do |event|
|
6129
|
-
# # process all events arrive
|
6130
|
-
# puts event.event_type
|
6131
|
-
# ...
|
6132
|
-
# end
|
6133
|
-
#
|
6119
|
+
# # You can process the event once it arrives immediately, or wait until the
|
6120
|
+
# # full response is complete and iterate through the eventstream enumerator.
|
6121
|
+
#
|
6122
|
+
# # To interact with event immediately, you need to register start_live_tail
|
6123
|
+
# # with callbacks. Callbacks can be registered for specific events or for all
|
6124
|
+
# # events, including error events.
|
6125
|
+
#
|
6126
|
+
# # Callbacks can be passed into the `:event_stream_handler` option or within a
|
6127
|
+
# # block statement attached to the #start_live_tail call directly. Hybrid
|
6128
|
+
# # pattern of both is also supported.
|
6129
|
+
#
|
6130
|
+
# # `:event_stream_handler` option takes in either a Proc object or
|
6131
|
+
# # Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object.
|
6132
|
+
#
|
6133
|
+
# # Usage pattern a): Callbacks with a block attached to #start_live_tail
|
6134
|
+
# # Example for registering callbacks for all event types and an error event
|
6135
|
+
# client.start_live_tail(
|
6136
|
+
# # params input
|
6137
|
+
# ) do |stream|
|
6138
|
+
# stream.on_error_event do |event|
|
6139
|
+
# # catch unmodeled error event in the stream
|
6140
|
+
# raise event
|
6141
|
+
# # => Aws::Errors::EventError
|
6142
|
+
# # event.event_type => :error
|
6143
|
+
# # event.error_code => String
|
6144
|
+
# # event.error_message => String
|
6134
6145
|
# end
|
6135
6146
|
#
|
6136
|
-
#
|
6137
|
-
#
|
6138
|
-
#
|
6139
|
-
#
|
6140
|
-
#
|
6141
|
-
# handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
|
6142
|
-
# handler.on_session_start_event do |event|
|
6143
|
-
# event # => Aws::CloudWatchLogs::Types::sessionStart
|
6144
|
-
# end
|
6145
|
-
# handler.on_session_update_event do |event|
|
6146
|
-
# event # => Aws::CloudWatchLogs::Types::sessionUpdate
|
6147
|
-
# end
|
6148
|
-
# handler.on_session_timeout_exception_event do |event|
|
6149
|
-
# event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
|
6150
|
-
# end
|
6151
|
-
# handler.on_session_streaming_exception_event do |event|
|
6152
|
-
# event # => Aws::CloudWatchLogs::Types::SessionStreamingException
|
6153
|
-
# end
|
6154
|
-
#
|
6155
|
-
# client.start_live_tail( # params input #, event_stream_handler: handler)
|
6156
|
-
#
|
6157
|
-
# 2) Use a Ruby Proc object
|
6158
|
-
# Example for registering callbacks with specific events
|
6159
|
-
#
|
6160
|
-
# handler = Proc.new do |stream|
|
6161
|
-
# stream.on_session_start_event do |event|
|
6162
|
-
# event # => Aws::CloudWatchLogs::Types::sessionStart
|
6163
|
-
# end
|
6164
|
-
# stream.on_session_update_event do |event|
|
6165
|
-
# event # => Aws::CloudWatchLogs::Types::sessionUpdate
|
6166
|
-
# end
|
6167
|
-
# stream.on_session_timeout_exception_event do |event|
|
6168
|
-
# event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
|
6169
|
-
# end
|
6170
|
-
# stream.on_session_streaming_exception_event do |event|
|
6171
|
-
# event # => Aws::CloudWatchLogs::Types::SessionStreamingException
|
6172
|
-
# end
|
6147
|
+
# stream.on_event do |event|
|
6148
|
+
# # process all events arrive
|
6149
|
+
# puts event.event_type
|
6150
|
+
# # ...
|
6173
6151
|
# end
|
6174
|
-
#
|
6175
|
-
#
|
6176
|
-
#
|
6177
|
-
#
|
6178
|
-
#
|
6179
|
-
#
|
6180
|
-
#
|
6181
|
-
#
|
6182
|
-
#
|
6183
|
-
#
|
6184
|
-
#
|
6185
|
-
#
|
6186
|
-
#
|
6187
|
-
#
|
6188
|
-
#
|
6189
|
-
#
|
6190
|
-
#
|
6191
|
-
#
|
6192
|
-
#
|
6193
|
-
#
|
6194
|
-
#
|
6195
|
-
#
|
6196
|
-
#
|
6197
|
-
#
|
6198
|
-
#
|
6199
|
-
#
|
6200
|
-
#
|
6201
|
-
#
|
6152
|
+
# end
|
6153
|
+
#
|
6154
|
+
# # Usage pattern b): Pass in `:event_stream_handler` for #start_live_tail
|
6155
|
+
# # 1) Create a Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object
|
6156
|
+
# # Example for registering callbacks with specific events
|
6157
|
+
#
|
6158
|
+
# handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
|
6159
|
+
# handler.on_session_start_event do |event|
|
6160
|
+
# event # => Aws::CloudWatchLogs::Types::sessionStart
|
6161
|
+
# end
|
6162
|
+
# handler.on_session_update_event do |event|
|
6163
|
+
# event # => Aws::CloudWatchLogs::Types::sessionUpdate
|
6164
|
+
# end
|
6165
|
+
# handler.on_session_timeout_exception_event do |event|
|
6166
|
+
# event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
|
6167
|
+
# end
|
6168
|
+
# handler.on_session_streaming_exception_event do |event|
|
6169
|
+
# event # => Aws::CloudWatchLogs::Types::SessionStreamingException
|
6170
|
+
# end
|
6171
|
+
#
|
6172
|
+
# client.start_live_tail(
|
6173
|
+
# # params inputs
|
6174
|
+
# event_stream_handler: handler
|
6175
|
+
# )
|
6176
|
+
#
|
6177
|
+
# # 2) Use a Ruby Proc object
|
6178
|
+
# # Example for registering callbacks with specific events
|
6179
|
+
# handler = Proc.new do |stream|
|
6180
|
+
# stream.on_session_start_event do |event|
|
6181
|
+
# event # => Aws::CloudWatchLogs::Types::sessionStart
|
6202
6182
|
# end
|
6183
|
+
# stream.on_session_update_event do |event|
|
6184
|
+
# event # => Aws::CloudWatchLogs::Types::sessionUpdate
|
6185
|
+
# end
|
6186
|
+
# stream.on_session_timeout_exception_event do |event|
|
6187
|
+
# event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
|
6188
|
+
# end
|
6189
|
+
# stream.on_session_streaming_exception_event do |event|
|
6190
|
+
# event # => Aws::CloudWatchLogs::Types::SessionStreamingException
|
6191
|
+
# end
|
6192
|
+
# end
|
6193
|
+
#
|
6194
|
+
# client.start_live_tail(
|
6195
|
+
# # params inputs
|
6196
|
+
# event_stream_handler: handler
|
6197
|
+
# )
|
6198
|
+
#
|
6199
|
+
# # Usage pattern c): Hybrid pattern of a) and b)
|
6200
|
+
# handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
|
6201
|
+
# handler.on_session_start_event do |event|
|
6202
|
+
# event # => Aws::CloudWatchLogs::Types::sessionStart
|
6203
|
+
# end
|
6204
|
+
# handler.on_session_update_event do |event|
|
6205
|
+
# event # => Aws::CloudWatchLogs::Types::sessionUpdate
|
6206
|
+
# end
|
6207
|
+
# handler.on_session_timeout_exception_event do |event|
|
6208
|
+
# event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
|
6209
|
+
# end
|
6210
|
+
# handler.on_session_streaming_exception_event do |event|
|
6211
|
+
# event # => Aws::CloudWatchLogs::Types::SessionStreamingException
|
6212
|
+
# end
|
6213
|
+
#
|
6214
|
+
# client.start_live_tail(
|
6215
|
+
# # params input
|
6216
|
+
# event_stream_handler: handler
|
6217
|
+
# ) do |stream|
|
6218
|
+
# stream.on_error_event do |event|
|
6219
|
+
# # catch unmodeled error event in the stream
|
6220
|
+
# raise event
|
6221
|
+
# # => Aws::Errors::EventError
|
6222
|
+
# # event.event_type => :error
|
6223
|
+
# # event.error_code => String
|
6224
|
+
# # event.error_message => String
|
6225
|
+
# end
|
6226
|
+
# end
|
6203
6227
|
#
|
6204
|
-
# You can also iterate through events after the response complete.
|
6205
|
-
#
|
6206
|
-
#
|
6207
|
-
# For parameter input example, please refer to following request syntax
|
6228
|
+
# # You can also iterate through events after the response complete.
|
6229
|
+
# # Events are available at
|
6230
|
+
# resp.response_stream # => Enumerator
|
6231
|
+
# # For parameter input example, please refer to following request syntax.
|
6208
6232
|
#
|
6209
6233
|
# @example Request syntax with placeholder values
|
6210
6234
|
#
|
@@ -6217,11 +6241,11 @@ module Aws::CloudWatchLogs
|
|
6217
6241
|
#
|
6218
6242
|
# @example Response structure
|
6219
6243
|
#
|
6220
|
-
# All events are available at resp.response_stream:
|
6244
|
+
# # All events are available at resp.response_stream:
|
6221
6245
|
# resp.response_stream #=> Enumerator
|
6222
6246
|
# resp.response_stream.event_types #=> [:session_start, :session_update, :session_timeout_exception, :session_streaming_exception]
|
6223
6247
|
#
|
6224
|
-
# For :session_start event available at #on_session_start_event callback and response eventstream enumerator:
|
6248
|
+
# # For :session_start event available at #on_session_start_event callback and response eventstream enumerator:
|
6225
6249
|
# event.request_id #=> String
|
6226
6250
|
# event.session_id #=> String
|
6227
6251
|
# event.log_group_identifiers #=> Array
|
@@ -6232,7 +6256,7 @@ module Aws::CloudWatchLogs
|
|
6232
6256
|
# event.log_stream_name_prefixes[0] #=> String
|
6233
6257
|
# event.log_event_filter_pattern #=> String
|
6234
6258
|
#
|
6235
|
-
# For :session_update event available at #on_session_update_event callback and response eventstream enumerator:
|
6259
|
+
# # For :session_update event available at #on_session_update_event callback and response eventstream enumerator:
|
6236
6260
|
# event.session_metadata.sampled #=> Boolean
|
6237
6261
|
# event.session_results #=> Array
|
6238
6262
|
# event.session_results[0].log_stream_name #=> String
|
@@ -6241,10 +6265,10 @@ module Aws::CloudWatchLogs
|
|
6241
6265
|
# event.session_results[0].timestamp #=> Integer
|
6242
6266
|
# event.session_results[0].ingestion_time #=> Integer
|
6243
6267
|
#
|
6244
|
-
# For :session_timeout_exception event available at #on_session_timeout_exception_event callback and response eventstream enumerator:
|
6268
|
+
# # For :session_timeout_exception event available at #on_session_timeout_exception_event callback and response eventstream enumerator:
|
6245
6269
|
# event.message #=> String
|
6246
6270
|
#
|
6247
|
-
# For :session_streaming_exception event available at #on_session_streaming_exception_event callback and response eventstream enumerator:
|
6271
|
+
# # For :session_streaming_exception event available at #on_session_streaming_exception_event callback and response eventstream enumerator:
|
6248
6272
|
# event.message #=> String
|
6249
6273
|
#
|
6250
6274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartLiveTail AWS API Documentation
|
@@ -7061,7 +7085,7 @@ module Aws::CloudWatchLogs
|
|
7061
7085
|
tracer: tracer
|
7062
7086
|
)
|
7063
7087
|
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
|
7064
|
-
context[:gem_version] = '1.
|
7088
|
+
context[:gem_version] = '1.112.0'
|
7065
7089
|
Seahorse::Client::Request.new(handlers, context)
|
7066
7090
|
end
|
7067
7091
|
|
@@ -904,13 +904,19 @@ module Aws::CloudWatchLogs
|
|
904
904
|
#
|
905
905
|
# @!attribute [rw] log_group_class
|
906
906
|
# Use this parameter to specify the log group class for this log
|
907
|
-
# group. There are
|
907
|
+
# group. There are three classes:
|
908
908
|
#
|
909
909
|
# * The `Standard` log class supports all CloudWatch Logs features.
|
910
910
|
#
|
911
911
|
# * The `Infrequent Access` log class supports a subset of CloudWatch
|
912
912
|
# Logs features and incurs lower costs.
|
913
913
|
#
|
914
|
+
# * Use the `Delivery` log class only for delivering Lambda logs to
|
915
|
+
# store in Amazon S3 or Amazon Data Firehose. Log events in log
|
916
|
+
# groups in the Delivery class are kept in CloudWatch Logs for only
|
917
|
+
# one day. This log class doesn't offer rich CloudWatch Logs
|
918
|
+
# capabilities such as CloudWatch Logs Insights queries.
|
919
|
+
#
|
914
920
|
# If you omit this parameter, the default of `STANDARD` is used.
|
915
921
|
#
|
916
922
|
# The value of `logGroupClass` can't be changed after a log group is
|
@@ -2055,7 +2061,7 @@ module Aws::CloudWatchLogs
|
|
2055
2061
|
# @return [Boolean]
|
2056
2062
|
#
|
2057
2063
|
# @!attribute [rw] log_group_class
|
2058
|
-
# Specifies the log group class for this log group. There are
|
2064
|
+
# Specifies the log group class for this log group. There are three
|
2059
2065
|
# classes:
|
2060
2066
|
#
|
2061
2067
|
# * The `Standard` log class supports all CloudWatch Logs features.
|
@@ -2063,6 +2069,12 @@ module Aws::CloudWatchLogs
|
|
2063
2069
|
# * The `Infrequent Access` log class supports a subset of CloudWatch
|
2064
2070
|
# Logs features and incurs lower costs.
|
2065
2071
|
#
|
2072
|
+
# * Use the `Delivery` log class only for delivering Lambda logs to
|
2073
|
+
# store in Amazon S3 or Amazon Data Firehose. Log events in log
|
2074
|
+
# groups in the Delivery class are kept in CloudWatch Logs for only
|
2075
|
+
# one day. This log class doesn't offer rich CloudWatch Logs
|
2076
|
+
# capabilities such as CloudWatch Logs Insights queries.
|
2077
|
+
#
|
2066
2078
|
# For details about the features supported by each class, see [Log
|
2067
2079
|
# classes][1]
|
2068
2080
|
#
|
@@ -3560,7 +3572,7 @@ module Aws::CloudWatchLogs
|
|
3560
3572
|
# @return [Integer]
|
3561
3573
|
#
|
3562
3574
|
# @!attribute [rw] message
|
3563
|
-
# The raw event message. Each log event can be no larger than
|
3575
|
+
# The raw event message. Each log event can be no larger than 1 MB.
|
3564
3576
|
# @return [String]
|
3565
3577
|
#
|
3566
3578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InputLogEvent AWS API Documentation
|
@@ -4205,16 +4217,22 @@ module Aws::CloudWatchLogs
|
|
4205
4217
|
# @return [Array<String>]
|
4206
4218
|
#
|
4207
4219
|
# @!attribute [rw] log_group_class
|
4208
|
-
# This specifies the log group class for this log group. There are
|
4209
|
-
# classes:
|
4220
|
+
# This specifies the log group class for this log group. There are
|
4221
|
+
# three classes:
|
4210
4222
|
#
|
4211
4223
|
# * The `Standard` log class supports all CloudWatch Logs features.
|
4212
4224
|
#
|
4213
4225
|
# * The `Infrequent Access` log class supports a subset of CloudWatch
|
4214
4226
|
# Logs features and incurs lower costs.
|
4215
4227
|
#
|
4216
|
-
#
|
4217
|
-
#
|
4228
|
+
# * Use the `Delivery` log class only for delivering Lambda logs to
|
4229
|
+
# store in Amazon S3 or Amazon Data Firehose. Log events in log
|
4230
|
+
# groups in the Delivery class are kept in CloudWatch Logs for only
|
4231
|
+
# one day. This log class doesn't offer rich CloudWatch Logs
|
4232
|
+
# capabilities such as CloudWatch Logs Insights queries.
|
4233
|
+
#
|
4234
|
+
# For details about the features supported by the Standard and
|
4235
|
+
# Infrequent Access classes, see [Log classes][1]
|
4218
4236
|
#
|
4219
4237
|
#
|
4220
4238
|
#
|
data/sig/client.rbs
CHANGED
@@ -150,7 +150,7 @@ module Aws
|
|
150
150
|
log_group_name: ::String,
|
151
151
|
?kms_key_id: ::String,
|
152
152
|
?tags: Hash[::String, ::String],
|
153
|
-
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
153
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
154
154
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
155
155
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
156
156
|
|
@@ -414,7 +414,7 @@ module Aws
|
|
414
414
|
?next_token: ::String,
|
415
415
|
?limit: ::Integer,
|
416
416
|
?include_linked_accounts: bool,
|
417
|
-
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
417
|
+
?log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
418
418
|
) -> _DescribeLogGroupsResponseSuccess
|
419
419
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogGroupsResponseSuccess
|
420
420
|
|
data/sig/types.rbs
CHANGED
@@ -178,7 +178,7 @@ module Aws::CloudWatchLogs
|
|
178
178
|
attr_accessor log_group_name: ::String
|
179
179
|
attr_accessor kms_key_id: ::String
|
180
180
|
attr_accessor tags: ::Hash[::String, ::String]
|
181
|
-
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
181
|
+
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
182
182
|
SENSITIVE: []
|
183
183
|
end
|
184
184
|
|
@@ -477,7 +477,7 @@ module Aws::CloudWatchLogs
|
|
477
477
|
attr_accessor next_token: ::String
|
478
478
|
attr_accessor limit: ::Integer
|
479
479
|
attr_accessor include_linked_accounts: bool
|
480
|
-
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
480
|
+
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
481
481
|
SENSITIVE: []
|
482
482
|
end
|
483
483
|
|
@@ -998,7 +998,7 @@ module Aws::CloudWatchLogs
|
|
998
998
|
attr_accessor kms_key_id: ::String
|
999
999
|
attr_accessor data_protection_status: ("ACTIVATED" | "DELETED" | "ARCHIVED" | "DISABLED")
|
1000
1000
|
attr_accessor inherited_properties: ::Array[("ACCOUNT_DATA_PROTECTION")]
|
1001
|
-
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
|
1001
|
+
attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS" | "DELIVERY")
|
1002
1002
|
attr_accessor log_group_arn: ::String
|
1003
1003
|
SENSITIVE: []
|
1004
1004
|
end
|
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.112.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: 2025-
|
11
|
+
date: 2025-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|