aws-sdk-cloudwatchlogs 1.147.0 → 1.148.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: 4d8887efc6a9f880d973a21b4e63fe48dbbd7c98898f0017f30cb105d4be852b
4
- data.tar.gz: e3eb1cce37bc8fdf8e0313fa4b66eb350ba503e75bc175d273e352703a6fdc54
3
+ metadata.gz: 4c3df144eaefe138ae1e298537c0c495044d96da140fb8cc7148eb189e189d26
4
+ data.tar.gz: 4fbfbdf42a703c3accd3756b5f27c74aa8bb9788a096f4327b38be0dcc223abc
5
5
  SHA512:
6
- metadata.gz: a963a4a6a87f3bd4e2912e9fb204b4a08e048118246bced618749ebcd36df9eb20e407577d82a2c141f39a14ff3d719f2fb607dedad58485aa98c5250799a944
7
- data.tar.gz: cddd9e1435b9adc8a67022fe1798004d3a23c82310e026802cb50f42d7a7ce3e89fb14e151a383bfe9555742cf80e576caf84a12de4c02fe876aef698d48fb92
6
+ metadata.gz: d06dedc3dc82d2c0d35cfcad018a6e5b6e6d1bf606b4ea16b473f910f9bfb9b6d68c7bec1daa9e2e0066e22d3e02789122b6e02a1ad27b92014187b4d3bc1e0f
7
+ data.tar.gz: c9c3894e26229d656928eabeeeccec181412bf2132e2b7d796f5dadaadbb325966efba14a9c40970bbd6b752e3dc108cf57aec526ca6c819823d0eb6c3c41a95
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.148.0 (2026-05-01)
5
+ ------------------
6
+
7
+ * Feature - Adds support for filtering log groups by tags in the ListLogGroups API via the new logGroupTags parameter.
8
+
4
9
  1.147.0 (2026-04-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.147.0
1
+ 1.148.0
@@ -5258,12 +5258,10 @@ module Aws::CloudWatchLogs
5258
5258
  # observability to set up monitoring accounts and source accounts, see [
5259
5259
  # CloudWatch cross-account observability][1].
5260
5260
  #
5261
- # You can optionally filter the list by log group class, by using
5262
- # regular expressions in your request to match strings in the log group
5263
- # names, by using the fieldIndexes parameter to filter log groups based
5264
- # on which field indexes are configured, by using the dataSources
5265
- # parameter to filter log groups by data source types, and by using the
5266
- # fieldIndexNames parameter to filter by specific field index names.
5261
+ # You can optionally filter the results by log group class, log group
5262
+ # name pattern, field indexes, data sources, field index names, or log
5263
+ # group tags. If you specify more than one filter type, the results
5264
+ # include log groups that satisfy all filters.
5267
5265
  #
5268
5266
  # This operation is paginated. By default, your first use of this
5269
5267
  # operation returns 50 results, and includes a token to use in a
@@ -5336,6 +5334,10 @@ module Aws::CloudWatchLogs
5336
5334
  # are returned. You can specify 1 to 20 field index names, each with 1
5337
5335
  # to 512 characters.
5338
5336
  #
5337
+ # @option params [Array<Types::TagFilter>] :log_group_tags
5338
+ # An array of tag filters to return only log groups that have specific
5339
+ # tags. Multiple filters are combined with AND logic.
5340
+ #
5339
5341
  # @return [Types::ListLogGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5340
5342
  #
5341
5343
  # * {Types::ListLogGroupsResponse#log_groups #log_groups} => Array&lt;Types::LogGroupSummary&gt;
@@ -5357,6 +5359,12 @@ module Aws::CloudWatchLogs
5357
5359
  # },
5358
5360
  # ],
5359
5361
  # field_index_names: ["FieldIndexName"],
5362
+ # log_group_tags: [
5363
+ # {
5364
+ # key: "TagFilterKey", # required
5365
+ # values: ["TagFilterValue"],
5366
+ # },
5367
+ # ],
5360
5368
  # })
5361
5369
  #
5362
5370
  # @example Response structure
@@ -8291,7 +8299,9 @@ module Aws::CloudWatchLogs
8291
8299
  # * Or the `queryString` must include a `SOURCE` command to select log
8292
8300
  # groups for the query. The `SOURCE` command can select log groups
8293
8301
  # based on log group name prefix, account ID, and log class, or select
8294
- # data sources using dataSource syntax in LogsQL, PPL, and SQL.
8302
+ # data sources using dataSource syntax in LogsQL, PPL, and SQL. In
8303
+ # LogsQL, the `SOURCE` command also supports filtering by log group
8304
+ # tags.
8295
8305
  #
8296
8306
  # For more information about the `SOURCE` command, see [SOURCE][3].
8297
8307
  #
@@ -9250,7 +9260,7 @@ module Aws::CloudWatchLogs
9250
9260
  tracer: tracer
9251
9261
  )
9252
9262
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
9253
- context[:gem_version] = '1.147.0'
9263
+ context[:gem_version] = '1.148.0'
9254
9264
  Seahorse::Client::Request.new(handlers, context)
9255
9265
  end
9256
9266
 
@@ -618,6 +618,11 @@ module Aws::CloudWatchLogs
618
618
  SystemField = Shapes::StringShape.new(name: 'SystemField')
619
619
  TableBody = Shapes::StringShape.new(name: 'TableBody')
620
620
  TableFields = Shapes::ListShape.new(name: 'TableFields')
621
+ TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
622
+ TagFilterKey = Shapes::StringShape.new(name: 'TagFilterKey')
623
+ TagFilterValue = Shapes::StringShape.new(name: 'TagFilterValue')
624
+ TagFilterValues = Shapes::ListShape.new(name: 'TagFilterValues')
625
+ TagFilters = Shapes::ListShape.new(name: 'TagFilters')
621
626
  TagKey = Shapes::StringShape.new(name: 'TagKey')
622
627
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
623
628
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -1669,6 +1674,7 @@ module Aws::CloudWatchLogs
1669
1674
  ListLogGroupsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListLimit, location_name: "limit"))
1670
1675
  ListLogGroupsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceFilters, location_name: "dataSources"))
1671
1676
  ListLogGroupsRequest.add_member(:field_index_names, Shapes::ShapeRef.new(shape: FieldIndexNames, location_name: "fieldIndexNames"))
1677
+ ListLogGroupsRequest.add_member(:log_group_tags, Shapes::ShapeRef.new(shape: TagFilters, location_name: "logGroupTags"))
1672
1678
  ListLogGroupsRequest.struct_class = Types::ListLogGroupsRequest
1673
1679
 
1674
1680
  ListLogGroupsResponse.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupSummaries, location_name: "logGroups"))
@@ -2392,6 +2398,14 @@ module Aws::CloudWatchLogs
2392
2398
 
2393
2399
  TableFields.member = Shapes::ShapeRef.new(shape: String)
2394
2400
 
2401
+ TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: TagFilterKey, required: true, location_name: "key"))
2402
+ TagFilter.add_member(:values, Shapes::ShapeRef.new(shape: TagFilterValues, location_name: "values"))
2403
+ TagFilter.struct_class = Types::TagFilter
2404
+
2405
+ TagFilterValues.member = Shapes::ShapeRef.new(shape: TagFilterValue)
2406
+
2407
+ TagFilters.member = Shapes::ShapeRef.new(shape: TagFilter)
2408
+
2395
2409
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2396
2410
 
2397
2411
  TagList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -5199,6 +5199,11 @@ module Aws::CloudWatchLogs
5199
5199
  # names, each with 1 to 512 characters.
5200
5200
  # @return [Array<String>]
5201
5201
  #
5202
+ # @!attribute [rw] log_group_tags
5203
+ # An array of tag filters to return only log groups that have specific
5204
+ # tags. Multiple filters are combined with AND logic.
5205
+ # @return [Array<Types::TagFilter>]
5206
+ #
5202
5207
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListLogGroupsRequest AWS API Documentation
5203
5208
  #
5204
5209
  class ListLogGroupsRequest < Struct.new(
@@ -5209,7 +5214,8 @@ module Aws::CloudWatchLogs
5209
5214
  :next_token,
5210
5215
  :limit,
5211
5216
  :data_sources,
5212
- :field_index_names)
5217
+ :field_index_names,
5218
+ :log_group_tags)
5213
5219
  SENSITIVE = []
5214
5220
  include Aws::Structure
5215
5221
  end
@@ -9717,6 +9723,42 @@ module Aws::CloudWatchLogs
9717
9723
  include Aws::Structure
9718
9724
  end
9719
9725
 
9726
+ # A tag filter that specifies a tag key and optional tag values for
9727
+ # filtering log groups by tags.
9728
+ #
9729
+ # @!attribute [rw] key
9730
+ # The tag key to filter on.
9731
+ # @return [String]
9732
+ #
9733
+ # @!attribute [rw] values
9734
+ # An optional list of tag values to filter on.
9735
+ #
9736
+ # * If you specify a filter that contains more than one value for a
9737
+ # key, the response returns log groups that match any of the
9738
+ # specified values for that key.
9739
+ #
9740
+ # * If you don't specify values, the response returns all log groups
9741
+ # that are tagged with that key, with any or no value.
9742
+ #
9743
+ # * Use `*` for wildcard matching. For example, `prod*` matches values
9744
+ # that start with `prod`.
9745
+ #
9746
+ # * Use `!` as a prefix for negation. For example, `!prod` matches
9747
+ # values that are not `prod`.
9748
+ #
9749
+ # * Exact matching and negation are case-sensitive. Wildcard matching
9750
+ # is case-insensitive.
9751
+ # @return [Array<String>]
9752
+ #
9753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagFilter AWS API Documentation
9754
+ #
9755
+ class TagFilter < Struct.new(
9756
+ :key,
9757
+ :values)
9758
+ SENSITIVE = []
9759
+ include Aws::Structure
9760
+ end
9761
+
9720
9762
  # @!attribute [rw] log_group_name
9721
9763
  # The name of the log group.
9722
9764
  # @return [String]
@@ -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.147.0'
58
+ GEM_VERSION = '1.148.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1022,7 +1022,13 @@ module Aws
1022
1022
  type: ::String?
1023
1023
  },
1024
1024
  ],
1025
- ?field_index_names: Array[::String]
1025
+ ?field_index_names: Array[::String],
1026
+ ?log_group_tags: Array[
1027
+ {
1028
+ key: ::String,
1029
+ values: Array[::String]?
1030
+ },
1031
+ ]
1026
1032
  ) -> _ListLogGroupsResponseSuccess
1027
1033
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogGroupsResponseSuccess
1028
1034
 
data/sig/types.rbs CHANGED
@@ -1261,6 +1261,7 @@ module Aws::CloudWatchLogs
1261
1261
  attr_accessor limit: ::Integer
1262
1262
  attr_accessor data_sources: ::Array[Types::DataSourceFilter]
1263
1263
  attr_accessor field_index_names: ::Array[::String]
1264
+ attr_accessor log_group_tags: ::Array[Types::TagFilter]
1264
1265
  SENSITIVE: []
1265
1266
  end
1266
1267
 
@@ -2134,6 +2135,12 @@ module Aws::CloudWatchLogs
2134
2135
  SENSITIVE: []
2135
2136
  end
2136
2137
 
2138
+ class TagFilter
2139
+ attr_accessor key: ::String
2140
+ attr_accessor values: ::Array[::String]
2141
+ SENSITIVE: []
2142
+ end
2143
+
2137
2144
  class TagLogGroupRequest
2138
2145
  attr_accessor log_group_name: ::String
2139
2146
  attr_accessor tags: ::Hash[::String, ::String]
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.147.0
4
+ version: 1.148.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services