aws-sdk-cloudwatchlogs 1.109.0 → 1.111.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9933c2237cedea63fb431280e07206aed9d7d4e6ed2903f6f61972015dbf1487
4
- data.tar.gz: 6ab53515acd6217339a425cebc2bae6f10af87e59dd4a4b9750cc0555ebd50ef
3
+ metadata.gz: 31ff82080bdc70e8104d3d54c360381d1f0f4c7dbe3b120d6bce7b26cc35db39
4
+ data.tar.gz: 65de672eb9153530f99266d4a801cceb79f3497cfeef76713fd22c9a378a7712
5
5
  SHA512:
6
- metadata.gz: 351e88fcdf2ecb17194b0afc5179bd5e6befd4f73795a9a05a4f33543ba71737b3db5daf67fb19f43ad020a40cb923d64794ae4fb8268dc174a5a4ff55da4f42
7
- data.tar.gz: 3305ce0c50d267f89190bad9be59227fb15c0782adf18e6440508bbc480008af867dc566af1e07b21b312ee47a53be09c3803b785337071e47f0b85174323fdf
6
+ metadata.gz: ec70940e88a925ed8e8fcb007df71b81f982559490ccf87899e5943d3ccf3bb7e70aae85eeb7713d33e02c74e9424cf6efc7df01539e7a18280c9928bbac2929
7
+ data.tar.gz: b53f204b30bcb5270822ed293407d5f8d8d871d20692258a7309f81bb3e1aa56213092e087eb7e917272c80b0efd7327c084fd2d95db5d347b1f21885a44a4c7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2025-04-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.110.0 (2025-03-13)
10
+ ------------------
11
+
12
+ * Feature - Updated CreateLogAnomalyDetector to accept only kms key arn
13
+
4
14
  1.109.0 (2025-02-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.109.0
1
+ 1.111.0
@@ -936,8 +936,9 @@ module Aws::CloudWatchLogs
936
936
  # this key and for the anomaly detector to retrieve information about
937
937
  # the anomalies that it finds.
938
938
  #
939
- # For more information about using a KMS key and to see the required IAM
940
- # policy, see [Use a KMS key with an anomaly detector][1].
939
+ # Make sure the value provided is a valid KMS key ARN. For more
940
+ # information about using a KMS key and to see the required IAM policy,
941
+ # see [Use a KMS key with an anomaly detector][1].
941
942
  #
942
943
  #
943
944
  #
@@ -973,7 +974,7 @@ module Aws::CloudWatchLogs
973
974
  # detector_name: "DetectorName",
974
975
  # evaluation_frequency: "ONE_MIN", # accepts ONE_MIN, FIVE_MIN, TEN_MIN, FIFTEEN_MIN, THIRTY_MIN, ONE_HOUR
975
976
  # filter_pattern: "FilterPattern",
976
- # kms_key_id: "KmsKeyId",
977
+ # kms_key_id: "DetectorKmsKeyArn",
977
978
  # anomaly_visibility_time: 1,
978
979
  # tags: {
979
980
  # "TagKey" => "TagValue",
@@ -2858,8 +2859,14 @@ module Aws::CloudWatchLogs
2858
2859
  end
2859
2860
 
2860
2861
  # Lists log events from the specified log group. You can list all the
2861
- # log events or filter the results using a filter pattern, a time range,
2862
- # and the name of the log stream.
2862
+ # log events or filter the results using one or more of the following:
2863
+ #
2864
+ # * A filter pattern
2865
+ #
2866
+ # * A time range
2867
+ #
2868
+ # * The log stream name, or a log stream name prefix that matches
2869
+ # mutltiple log streams
2863
2870
  #
2864
2871
  # You must have the `logs:FilterLogEvents` permission to perform this
2865
2872
  # operation.
@@ -2868,13 +2875,28 @@ module Aws::CloudWatchLogs
2868
2875
  # `logGroupIdentifier` or `logGroupName`. You must include one of these
2869
2876
  # two parameters, but you can't include both.
2870
2877
  #
2871
- # By default, this operation returns as many log events as can fit in 1
2872
- # MB (up to 10,000 log events) or all the events found within the
2873
- # specified time range. If the results include a token, that means there
2874
- # are more log events available. You can get additional results by
2875
- # specifying the token in a subsequent call. This operation can return
2876
- # empty results while there are more log events available through the
2877
- # token.
2878
+ # `FilterLogEvents` is a paginated operation. Each page returned can
2879
+ # contain up to 1 MB of log events or up to 10,000 log events. A
2880
+ # returned page might only be partially full, or even empty. For
2881
+ # example, if the result of a query would return 15,000 log events, the
2882
+ # first page isn't guaranteed to have 10,000 log events even if they
2883
+ # all fit into 1 MB.
2884
+ #
2885
+ # Partially full or empty pages don't necessarily mean that pagination
2886
+ # is finished. If the results include a `nextToken`, there might be more
2887
+ # log events available. You can return these additional log events by
2888
+ # providing the nextToken in a subsequent `FilterLogEvents` operation.
2889
+ # If the results don't include a `nextToken`, then pagination is
2890
+ # finished.
2891
+ #
2892
+ # <note markdown="1"> If you set `startFromHead` to `true` and you don’t include `endTime`
2893
+ # in your request, you can end up in a situation where the pagination
2894
+ # doesn't terminate. This can happen when the new log events are being
2895
+ # added to the target log streams faster than they are being read. This
2896
+ # situation is a good use case for the CloudWatch Logs [Live Tail][1]
2897
+ # feature.
2898
+ #
2899
+ # </note>
2878
2900
  #
2879
2901
  # The returned log events are sorted by event timestamp, the timestamp
2880
2902
  # when the event was ingested by CloudWatch Logs, and the ID of the
@@ -2883,11 +2905,21 @@ module Aws::CloudWatchLogs
2883
2905
  # If you are using CloudWatch cross-account observability, you can use
2884
2906
  # this operation in a monitoring account and view data from the linked
2885
2907
  # source accounts. For more information, see [CloudWatch cross-account
2886
- # observability][1].
2908
+ # observability][2].
2887
2909
  #
2910
+ # <note markdown="1"> If you are using [log transformation][3], the `FilterLogEvents`
2911
+ # operation returns only the original versions of log events, before
2912
+ # they were transformed. To view the transformed versions, you must use
2913
+ # a [CloudWatch Logs query.][4]
2888
2914
  #
2915
+ # </note>
2889
2916
  #
2890
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
2917
+ #
2918
+ #
2919
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs_LiveTail.html
2920
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
2921
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html
2922
+ # [4]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
2891
2923
  #
2892
2924
  # @option params [String] :log_group_name
2893
2925
  # The name of the log group to search.
@@ -3276,6 +3308,7 @@ module Aws::CloudWatchLogs
3276
3308
  end
3277
3309
 
3278
3310
  # Retrieves information about the log anomaly detector that you specify.
3311
+ # The KMS key ARN detected is valid.
3279
3312
  #
3280
3313
  # @option params [required, String] :anomaly_detector_arn
3281
3314
  # The ARN of the anomaly detector to retrieve information about. You can
@@ -3329,24 +3362,51 @@ module Aws::CloudWatchLogs
3329
3362
  # Lists log events from the specified log stream. You can list all of
3330
3363
  # the log events or filter using a time range.
3331
3364
  #
3332
- # By default, this operation returns as many log events as can fit in a
3333
- # response size of 1MB (up to 10,000 log events). You can get additional
3334
- # log events by specifying one of the tokens in a subsequent call. This
3335
- # operation can return empty results while there are more log events
3336
- # available through the token.
3365
+ # `GetLogEvents` is a paginated operation. Each page returned can
3366
+ # contain up to 1 MB of log events or up to 10,000 log events. A
3367
+ # returned page might only be partially full, or even empty. For
3368
+ # example, if the result of a query would return 15,000 log events, the
3369
+ # first page isn't guaranteed to have 10,000 log events even if they
3370
+ # all fit into 1 MB.
3371
+ #
3372
+ # Partially full or empty pages don't necessarily mean that pagination
3373
+ # is finished. As long as the `nextBackwardToken` or `nextForwardToken`
3374
+ # returned is NOT equal to the `nextToken` that you passed into the API
3375
+ # call, there might be more log events available. The token that you use
3376
+ # depends on the direction you want to move in along the log stream. The
3377
+ # returned tokens are never null.
3378
+ #
3379
+ # <note markdown="1"> If you set `startFromHead` to `true` and you don’t include `endTime`
3380
+ # in your request, you can end up in a situation where the pagination
3381
+ # doesn't terminate. This can happen when the new log events are being
3382
+ # added to the target log streams faster than they are being read. This
3383
+ # situation is a good use case for the CloudWatch Logs [Live Tail][1]
3384
+ # feature.
3385
+ #
3386
+ # </note>
3337
3387
  #
3338
3388
  # If you are using CloudWatch cross-account observability, you can use
3339
3389
  # this operation in a monitoring account and view data from the linked
3340
3390
  # source accounts. For more information, see [CloudWatch cross-account
3341
- # observability][1].
3391
+ # observability][2].
3342
3392
  #
3343
3393
  # You can specify the log group to search by using either
3344
3394
  # `logGroupIdentifier` or `logGroupName`. You must include one of these
3345
3395
  # two parameters, but you can't include both.
3346
3396
  #
3397
+ # <note markdown="1"> If you are using [log transformation][3], the `GetLogEvents` operation
3398
+ # returns only the original versions of log events, before they were
3399
+ # transformed. To view the transformed versions, you must use a
3400
+ # [CloudWatch Logs query.][4]
3347
3401
  #
3402
+ # </note>
3348
3403
  #
3349
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
3404
+ #
3405
+ #
3406
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs_LiveTail.html
3407
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
3408
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html
3409
+ # [4]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
3350
3410
  #
3351
3411
  # @option params [String] :log_group_name
3352
3412
  # The name of the log group.
@@ -6038,113 +6098,119 @@ module Aws::CloudWatchLogs
6038
6098
  #
6039
6099
  # @example EventStream Operation Example
6040
6100
  #
6041
- # You can process the event once it arrives immediately, or wait until the
6042
- # full response is complete and iterate through the eventstream enumerator.
6043
- #
6044
- # To interact with event immediately, you need to register #start_live_tail
6045
- # with callbacks. Callbacks can be registered for specific events or for all
6046
- # events, including error events.
6047
- #
6048
- # Callbacks can be passed into the `:event_stream_handler` option or within a
6049
- # block statement attached to the #start_live_tail call directly. Hybrid
6050
- # pattern of both is also supported.
6051
- #
6052
- # `:event_stream_handler` option takes in either a Proc object or
6053
- # Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object.
6054
- #
6055
- # Usage pattern a): Callbacks with a block attached to #start_live_tail
6056
- # Example for registering callbacks for all event types and an error event
6057
- #
6058
- # client.start_live_tail( # params input# ) do |stream|
6059
- # stream.on_error_event do |event|
6060
- # # catch unmodeled error event in the stream
6061
- # raise event
6062
- # # => Aws::Errors::EventError
6063
- # # event.event_type => :error
6064
- # # event.error_code => String
6065
- # # event.error_message => String
6066
- # end
6067
- #
6068
- # stream.on_event do |event|
6069
- # # process all events arrive
6070
- # puts event.event_type
6071
- # ...
6072
- # end
6073
- #
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 start_live_tail
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
+ # # Example for registering callbacks for all event types and an error event
6117
+ # client.start_live_tail(
6118
+ # # params input
6119
+ # ) do |stream|
6120
+ # stream.on_error_event do |event|
6121
+ # # catch unmodeled error event in the stream
6122
+ # raise event
6123
+ # # => Aws::Errors::EventError
6124
+ # # event.event_type => :error
6125
+ # # event.error_code => String
6126
+ # # event.error_message => String
6074
6127
  # end
6075
6128
  #
6076
- # Usage pattern b): Pass in `:event_stream_handler` for #start_live_tail
6077
- #
6078
- # 1) Create a Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object
6079
- # Example for registering callbacks with specific events
6080
- #
6081
- # handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
6082
- # handler.on_session_start_event do |event|
6083
- # event # => Aws::CloudWatchLogs::Types::sessionStart
6084
- # end
6085
- # handler.on_session_update_event do |event|
6086
- # event # => Aws::CloudWatchLogs::Types::sessionUpdate
6087
- # end
6088
- # handler.on_session_timeout_exception_event do |event|
6089
- # event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
6090
- # end
6091
- # handler.on_session_streaming_exception_event do |event|
6092
- # event # => Aws::CloudWatchLogs::Types::SessionStreamingException
6093
- # end
6094
- #
6095
- # client.start_live_tail( # params input #, event_stream_handler: handler)
6096
- #
6097
- # 2) Use a Ruby Proc object
6098
- # Example for registering callbacks with specific events
6099
- #
6100
- # handler = Proc.new do |stream|
6101
- # stream.on_session_start_event do |event|
6102
- # event # => Aws::CloudWatchLogs::Types::sessionStart
6103
- # end
6104
- # stream.on_session_update_event do |event|
6105
- # event # => Aws::CloudWatchLogs::Types::sessionUpdate
6106
- # end
6107
- # stream.on_session_timeout_exception_event do |event|
6108
- # event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
6109
- # end
6110
- # stream.on_session_streaming_exception_event do |event|
6111
- # event # => Aws::CloudWatchLogs::Types::SessionStreamingException
6112
- # end
6129
+ # stream.on_event do |event|
6130
+ # # process all events arrive
6131
+ # puts event.event_type
6132
+ # # ...
6113
6133
  # end
6114
- #
6115
- # client.start_live_tail( # params input #, event_stream_handler: handler)
6116
- #
6117
- # Usage pattern c): Hybrid pattern of a) and b)
6118
- #
6119
- # handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
6120
- # handler.on_session_start_event do |event|
6121
- # event # => Aws::CloudWatchLogs::Types::sessionStart
6122
- # end
6123
- # handler.on_session_update_event do |event|
6124
- # event # => Aws::CloudWatchLogs::Types::sessionUpdate
6125
- # end
6126
- # handler.on_session_timeout_exception_event do |event|
6127
- # event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
6128
- # end
6129
- # handler.on_session_streaming_exception_event do |event|
6130
- # event # => Aws::CloudWatchLogs::Types::SessionStreamingException
6131
- # end
6132
- #
6133
- # client.start_live_tail( # params input #, event_stream_handler: handler) do |stream|
6134
- # stream.on_error_event do |event|
6135
- # # catch unmodeled error event in the stream
6136
- # raise event
6137
- # # => Aws::Errors::EventError
6138
- # # event.event_type => :error
6139
- # # event.error_code => String
6140
- # # event.error_message => String
6141
- # end
6134
+ # end
6135
+ #
6136
+ # # Usage pattern b): Pass in `:event_stream_handler` for #start_live_tail
6137
+ # # 1) Create a Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream object
6138
+ # # Example for registering callbacks with specific events
6139
+ #
6140
+ # handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
6141
+ # handler.on_session_start_event do |event|
6142
+ # event # => Aws::CloudWatchLogs::Types::sessionStart
6143
+ # end
6144
+ # handler.on_session_update_event do |event|
6145
+ # event # => Aws::CloudWatchLogs::Types::sessionUpdate
6146
+ # end
6147
+ # handler.on_session_timeout_exception_event do |event|
6148
+ # event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
6149
+ # end
6150
+ # handler.on_session_streaming_exception_event do |event|
6151
+ # event # => Aws::CloudWatchLogs::Types::SessionStreamingException
6152
+ # end
6153
+ #
6154
+ # client.start_live_tail(
6155
+ # # params inputs
6156
+ # event_stream_handler: handler
6157
+ # )
6158
+ #
6159
+ # # 2) Use a Ruby Proc object
6160
+ # # Example for registering callbacks with specific events
6161
+ # handler = Proc.new do |stream|
6162
+ # stream.on_session_start_event do |event|
6163
+ # event # => Aws::CloudWatchLogs::Types::sessionStart
6142
6164
  # end
6165
+ # stream.on_session_update_event do |event|
6166
+ # event # => Aws::CloudWatchLogs::Types::sessionUpdate
6167
+ # end
6168
+ # stream.on_session_timeout_exception_event do |event|
6169
+ # event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
6170
+ # end
6171
+ # stream.on_session_streaming_exception_event do |event|
6172
+ # event # => Aws::CloudWatchLogs::Types::SessionStreamingException
6173
+ # end
6174
+ # end
6175
+ #
6176
+ # client.start_live_tail(
6177
+ # # params inputs
6178
+ # event_stream_handler: handler
6179
+ # )
6180
+ #
6181
+ # # Usage pattern c): Hybrid pattern of a) and b)
6182
+ # handler = Aws::CloudWatchLogs::EventStreams::StartLiveTailResponseStream.new
6183
+ # handler.on_session_start_event do |event|
6184
+ # event # => Aws::CloudWatchLogs::Types::sessionStart
6185
+ # end
6186
+ # handler.on_session_update_event do |event|
6187
+ # event # => Aws::CloudWatchLogs::Types::sessionUpdate
6188
+ # end
6189
+ # handler.on_session_timeout_exception_event do |event|
6190
+ # event # => Aws::CloudWatchLogs::Types::SessionTimeoutException
6191
+ # end
6192
+ # handler.on_session_streaming_exception_event do |event|
6193
+ # event # => Aws::CloudWatchLogs::Types::SessionStreamingException
6194
+ # end
6195
+ #
6196
+ # client.start_live_tail(
6197
+ # # params input
6198
+ # event_stream_handler: handler
6199
+ # ) do |stream|
6200
+ # stream.on_error_event do |event|
6201
+ # # catch unmodeled error event in the stream
6202
+ # raise event
6203
+ # # => Aws::Errors::EventError
6204
+ # # event.event_type => :error
6205
+ # # event.error_code => String
6206
+ # # event.error_message => String
6207
+ # end
6208
+ # end
6143
6209
  #
6144
- # You can also iterate through events after the response complete.
6145
- #
6146
- # Events are available at resp.response_stream # => Enumerator
6147
- # For parameter input example, please refer to following request syntax
6210
+ # # You can also iterate through events after the response complete.
6211
+ # # Events are available at
6212
+ # resp.response_stream # => Enumerator
6213
+ # # For parameter input example, please refer to following request syntax.
6148
6214
  #
6149
6215
  # @example Request syntax with placeholder values
6150
6216
  #
@@ -6157,11 +6223,11 @@ module Aws::CloudWatchLogs
6157
6223
  #
6158
6224
  # @example Response structure
6159
6225
  #
6160
- # All events are available at resp.response_stream:
6226
+ # # All events are available at resp.response_stream:
6161
6227
  # resp.response_stream #=> Enumerator
6162
6228
  # resp.response_stream.event_types #=> [:session_start, :session_update, :session_timeout_exception, :session_streaming_exception]
6163
6229
  #
6164
- # For :session_start event available at #on_session_start_event callback and response eventstream enumerator:
6230
+ # # For :session_start event available at #on_session_start_event callback and response eventstream enumerator:
6165
6231
  # event.request_id #=> String
6166
6232
  # event.session_id #=> String
6167
6233
  # event.log_group_identifiers #=> Array
@@ -6172,7 +6238,7 @@ module Aws::CloudWatchLogs
6172
6238
  # event.log_stream_name_prefixes[0] #=> String
6173
6239
  # event.log_event_filter_pattern #=> String
6174
6240
  #
6175
- # For :session_update event available at #on_session_update_event callback and response eventstream enumerator:
6241
+ # # For :session_update event available at #on_session_update_event callback and response eventstream enumerator:
6176
6242
  # event.session_metadata.sampled #=> Boolean
6177
6243
  # event.session_results #=> Array
6178
6244
  # event.session_results[0].log_stream_name #=> String
@@ -6181,10 +6247,10 @@ module Aws::CloudWatchLogs
6181
6247
  # event.session_results[0].timestamp #=> Integer
6182
6248
  # event.session_results[0].ingestion_time #=> Integer
6183
6249
  #
6184
- # For :session_timeout_exception event available at #on_session_timeout_exception_event callback and response eventstream enumerator:
6250
+ # # For :session_timeout_exception event available at #on_session_timeout_exception_event callback and response eventstream enumerator:
6185
6251
  # event.message #=> String
6186
6252
  #
6187
- # For :session_streaming_exception event available at #on_session_streaming_exception_event callback and response eventstream enumerator:
6253
+ # # For :session_streaming_exception event available at #on_session_streaming_exception_event callback and response eventstream enumerator:
6188
6254
  # event.message #=> String
6189
6255
  #
6190
6256
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartLiveTail AWS API Documentation
@@ -7001,7 +7067,7 @@ module Aws::CloudWatchLogs
7001
7067
  tracer: tracer
7002
7068
  )
7003
7069
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
7004
- context[:gem_version] = '1.109.0'
7070
+ context[:gem_version] = '1.111.0'
7005
7071
  Seahorse::Client::Request.new(handlers, context)
7006
7072
  end
7007
7073
 
@@ -152,6 +152,7 @@ module Aws::CloudWatchLogs
152
152
  DestinationField = Shapes::StringShape.new(name: 'DestinationField')
153
153
  DestinationName = Shapes::StringShape.new(name: 'DestinationName')
154
154
  Destinations = Shapes::ListShape.new(name: 'Destinations')
155
+ DetectorKmsKeyArn = Shapes::StringShape.new(name: 'DetectorKmsKeyArn')
155
156
  DetectorName = Shapes::StringShape.new(name: 'DetectorName')
156
157
  Dimensions = Shapes::MapShape.new(name: 'Dimensions')
157
158
  DimensionsKey = Shapes::StringShape.new(name: 'DimensionsKey')
@@ -664,7 +665,7 @@ module Aws::CloudWatchLogs
664
665
  CreateLogAnomalyDetectorRequest.add_member(:detector_name, Shapes::ShapeRef.new(shape: DetectorName, location_name: "detectorName"))
665
666
  CreateLogAnomalyDetectorRequest.add_member(:evaluation_frequency, Shapes::ShapeRef.new(shape: EvaluationFrequency, location_name: "evaluationFrequency"))
666
667
  CreateLogAnomalyDetectorRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
667
- CreateLogAnomalyDetectorRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
668
+ CreateLogAnomalyDetectorRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: DetectorKmsKeyArn, location_name: "kmsKeyId"))
668
669
  CreateLogAnomalyDetectorRequest.add_member(:anomaly_visibility_time, Shapes::ShapeRef.new(shape: AnomalyVisibilityTime, location_name: "anomalyVisibilityTime"))
669
670
  CreateLogAnomalyDetectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
670
671
  CreateLogAnomalyDetectorRequest.struct_class = Types::CreateLogAnomalyDetectorRequest
@@ -298,7 +298,7 @@ module Aws::CloudWatchLogs
298
298
  # @return [String]
299
299
  #
300
300
  # @!attribute [rw] kms_key_id
301
- # The ID of the KMS key assigned to this anomaly detector, if any.
301
+ # The ARN of the KMS key assigned to this anomaly detector, if any.
302
302
  # @return [String]
303
303
  #
304
304
  # @!attribute [rw] creation_time_stamp
@@ -815,8 +815,9 @@ module Aws::CloudWatchLogs
815
815
  # both this key and for the anomaly detector to retrieve information
816
816
  # about the anomalies that it finds.
817
817
  #
818
- # For more information about using a KMS key and to see the required
819
- # IAM policy, see [Use a KMS key with an anomaly detector][1].
818
+ # Make sure the value provided is a valid KMS key ARN. For more
819
+ # information about using a KMS key and to see the required IAM
820
+ # policy, see [Use a KMS key with an anomaly detector][1].
820
821
  #
821
822
  #
822
823
  #
@@ -2843,6 +2844,9 @@ module Aws::CloudWatchLogs
2843
2844
  # @!attribute [rw] next_token
2844
2845
  # The token to use when requesting the next set of items. The token
2845
2846
  # expires after 24 hours.
2847
+ #
2848
+ # If the results don't include a `nextToken`, then pagination is
2849
+ # finished.
2846
2850
  # @return [String]
2847
2851
  #
2848
2852
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsResponse AWS API Documentation
@@ -3124,7 +3128,7 @@ module Aws::CloudWatchLogs
3124
3128
  # @return [String]
3125
3129
  #
3126
3130
  # @!attribute [rw] kms_key_id
3127
- # The ID of the KMS key assigned to this anomaly detector, if any.
3131
+ # The ARN of the KMS key assigned to this anomaly detector, if any.
3128
3132
  # @return [String]
3129
3133
  #
3130
3134
  # @!attribute [rw] creation_time_stamp
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.109.0'
58
+ GEM_VERSION = '1.111.0'
59
59
 
60
60
  end
61
61
 
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.109.0
4
+ version: 1.111.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-02-18 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core